For each executed entry buy LMT i send exit sell LMT,
ENTRY level 0 | 2042.75 --- EXIT level 0 | 2043.25
ENTRY level 1 | 2042.25 --- EXIT level 1 | 2042.75
Buy entry:
OrderE=EnterLongLimit(0,true,qty, price, "entry"+i);
ExitLongLimit(0,true,qty,price,"exit"+i) ;
2016-05-24 4:26:46 AM Strategy '75543177/MyTest: Cancelled pending exit order, since associated position is closed, orderId='dd61c326c3054f348fd9c88261895e17' account='Sim101' name='exit0' orderState=Working instrument='ES 06-16' orderAction=Sell orderType='Limit' limitPrice=2049.75 stopPrice=0 quantity=1 tif=Gtc oco='' filled=0 averageFillPrice=0 onBehalfOf='' id=830 gtd='2099-12-01'
Comment