Download MetaTrader 5
To add comments, please log in or register
Speed up MQL5 Cloud Network. Install Strategy Tester Agent!
Frédéric LEBRE
233
Frédéric LEBRE 2016.06.04 09:29 

Hello,

Please, could you explain me how to decrease lot size of open orde in order to take a partial profit ?

Regards. 

Fernando Carreiro
1479
Fernando Carreiro 2016.06.04 09:36  

Use the "OrderClose()" function with a volume/lots less than the amount currently opened. This is called a partial close!

whroeder1
13619
whroeder1 2016.06.04 11:05  
OrderClose. The amount must be a multiple of lot step, >= min lot and the remaining amount also >= min lot.
Frédéric LEBRE
233
Frédéric LEBRE 2016.06.04 12:33  

Thanks a lot for you answers.

Have a great journey.

/
To add comments, please log in or register