Algorithmic Trading with NinjaTrader
Hi,
I am trying to place two orders (StopLong and StopShort) but surprisingly the Platform is rejecting the second order (ie. If I place LongStopMarket and ShortStopMarket order it rejects the Short order and if I place in reverse order then it is rejecting the Long order ).
This is how I am placing the two orders.
#################################
_enterLongOrder = EnterLongStopMarket( InitialLotSize, Open[0] + 100 *A * TickSize , "Open Long");################################_enterShortOrder = EnterShortStopMarket( InitialLotSize, Open[0] + 100 *C * TickSize , "Open Short");