When you add a strategy to a chart, under General you have Calculate on bar close, and Exit on close, etc ....
In your code, you can put under Initialize()
ExitOnClose = false;
etc... Now, does this just set the default? Or does it ignore any change the user set on the flag in the window where the strategy is turned on and added to the chart? That is, if the user starts the strategy, but changes the flag to true, which is used?
Wasn't sure how to test this one.
Thanks guys.
Comment