I am trying to show the SMA of 5 minute period in a 1 minute chart but dont work.
Works, 1, 2 and 3 minute but not 4,5,6 ...etc...
Too, if my chart time is 5 minutes, dont work period of 1, 16, 17, 18 ..... minute
Why? Could you help me please to understand?
Thanks
Add(PeriodType.Minute, 5); Add(new Plot( Color.Green, PlotStyle.Line, "misma")); misma.Set(SMA(BarsArray[1],10)[0]);
Comment