Bars.Period.Value = 1; Bars.Period.Id = PeriodType.Day;
just like I do
CalculateOnBarClose = true; BarsRequired = 1;
As well as Time from/to, Exclude weekend, and Session begin/end times for intraday. It gets really annoying to have to remember to change them via the menu because the NT defaults are different.
You should also update your help to say this Bars & therefore Bars.Period object is invalid in the Initialize() and changing it in the OnBarUpdate() is overridden and lost.
Thanks.

Comment