It's not bug. For example, if you open Sell position in 1 lot at price 1.20000. After, you send sell limit order (or open Sell position) in 0.9 lot at 1.20130. When price grows up, your sell limit order transformed into position. But, MT5 can have only one position for every symbol -> both positions will be transformed into single position with new open price, which calculated at formula:
(OpenPrice1 * lot1 + OpenPrice2*lot2)/(lot1+lot2) = (1.2 * 1 + 1.2013 * 0.9) / (1 + 0.9)= (1.2 + 1.08117)/1.9=2.28117/1.9=1.20061578947368.....
In this case, mt5 will use some additional digits after decimal delimeter for better calculation of loss/profit of position.
It's not bug. For example, if you open Sell position in 1 lot at price 1.20000. After, you send sell limit order (or open Sell position) in 0.9 lot at 1.20130. When price grows up, your sell limit order transformed into position. But, MT5 can have only one position for every symbol -> both positions will be transformed into single position with new open price, which calculated at formula:
(OpenPrice1 * lot1 + OpenPrice2*lot2)/(lot1+lot2) = (1.2 * 1 + 1.2013 * 0.9) / (1 + 0.9)= (1.2 + 1.08117)/1.9=2.28117/1.9=1.20061578947368.....
In this case, mt5 will use some additional digits after decimal delimeter for better calculation of loss/profit of position.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
look at the image.