I have successfully plotted SMA/EMA of a higher timeframe using:
Add(PeriodType.Minute, 5); // Adds a 5 MINUTE Bars object
....
HigherLongerEMA.Set(SMA(BarsArray[1],longerperiod)[0]);
for example.
However when I try to plot the 30 min High and Low, no matter what I try I cannot get anything to work.
I even tried an SMA for 1 period for example adding High and got the 2many arguments error.
Can someone please point out a simple fix.
Help
Comment