I am calling a custom indcator while I am on the Secondary Time Series of the Strategy.In that indicator I want to reference the Close of the Primary Time Series and the Close of the Secondary Time Series.
For example, Print ( ToDay(Time[0]) + " " + Closes[0][0] + " " + Close[0]).
The problem is that Closes[0][0] is giving me the Close of the Secondary Time Series instead of the Primary Time Series.
I have used the same code in a UserDefinedMethod and it gives me the Primary Close and the Secondary Close. I moved the code to an indicator so that I could plot.
How do I get the Indicator to reference both the Primary Time Series and the Secondary Time Series?
Comment