I know that Multi-Timeframe Indicators (in addition to adding
Add ( PeriodType.XYZ, VALUE);
..... price_O = new DataSeries( SMA(BarsArray[1], 1) ); price_H = new DataSeries( SMA(BarsArray[1], 1) ); price_L = new DataSeries( SMA(BarsArray[1], 1) ); price_C = new DataSeries( SMA(BarsArray[1], 1) ); .... if(BarsInProgress == 1) price_C = Close[0]; .... abc = price_C[5]; //this is in secondary timeframe's 5 bars ago
..... SMA xyz = SMA(BarsArray[1], 1); price_O = new DataSeries( xyz ); price_H = new DataSeries( xyz ); price_L = new DataSeries( xyz ); price_C = new DataSeries( xyz ); .... ....
for exmple, `abc = price_C[5]; ` in the last example, will be the same as in 1st example?
(i ask this because i remember that in another platform this mattered).
Comment