Edmund Peh / Publications
Forum
Inconsistent behaviour of OrderSend
Hi, I have the following code: int ticketBuy = OrderSend ( pair , OP_BUYSTOP , lot , longEntryPrice , 100 , longStopLossPrice , 0 , "BUY" , 0 , 0 , Green ) ; if ( ticketBuy = = - 1 ) { ticketBuy = OrderSend ( pair , OP_BUYSTOP , lot , longEntryPrice , 100 , longStopLossPrice , 0 , "BUY"