It is possible to optimize data series in Strategy Analyzer by checking "Optimize Data Series", specifying Min. and Max. Value of the Data Series and an Increment.
However, instead of stepping from Min to Max in (static) increments (e.g. 1 - 30 mins, 1 -> 1, 2, 3, 4, 5, ... , 30), I'd like to step through an enum of "allowed" values only (e.g. 1, 2, 3, 5, 10, 15, 30), thereby reducing the number of parameter combinations and optimization runs to my needs.
Can you please shed some light on how to determine through NinjaScript that (my)BarsPeriodType.Minute of primary data series is not an int, but an enum?
Thank you.
Kind regards
NT-Roland
Comment