Is there a way to determine which plot is being run through FormatPriceMarker() at any given time? I was hoping the "InputPlot" would help give a selected plot index, but that seems to be always "0".
In my case, I'm using the indicator within Market Analyzer. So, for a given column, there is a selected indicator and selected Plot for that indicator. Perhaps this is exposed somewhere?
For now, my hack is to compare the current plot value to the value passed into FormatPriceMarker() and see if they are the same. If two plots are the same at any point, then this would not work, obviously.
if (myPlot1.GetValueAt(CurrentBar) == value) ...
Comment