It appears that the Swap cost calculation in the MT5 strategy tester may be incorrect.
A Buy trade on USDJPY was initiated on 2024.11.11 and concluded on 2024.11.15, with a volume of 0.25 and a tick value of 0.64125995.
The trade opened on Monday and closed on Thursday, with the swap amount being tripled on Wednesday.
Comparing two different outcomes:
1. the live market trade has a swap of $10.05
2. the strategy tester has a swap of $14.06
This suggests that the strategy tester is computing the swap for 7 days, rather than the actual 5 days.
A similar issue when I am testing with other pair.
Does anyone face a similar?
Files:
Live_trade.png
4 kb
Back_test.png
16 kb
- Swap setting in Expert Advisor
- Blessing 2
- Please help - "Market closed" in Strategy Tester
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Thi Ngoc Tram Le:
Does anyone face a similar?

Новая версия платформы MetaTrader 5 build 4620: исправления ошибок в MQL5 и новые методы OpenBLAS - В этом выпуске мы исправили несколько трудноуловимых ошибок MQL5. Исправлена ошибка ручного получения тиковой истории из терминала MetaTrader 5.
- 2024.10.10
- MetaQuotes
- www.mql5.com
New MetaTrader 5 Platform build 4585 Performance improvements. а так же задания могут от одного советника быть разной сложности. Почему нельзя оценивать время до окончания работы и раздавать задания другим агентам

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register