Learn NinjaScript: Conditional Parameter Visibility (Workarounds)
A polished indicator hides settings that don’t apply to the current state. When a ShowLabels bool is off, the LabelColor, LabelSize, and LabelFont properties should disappear from the grid — they’re irrelevant unless labels are enabled. Standard NinjaScript attributes don’t give you that directly. There’s no [Display(EnabledWhen = “ShowLabels”)]. Three workarounds do it. Each has…









