Thank you for your response.
This code does not look to any specific bar series, it makes calls such as Low[upTrendEndBarsAgo] <= Low[upTrendStartBarsAgo] and High[downTrendEndBarsAgo] >= High[downTrendStartBarsAgo]. Yet, if we were running a multiple series script (if you have added Add(PeriodType.Minute, 5)
in the strategy you would wants to access items like Highs, Lows, Closes, and Opens. These allows for access of the barsInProgress Index. Please refer to the links below for more information.- Highs: http://www.ninjatrader.com/support/h.../nt7/highs.htm
- Lows: http://www.ninjatrader.com/support/h...s/nt7/lows.htm
- Closes: http://www.ninjatrader.com/support/h...nt7/closes.htm
- Opens: http://www.ninjatrader.com/support/h.../nt7/opens.htm
- Information on running multiple series scripts: http://www.ninjatrader.com/support/h...nstruments.htm

Comment