MT5 question. I want to build a system that gets in and out of 10 pairs at the same time.
Q: When backtesting, am I able to set a custom spread for each of the 10 pairs, and a custom SWAP for each of the 10 pairs, that takes effect during backtesting?
I need to be able to see that my multipair system works on a widened spreads over all the pairs, with larger than normal SWAPs
Thanks for looking at my question.
MT5 question. I want to build a system that gets in and out of 10 pairs at the same time.
Q: When backtesting, am I able to set a custom spread for each of the 10 pairs, and a custom SWAP for each of the 10 pairs, that takes effect during backtesting?
I need to be able to see that my multipair system works on a widened spreads over all the pairs, with larger than normal SWAPs
Thanks for looking at my question.
Backtesting use history data and you can't change it. So I don't think you can set a custom spread or swap.
Unfortunately, it seems that Strategy Tester doesn't use historical swaps, but current swap retrieved at runtime applied to all the backtest timeline.
I don't know if it's a broker-related problem, but every time swap changes (eg. once a month), all your backtest results are compromised!
Unfortunately, it seems that Strategy Tester doesn't use historical swaps, but current swap retrieved at runtime applied to all the backtest timeline.
I don't know if it's a broker-related problem, but every time swap changes (eg. once a month), all your backtest results are compromised!
It's not a broker issue, it's a limitation of the platform, there is no historical swaps recorded.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
MT5 question. I want to build a system that gets in and out of 10 pairs at the same time.
Q: When backtesting, am I able to set a custom spread for each of the 10 pairs, and a custom SWAP for each of the 10 pairs, that takes effect during backtesting?
I need to be able to see that my multipair system works on a widened spreads over all the pairs, with larger than normal SWAPs
Thanks for looking at my question.