Skip to content
All library documents

Persistent Historical Bookmarks for MQL5 Chart Analysis

Article MQL5 articles

Summary

This article extends a MetaTrader 5 history navigator with named bookmarks that preserve a chart’s symbol, timeframe, timestamp, and optional notes. It describes how these records let traders return to notable historical patterns, reversals, breakouts, volatility episodes, and other market events without entering dates again. The listed examples span several markets and periods, but they illustrate possible research subjects rather than demonstrate a trading edge.

The implementation separates bookmark data and CSV persistence into a storage class, while the navigator interface handles creation, loading, selection, navigation, and deletion. Timestamps are used instead of bar indexes because indexes can shift as historical data changes. The existing date navigation engine is reused to position the chart when a bookmark is selected. The article focuses on software design and historical review workflows; it does not test a trading strategy or quantify whether revisiting these events improves decisions.

Key ideas

  • Bookmarks retain symbol, timeframe, timestamp, a user-defined name, and optional notes.
  • A timestamp provides a more stable historical reference than a bar index as data is loaded or updated.
  • A separate storage class loads, validates, and saves bookmark records in a CSV file.
  • The existing date-navigation routines position the chart when a saved bookmark is selected.
  • Historical examples suggest research topics but provide no evidence of strategy performance.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.