- Phoenix_5_6_03 what is the currect optimization this ea
- Detect strategy tester
- Evaluating Trading Strategies
Is there a way to test all time frames in one run, that out puts all results per time frame?
Put in your extern variables this
input ENUM_TIMEFRAMES mPeriod=PERIOD_H1;
and then you have to replace all your _Period with mPeriod.
for exemple
iBands_handle = iBands(_Symbol,mPeriod,20,0,2,PRICE_CLOSE);
then you can easily test all timeframes in one run
It works fine for me :)
![Documentation on MQL5: Standard Constants, Enumerations and Structures / Indicator Constants / Smoothing Methods Documentation on MQL5: Standard Constants, Enumerations and Structures / Indicator Constants / Smoothing Methods](/i/community/logo_mql5_small.png)
- www.mql5.com
Does nzdchf in strategy tester work for you? I did a simple average cross but it doesn't work. It works with majors crosses. What can I do?
Does nzdchf in strategy tester work for you? I did a simple average cross but it doesn't work. It works with majors crosses. What can I do?
Does nzdchf in strategy tester work for you? I did a simple average cross but it doesn't work. It works with majors crosses. What can I do?
I use it like this:
Put in your extern variables this
and then you have to replace all your _Period with mPeriod.
for exemple
then you can easily test all timeframes in one run
It works fine for me :)
This is a nice idea. Thank you fir sharing here.
Br, Candles
YANND:
I use it like this:
Put in your extern variables this
and then you have to replace all your _Period with mPeriod.
for exemple
then you can easily test all timeframes in one run
It works fine for me :)
This is a nice idea. Thank you fir sharing here.
Br, Candles
You can even use the same technique for testing several Symbols in one run. Just create your own enumeration with all the Symbols you need and let it run through.
Very nice thinking. I will do this.
I would like to make also backtesting having in results all hourly time frames but isn't yet clear for me.
I have inside my Expert the following code. How should I change it? Thank you.
input ENUM_TIMEFRAMES Signal_NonLagMA_TimeFrameMA=0; if(!ExtExpert.Init(Symbol(),Period(),Expert_EveryTick,Expert_MagicNumber))
![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