Is this possible to backtest the EA used multi timeframe?

 

Hello,

I wrote EA using 2 different timeframe.eg. 15m and 4hr. but when i backtest nothing doing.

Forward test works fine where i opened 2 timeframes on chart.

Question is: Is this possible to code to test backtest also? if yes how it will be done?

I saw someone wrote ea using multi timeframe.which backtest works fine.

Please give me suggetion to code!

 
sheriffonline:

Hello,

I wrote EA using 2 different timeframe.eg. 15m and 4hr. but when i backtest nothing doing.

Forward test works fine where i opened 2 timeframes on chart.

Question is: Is this possible to code to test backtest also? if yes how it will be done?

I saw someone wrote ea using multi timeframe.which backtest works fine.

Please give me suggetion to code!

Let me guess you tested it on H4 ? but you didn't bother to check if you had M15 data for the same range of dates you were trying to test ?
 
RaptorUK:
Let me guess you tested it on H4 ? but you didn't bother to check if you had M15 data for the same range of dates you were trying to test ?


Yes RaptorUK. You are the first to help here. After downloaded both tf history. backtest works well.


Thanks

Reason: