I wonder if someone can help me with a small issue with ExpandableObject properties in the Strategy Analyzer.
I've made a spike of the design pattern I've come up with for composable Strategy settings, comprising a Strategy and two indicators which I have attached.
Each indicator has a settings model, which is the sole Ninjascript Property for the indicator, meaning the indicator can be instantiated like: Indicator(new IndicatorSettings()) rather than a massive parameter list.
The strategy settings model contains the Models of two indicators. I love this method - the time I've wasted copying and pasting parameters between indicators and strategies before now. This is loads better.
Anyway it is working great on the strategies Dialog. However the Strategy Analyser is not working as expected. The properties do appear there; however I am unable to specify the Optimiser parameters Min/Max/Increment e.g. "8;55;1". How can I make the strategy Analyser recognise these for the optimiser?
Thanks
Kevin
Comment