I found that in v7 beta 23 the line indicator().AutoScale = false works fine within Initialize(), but indicator().CalculateOnBarClose = false does not. However, if indicator().CalculateOnBarClose = false is placed in OnStartUp() it works fine. (I've attached a strategy that demonstrates this. It places two EMAs on a chart and tries to set CalculateOnBarClose to false for both. One is done in Initialize(), the other in OnStartUp(). Only OnStartUp() works.)
Is this expected behavior? If not, well, now you know. If so, could you specify which indicator properties must be handled from OnStartUp()?

Comment