The indicator wizard lets the developer choose a Brush type input, say "Yellow". The wizard then generated an AddPlot(Brush.Yellow) in the onsetdefaults (I think) method.
The user can also set the plot color during configuration of the indicator.
My scenario: I would like to plot:
- A user defined color (say "Magenta") when the plot is < 0
- Plot in another user defined color (say "Cyan) when the plot is > 0
- Yellow (also a user defined color) when plot = 0
I imagine it could be like:
- Property definition myColor
- {get, set}
- PlotBrushes[0][0]=myColor
Possible?
Many Thanks, Caesar.
Comment