Partially close
It is not a problem.. to do it both in the manual interface and by program...
In manual mode, choose close order and change the 'volume'
By program, something like:
result = OrderClose( OrderTicket(), OrderLots()/2, MarketInfo(OrderSymbol(), MODE_BID), 5, Red );
You then need to set the stop loss - as long as the new stoploss is not too close to the current price.
You cannot use the built-in TakeProfit to do this - so the logic will reside on your machine and not on the server.
regards,
hugues
In manual mode, choose close order and change the 'volume'
By program, something like:
result = OrderClose( OrderTicket(), OrderLots()/2, MarketInfo(OrderSymbol(), MODE_BID), 5, Red );
You then need to set the stop loss - as long as the new stoploss is not too close to the current price.
You cannot use the built-in TakeProfit to do this - so the logic will reside on your machine and not on the server.
regards,
hugues
does anybody know if it is possible to buy for example 2 lot and tell the SW to T/P 1 lot at a certain value, set S/L to the old Buy and let the other position run?