I`ve noticed that all the boolean parms I have in my strategies are either not saving to template or not being reinitialized by a template when the template is "loaded" back into an Strategy Analyzer.
I`ve uploaded a screen print and MyMACrossover strategy that has a boolean parameter defined to it.
The boolean parameter is called "Save This", indicated in yellow.
Can you please try and reproduce this issue/bug at your end by clicking the "Save This" parameter to true and saving a template for the strategy.
Then opening a new SA and reloading the saved template back into the SA for strategy MyMACrossover.
Even though parm "Save This" was TRUE when the template is saved, it will be FALSE after the template is reloaded.
Note: the "Save This" parameter is NOT initialized by the strategy in event OnStateChange, to ensure that a template value will initialize it instead.
Thank you
Comment