Could you please help with pending orders in NT8? My strategy based on placing a bunch of pending orders (Stop-limit) almost each bar, both long and short direction.
But the strategy is sending only one order from one direction
An example (NQ!, 15m TF, OnBarUpdate) :
EnterLongStopMarket(16000); EnterLongStopMarket(17000); EnterShortStopMarket(14000); EnterShortStopMarket(13000); SetStopLoss(CalculationMode.Ticks, 100); SetProfitTarget(CalculationMode.Ticks, 200);
What I'm expecting (assuming that current NQ price is 15000):
1) 1st StopMarket Long Order at price 16000 (Accepted status)
2) 2nd StopMarket Long Order at price 17000 (Accepted status)
3) 3rd StopMarket Short Order at price 14000 (Accepted status)
4) 4th StopMarket Short Order at price 13000 (Accepted status)
What I'm receiving from that list:
2) 2nd StopMarket Long Order at price 17000 (Accepted status)
+ I don't see any error messages from Logs. As far as I could see only one log for successful StopMarket Long Order for price 17000
| 9/7/2023 7:57:40 PM | Order | Order='eb66fbe0dcfc49b5b2087f40040b0100/Sim101' Name='Buy' New state='Accepted' Instrument='NQ SEP23' Action='Buy' Limit price=0 Stop price=17000 Quantity=1 Type='Stop Market' Time in force=GTC Oco='' Filled=0 Fill price=0 Error='No error' Native error='' |
The strategy settings for max possible orders:
Am I wrong with some strategy initialization or attaching process somehow?
I checked some other topics and feels like it's allowed to have multiple StopLimit in both directional
Thanks,
Igor

Comment