Hello all,
so after much back and forward with ninja support, the issue with the strategy when you add data series of PeriodType.week, month, year, etc into the Initialize() function
I don't really understand why, or why there is no error shown, but by setting the
BarsRequired=0
it has fixed the issue of running the code when you add data series of PeriodType.week, month, year, etc in the Initialize() function
Add this to the Initialize() function and all is good:
BarsRequired = 0;

Comment