Download MetaTrader 5

Closing a position with a volume higher than maxvol by trail

To add comments, please log in or register
Icham Aidibe
10301
Icham Aidibe  

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
10301
Icham Aidibe  
Solved. In async mode, positionclose from ctrade class won't go further than max vol.
To add comments, please log in or register