My intention is that my code is able to Exit any position on Close, using one of the three methods:
1. Options: Flatten All
2. Grid : ExitOnClose enabled
3. Code: ExitOnClose enabled.
now, at the same time. I'd like that the Strategy continues to be enabled for the next session. The problem is that the automatic "ExitOnClose" instruction, disables the Strategy, so I have to restart it manually. I wouldn't like to code any Time module in the OnBarUpdate method.
Any suggestion?
Comment