Hello,
This is driving me crazy. I simply want a strategy to stop trading indefinitely after a certain time in the afternoon until the strategy itself is disabled and reenabled on a non-time based chart running on bar close RTH hours template. I have tried creating conditions of a disable bool that becomes true after a certain time which works as intended. HOWEVER, when the strategy is enabled when the RTH market is closed, EVEN with a state.realtime condition added, the bool always becomes true at the start of the RTH session even though the strategy was not running the previous afternoon.
For example, stop trading time is set to >= 3:30pm 5pm<, and strategy is running on RTH, and the strategy is enabled at 8pm (when the RTH session is closed), when the RTH market opens the next morning, the trading disable bool becomes true despite the strategy not having been enabled during the afternoon. It is as if NT ignores state.realtime when strategies are enabled when the market is closed. It appears the bool will become true based on historical data.
How do I solve this very simple issue? Is this a bug in NT?

Comment