Skip to content
All library documents

Building Fixed-Size Renko Bricks from Live Tick Data in MT5

Article MQL5 code base

Summary

This document describes an MT5 indicator that constructs a classic Renko chart within a standard chart window. It builds completed bricks from incoming tick data, with each brick representing a fixed price movement rather than a fixed time interval. The chart gives all bricks equal visual width and hides the usual time scale, since elapsed time does not define the bricks.

The indicator uses a two-brick reversal rule and requires only a brick-size input; the selected chart timeframe serves as a host and does not affect construction. The example explains that a brick size of 1.00 on XAUUSD corresponds to a $1 price move. The description outlines how the chart is built, but provides no performance evidence, trading rules, or evaluation of parameter choice. Renko charts also omit the usual time-based view, so this account does not establish how the display performs as a signal or what effects different brick sizes may have.

Key ideas

  • Renko bricks represent fixed price movements instead of fixed time intervals.
  • The indicator builds completed bricks from live tick data within a standard MT5 chart.
  • Its reversal logic requires a move of two bricks in the opposite direction.
  • Brick size is the sole input, while the chart timeframe acts only as a host.

Tags

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