Download MetaTrader 5

Closing a position with a volume higher than maxvol by trail

To add comments, please log in or register
Write articles and earn money. We pay 200 USD for them!
Icham Aidibe
10044
Icham Aidibe 2016.06.15 08:58 

Hi,

A position is opened with let's say 3*max volume. The position is correctly trailed, but when the price cross the trail price, not the whole position is closed, only 1 or 2*max volume :

Same when I use PositionClose function (with no deviation spec). Is there anyway to force the whole position closing - OR - to avoid such kind of loss.

Thanks for sharing your experience.

Icham Aidibe
10044
Icham Aidibe 2016.08.09 18:20  
Solved. In async mode, positionclose from ctrade class won't go further than max vol.
To add comments, please log in or register