Building Volume, Range, Tick, and Renko Charts with Custom Symbols
Summary
The article explains how MetaTrader 5 custom symbols can represent market data in alternative chart formats. It describes constructing equal-volume bars from tick or real volume, equal-range bars from price movement, tick charts, shifted quotes with altered candle shapes, and Renko charts. The practical examples focus on reading broker data and using the custom-symbol API to update bars and ticks so the derived series can appear on standard charts and be used in testing or trading.
It also outlines how an Expert Advisor running on a derived-symbol chart can route orders to the associated real instrument. Example strategy results on Renko EURUSD charts are compared with results on regular EURUSD charts and described as similar. These demonstrations illustrate implementation possibilities, not a general performance advantage. Bar timestamps can drift from their actual formation times when multiple bars form within a minute, and the order-routing mechanism is characterized as a basic implementation that may need strategy-specific changes. Tick history processing can also demand substantial time and storage.
Key ideas
- Custom symbols let traders display broker quotes as volume-based, range-based, tick, or Renko bars.
- Equal-volume bars close after reaching a chosen tick or real-volume amount.
- Equal-range bars form when price traverses a specified point range.
- An EA can use a derived-symbol chart while directing trades to its linked real instrument.
- Custom bar timestamps and resource demands impose practical limits on historical processing.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.