
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Is higher timeframe data looking into the future? Obviously not when forward testing!
But how about when backtesting?
Lets say we're running an EA backtest on 1H, in the middle of the day, a few weeks in the past.
The EA uses some MTF indicator. At some point the EA switches the indicator from 1H to 1D and reads the data.
The problem I see here is that even if we're in the middle of the day, the history 1D candle is already fully formed (atleast in the database), with OHLC and all...
so potentially we could be looking half a day into the future right?
So the big question is; if we use an MTF-indicator on a chart or in an EA, and use it to access latest / currentdata from a higher timeframe, is that data thrustworthy
like it would be on a forward test, where the HTF bar0 is basically never finished ??
EDIT:
I just found this:
https://www.mql5.com/en/articles/1490