Download MetaTrader 5

Backtesting Different Periods & Results...

To add comments, please log in or register
gangsta1
1197
gangsta1  

I am backtesting my EA on the m5 and it uses bar O/C/L/H from a bar on a different timeframe (e.g. PERIOD_H1) and an indicator on a different timeframe.

Now I would assume that if the EA is always using the PERIOD_H1 timeframe and indicator values (for all activity) then surely whatever timeframe I backtest the EA on the results should be the same? They differ significantly between timeframes.

Keith Watford
Moderator
10566
Keith Watford  
gangsta1:

I am backtesting my EA on the m5 and it uses bar O/C/L/H from a bar on a different timeframe (e.g. PERIOD_H1) and an indicator on a different timeframe.

Now I would assume that if the EA is always using the PERIOD_H1 timeframe and indicator values (for all activity) then surely whatever timeframe I backtest the EA on the results should be the same? They differ significantly between timeframes.


What time-frame is the indicator data coming from, you're not clear.

If the EA trades when conditions are met at the bar close, then it may have 12 possibilities to trade in an hour on M5, but only 4 on M15

SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI  
Yeah. Show us the code so that someone can see what is wrong with the code, if not too much of help.
To add comments, please log in or register