If I add ANY period other than the default bar, the script never runs.
For example, I run the script below with data type set to Tick. It never runs. Remove the add or change it to PeriodType.Tick and it works.
protected override void Initialize()
{
Add(PeriodType.Day, 1);
}
protected override void OnBarUpdate()
{
Print("hello world");
}

Comment