Having some problems. It says that I don't have enough bars to trade, despite having set "BarsRequiredToTrade" to zero. I just need the strategy to open a position immediately.
But the biggest issue, is that despite Ninjatrader failing to open the position, it submits the Stop and limit orders anyway, meaning those will enter a position when they get hit!
It's supposed to be a managed order approach and yet cannot manage to not submit exit orders when the entry has failed?!
Strategy 'OrdersTest/96107680': An order placed at '18/01/2017 22:01:00' has been ignored since the order was submitted before the strategy property BarsRequiredToTrade had been met. Enabling NinjaScript strategy 'OrdersTest/96107680' : On starting a real-time strategy - StartBehavior=ImmediatelySubmit EntryHandling=All entries EntriesPerDirection=1 StopTargetHandling=Per entry execution ErrorHandling=Stop strategy, cancel orders, close positions ExitOnSessionClose=True / triggering 30 seconds before close SetOrderQuantityBy=Strategy ConnectionLossHandling=Recalculate DisconnectDelaySeconds=10 CancelEntriesOnStrategyDisable=False CancelExitsOnStrategyDisable=False Calculate=On bar close IsUnmanaged=False MaxRestarts=4 in 5 minutes NinjaScript strategy 'OrdersTest/96107680' submitting order NinjaScript strategy 'OrdersTest/96107680' submitting order
Comment