I'm trying to add the indicator of the higher timeframe (m60) to the current schedule (m5) of the strategy with this code:
else if (State == State.Configure) { AddDataSeries(Data.BarsPeriodType.Minute, 60); } … else if (State == State.DataLoaded) { AddChartIndicator(SMA(BarsArray[1], 14)); }
But the graph is not displayed. Help me achieve this display.
Thank you.
Comment