So when you close, use the 0.5.
Hello sir,
Thank you for your response, but i did not understand what u said
Megha Relan:
Hello all,
I want to know, Is it possible to Modify Market Order Lot size with my expert adviser,
Let assumed, I Opened 1 Lot size buy Order and now I want to close 0.5 Lot size.
If Possible Let me know
Thank you in advance
Use
Partially closes a position on a specified symbol or having a specified ticket |
Documentation on MQL5: Standard Library / Trade Classes / CTrade / PositionClosePartial
- www.mql5.com
PositionClosePartial(const string,const double,ulong) - CTrade - Trade Classes - Standard Library - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello all,
I want to know, Is it possible to Modify Market Order Lot size with my expert adviser,
Let assumed, I Opened 1 Lot size buy Order and now I want to close 0.5 Lot size.
If Possible Let me know
Thank you in advance