For example you want to use an EMA trendline as a boolean checkbox. If this checkbox is set to true then some display options appear for color of the trend line, length of the EMA line, and displaying the plot on the chart. If the boolean checkbox is false then hide these input options.
I'm not sure what exactly this is called but I saw it on an indicator and thought it was pretty neat to clean up some user input sections if they aren't being used.

Comment