OptionalactiveThe input can be edited only while this holds; otherwise the form shows it disabled, with its value readable and a reason naming what it depends on. Also inactive while an input the condition reads is hidden or inactive, because a setting nobody can change cannot be what enables another.
OptionalenabledOptionalgroupOptionaltooltipHelp text for the row, on the same terms as IndicatorInput['tooltip'].
OptionalvisibleThe input is shown only while this holds; otherwise it leaves the form and the tab order, and any draft in it is kept for when it returns. Also hidden while an input the condition reads is hidden.
Two colours on one labelled row, with an optional switch in front of them:
keyidentifies the row and is not itself a value. The value keys areup.key,down.keyandenabled.key, each an ordinary flat key ofChartSettingsValues, so a host patches this row exactly the way it patches a plain colour and nothing about read/apply has to know the widget exists.enabledis absent when the pair has no visibility flag behind it (a candle body is always drawn), which is the difference between a row whose checkbox does something and one whose checkbox would be a lie.It takes
visibleWhenandactiveWhen, and a condition that reads any of its three value keys reads the pair. It takes noinline: the row already holds a switch and two swatches, so it always stands on its own.