The strategy enters a position but the stoploss exits the position on same bar,
The strategy is manually disabled to tweek parameters.
While still on the same bar as the prior entry and exit, if the strategy is re-enabled, it will immediately rapid fire an endless stream of error messages.
Options set to "immedialty submit working orders"
The NinjaScript strategy contains Set StopLoss, simulated, in initialize section.
10 minute bars.
Run from strategies tab.
MBTrading live.
Can anyone explain if this is expected behavior.
And if it is why does it happen.

Comment