I am writing an indicator that is run on a 1-min chart.
I would like to access the Swing indicator values on the 5-min chart of the same contract.
For example, in
Swing(IDataSeries input, int strength).SwingHigh[int barsAgo] or
Swing(IDataSeries input, int strength).SwingLow[int barsAgo],
how do I set the input series to be the 5-min series of the same contract even though my indicator is running on the 1-min chart?
Thanks.
Comment