Mohammad Fneish / Publications
Forum
CTrade PositionClose() not working
I'm using the native OrderSend() function in order to open a new position using the below function: uint SendSLTPOrder( long const magic_number, ENUM_ORDER_TYPE orderType, double volume, double price, double stopLoss, double takeProfit) { MqlTradeRequest request={ 0 }; request.action=