}
else if (State == State.Configure)
{
AddChartIndicator(SMA(20));
}
}
protected override void OnBarUpdate()
{
double sma = SMA(20)[0];
}
When I then select my strategy from the chart menu, nothing happens! I had expect to see a SMA plot at my chart, but nothing.
What am I missing here?
Comment