Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 4 Expert Advisor | Analyze History

Have you ever wondered if your history files are complete or have gaps (i.e. data missing for some periods of time) ?

This EA reports all the gaps in your history file for the symbol and timeframe selected.

Instructions:

Launch the EA in the strategy tester with 'Use date' checkbox unticked and 'Open prices only' modeling for the symbol and timeframe you want to check.

MetaTrader Experts, Indicators, Scripts and Libraries

The EA will print out all the history gaps in the log.

MetaTrader Experts, Indicators, Scripts and Libraries

Gaps over the weekend are ignored (provided that broker closes on Friday and reopens on Sunday), but possible gaps over festivities (e.g. Xmas) are reported.

The only input parameter MinGapInBars can be used to filter out gaps shorter than a certain amount of bars, for instance to ignore tiny gaps due to lack of trades on the broker during periods with low liquidity.

11643

Best MetaTrader Indicators + Profitable Expert Advisors