I see, my fail. I'm a bit tired. Sorry, thanks.
Same instruments, same lot sizes, same TP and SL. No swaps. Different result in money. How can it be?
Order 1 was opened and closed on the same day
Order 2 wasn't, so there would have been a charge for the swap
Unfortunately not good. This is not the swap. Here is an other example (same day and different values)
Yes, I also think that, see: https://www.mql5.com/en/forum/153161/page2#990303
Can I modelling commission in backtest?
One can get an order's commission from an OPEN and CLOSED order >> OrderCommission()
Is there any possibility to know the commission IN ADVANCE (before opening)?
(It were good if there would be MODE_COMMISSION in MarketInfo. But there is not.)
You are wrong. If it were the spread, the different would be 3USD because of the 0.1 lot. The different isn't 3, but 1.62.
What about commission? Is it possible to modelling the commission in the backtest?
Thank you, but it is not swap, see the newer picture above > here
This is commission. (On the first picture there are commission and swap.)
So, this is my question: