Download MetaTrader 5

Mql5 custom spreads and custom swaps during backtesting.

To add comments, please log in or register
loadednrg
1321
loadednrg 2013.12.04 01:15 

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. 

Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State / Symbol Properties
Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State / Symbol Properties
  • www.mql5.com
Standard Constants, Enumerations and Structures / Environment State / Symbol Properties - Documentation on MQL5
Alain Verleyen
Moderator
31134
Alain Verleyen 2013.12.04 09:00  
loadednrg:

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.
Simon Gniadkowski
Moderator
18002
Simon Gniadkowski 2013.12.04 19:03  
loadednrg:

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. 

Find a Broker that has the Spreads and Swaps you want and use their data.
To add comments, please log in or register