I tried to plot a Daily SMA into a 5-minute chart and it doesn't work.
else if (State == State.Configure)
{
AddDataSeries(Data.BarsPeriodType.Day, 1);
}
else if (State == State.DataLoaded)
{
SMAD = SMA(Closes[1], 20);
SMAD.Plots[0].Brush = Brushes.Yellow;
SMAD.Plots[0].Width = 5;
AddChartIndicator(SMAD);
}
Thank you!
Comment