For example, My main symbol on the chart is the S&P 500 emini 5 minute and is the only chart I want to see. However my indicator is based of the emini YM on a 2 minute. So the question is:
How do I reference OHLC on the YM on a 2 minute time frame inside my idicator? what should it look like?
I understand this:
Add(Symbol2.ToUpper(), BarsPeriod.Id, BarsPeriod.Value);
but that is only if it is added to the chart to see visually. I don't want to see it, just use its values in the calculation of my indicator.
thanks

Comment