EA-21653 · Unclassified

OHLC Check

This EA is a utility tool that checks and validates OHLC (Open, High, Low, Close) data integrity in MetaTrader 5. It compares historical bar data from different sources or timeframes to detect discrepancies, missing bars, or data corruption issues in the price feed.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryUnclassified
RiskSafe
Rating★★☆☆☆
TypeUtility tool
TimeframesM1, M5, M15, M30, H1, H4, D1, W1, MN
IndicatorsOHLC
AuthorA.Lopatin© 2017

Backtest results (H1, about 1 year)

Not backtested yet — this EA could not be converted automatically.

Strategy analysis

This EA is not a trading strategy but rather a data validation utility tool. Its core function is to read and compare OHLC data bar by bar, checking consistency between data sources. Entry and exit conditions are not applicable since it does not execute any trading operations. Position sizing and money management are likewise not applicable. Its main logic involves iterating through historical bars within a specified range, comparing price values from different data sources, flagging inconsistent data points, and outputting detection results via logs or charts. The tool may also include timestamp continuity checks to discover missing bar periods.

Strengths

  • Helps traders detect anomalies in data sources, avoiding trading decisions based on faulty price data
  • Systematically validates integrity of large volumes of historical data, far more efficient than manual checks
  • Serves as a debugging and diagnostic tool, effectively isolating data-level causes when backtest results diverge from live performance

Weaknesses

  • Only provides data checking functionality with no trading capability, making its feature set quite narrow
  • The criteria for judging data discrepancies may not be flexible enough to accommodate all special cases across different data sources
  • Lacks a graphical interface for presenting results; relying solely on log output is not intuitive enough

Possible improvements

  • Add a graphical panel to visually display the location and magnitude of data discrepancies in chart form
  • Add options for automatically repairing or excluding anomalous data, and support exporting validation reports

Risk assessment

Overall risk: Safe

  • This tool does not execute any trading operations, so there is no financial risk
  • If the data checking logic itself has flaws, it may produce false positives or false negatives, misleading traders' judgment

Evaluation scores

Code quality3.0
Strategy logic2.0
Risk management5.0
Robustness3.0
Innovation2.0
Documentation2.0
Overall2.8

Parameters

ParameterDefaultDescription
CheckPeriod1000Number of historical bars to check
TimeframePERIOD_CURRENTTarget timeframe for checking
LogEnabledtrueEnable log output
AlertOnDiscrepancytrueAlert on data discrepancy detected

Similar Unclassified EAs

Backtests are historical simulations and do not guarantee future results. Not financial advice.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.