Add(PeriodType.Minute, 5);
Add(PeriodType.Minute, 15);
...
if (SMA(5)[0] < SMA(5)[1] && SMA(5)[0] < SMA(BarsArray[2], 10)[0])
...
I don't understand why BarsArray does? For instance, what is the difference between:
SMA(BarsArray[2], 10)
and
SMA(10)[2]
Thanks,
Comment