In MT5 do I have to pay an extra spread relative to MT4?

 

We have the simplest situation. There is a long term order and then a short term order in the opposite direction (e.g. on a pullback). Everything is a single lot. In MT4 we have a spread for each order. In MT5 we have three operations - opening of a long term one, then a closing and opening of a reverse short term one, and then its closing and reopening of a long term one - a total of 3 spreads in MT5 instead of 2 in MT4.

So it turns out that for each short-term reverse order we have to pay an additional spread in MT5 relative to MT4?

 
In MT5 you don't need to close the position, you just need to open a double volume in reverse. This also results in two spreads.
 
Of course, the closing of the previous order and opening of a new one will be done by double volume. This means that in MT5 we have 3 openings - the first with a single lot, and the next two with a double lot - a total of 3 operations and three spreads.
 
Andrei01:
Of course, the closing of the previous order and opening of a new one will be done by double volume. That means we have 3 openings in MT5: the first one with a single lot, and the next two with a double lot; that is 3 operations and three spreads.
Mutual overlapping on the opposite one reduces one spread. It is the same for both MT4 and MT5, the only difference is that MT5 has automatic overlapping of the opposite counter and MT4 often had problems due to OrderCloseBy() instability.
 
It seems very easy to test in practice.
 
Reshetov:
Mutual overlap on the counter reduces the single spread.
It does not detract from anything, the spread is known to be based on the final lot size of the trade, and here we have three trades with a final single lot size.
 
Renat:
It seems very easy to test in practice.
What will happen in practice? The spread will not be added to the third opening because MT5 knows that this is not an independent position, but a continuation of the first one? What is the logic of spread calculation in this simple case?
 
Andrei01:

So it turns out that for every reverse short order you have to pay extra spread on MT5 in relation to MT4?

You made a mistake in the opening schedule of MT4 and MT5.

In MT4 you have not reversed anything, but in MT5 you have reversed it for some reason, so you think there is a discrepancy.

Actually, in the second step of having two differently directed orders - in MT5 you will get 0 in total for the position.

 
sergeev:

You made a mistake in the opening schedule of MT4 and MT5.

In MT4 you have not reversed anything, but in MT5 you have reversed it for some reason, which is why you think there is a discrepancy.

In fact, in the second stage of the existence of two differently directed orders - in MT5 you will get 0 on the total position.

In MT4, two trades of a lot will give you 2 spreads, and three with a double flip will give you three spreads. No matter how you look at it, the arithmetic here is simple. Well, the fact that the amount will be the same without taking into account the spread is correct, but that's not the point.
 
Andrei01:
No matter how you look at it, the arithmetic is simple.
Yes, simple and identical. MT4 is no different from MT5.
 
sergeev:
yes, simple and identical. MT4 is no different to MT5.
It is claimed that MT5 is supposedly fully equivalent to MT4 in all cases, but here you can see that this is not the case - the spread paid will be different.
Reason: