If possible, what is the syntax for accessing the color of a plot?
What I'm doing is coloring some other objects the same color as the plot, and trying to avoid adding separate user parameters for colors of each of the other objects. So, if I have a line like this:
Add(new Plot(Color.Blue, PlotStyle.Line, "Upper"));
there is a user parameter in the indicator setup to select a color. Ideally, I'd like to be able to access whatever that color is, programmatically.
Comment