Discussing the article: "Price Action Analysis Toolkit Development (Part 80): Building a History Navigator for MetaTrader 5"
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
Check out the new article: Price Action Analysis Toolkit Development (Part 80): Building a History Navigator for MetaTrader 5.
We implement a History Navigator for MetaTrader 5 that jumps the chart to an exact historical period by date and time. The dialog validates inputs, converts them to datetime, and searches bar times with a binary-search routine before centering the selected candle. The navigation logic is separated from chart control, improving testability and maintenance, and a one-click return restores the live market view.
Historical price action is useful when reviewing previous trades, studying support and resistance reactions, comparing recurring market structures, or examining how a trend developed before a breakout. It can also be used when validating trading rules and researching ideas before implementing them as automated strategies.
However, reaching a specific historical date on a chart can be time-consuming. When the required period is far back in history, traders may have to scroll through a large amount of chart data before reaching the desired location. Depending on the task, the required historical period may range from a few hours to several years, making manual navigation increasingly inconvenient.
The diagram below illustrates the process of manually scrolling through the chart to reach a specific historical date:
This limitation led to the development of the History Navigator, which provides a more efficient way to navigate directly to a specified historical date and time. Its design and implementation are explained in detail in the sections that follow.
Author: Christian Benjamin