Hi guys
I know that I can do a backtesting for my EA with all the pairs in market watch at the same time in MT5. but can I set different setting for each currency pairs?
For example I want to test for Gold, EURUSD, GBPUSD and USDJPY and my EA have 5 options in its setting , I want to disable option1 for gold and GBP but enable it for other pairs and ....
You can use a text file as the input parameter and save all necessary settings for each currency pair.
This approach will eliminate the restriction on the number of input parameters that can be defined for an EA and effectively allows to change the EA behavior at any given time simply by modifying the file so that no restart would be required.
File may take this format:
CurrencyPair Active StartTime EndTime ....
EURUSD 1 10 13
XAUUSD 0 10 23
AUDUSD 1 10 23
GBPUSD 0 09 12
...
You can use a text file as the input parameter and save all necessary settings for each currency pair.
This approach will eliminate the restriction on the number of input parameters that can be defined for an EA and effectively allows to change the EA behavior at any given time simply by modifying the file so that no restart would be required.
File may take this format:
CurrencyPair Active StartTime EndTime ....
EURUSD 1 10 13
XAUUSD 0 10 23
AUDUSD 1 10 23
GBPUSD 0 09 12
...
Tnx, thats a good idea
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi guys
I know that I can do a backtesting for my EA with all the pairs in market watch at the same time in MT5. but can I set different setting for each currency pairs?
For example I want to test for Gold, EURUSD, GBPUSD and USDJPY and my EA have 5 options in its setting , I want to disable option1 for gold and GBP but enable it for other pairs and ....