Partial close of position
Dear all
For instance, my EA opened an order of 1 lot and I would like to close 0.5 lot now.
If totally 1 lot is closed at final, does it mean that broker does not allow partial close of an order? or I have to adjust any parameter in OrderClose function?
Is there any function like IsDemo() which can tell EA whether partial close is allowed by broker?
Thanks a lot!
Did you make sure the value passed was valid? Help ... how to know broker's accepted volume ? - MQL4 forum
Did you test the return value and log the error What are Function return values ? How do I use them ? - MQL4 forum
Dear all
For instance, my EA opened an order of 1 lot and I would like to close 0.5 lot now.
If totally 1 lot is closed at final, does it mean that broker does not allow partial close of an order? or I have to adjust any parameter in OrderClose function?
Is there any function like IsDemo() which can tell EA whether partial close is allowed by broker?
Thanks a lot!