Download MetaTrader 5
To add comments, please log in or register
Are you a good trader? Become a signals provider and make even more money!
gangsta1
1117
gangsta1 2014.04.15 23:30 

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
8028
Keith Watford 2014.04.15 23:56  
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 2014.04.16 00:19  
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