PDA

View Full Version : Reuse/Acces a color.


scjohn
05-27-2007, 11:48 AM
I would like to use the current color of a indicator that is being plotted and use that color when plotting a symbol. So, if the line is blue I want to plot a blue arrow. I am using the wizard to define the Plots so there is a collection of Plot. I don't want to have to go and set up a duplicate set of color parameters just so the user can change them. Hope my explanation is understandable.

Thanks

NinjaTrader_Ray
05-27-2007, 11:59 AM
You could do something like this:

DrawArrowUp("tag1", 0, Low[0] - TickSize, Plots[0].Pen.Color);