Building a Traditional Renko Overlay with Two-Brick Reversals
Summary
The document explains how to create an MQL5 indicator that overlays Renko bricks on a standard MetaTrader 5 candlestick chart. It uses candle closes and a starting close as the base price, then adds a brick whenever price moves by the chosen fixed interval. Brick size should reflect the instrument’s price scale, and any movement short of a full brick remains unrepresented until enough movement accumulates.
The method tracks brick closes and trend direction, allowing continuation after a one-brick move while requiring a two-brick move in the opposite direction to confirm a reversal. It draws directional rectangles on the chart, limits displayed history, and rebuilds the Renko sequence when the chart timeframe changes. The article describes the indicator’s intended behavior but provides no performance tests or evidence that Renko filtering improves trading results. Its bricks are derived from timeframe-specific candle closes, so the output depends on the selected chart timeframe and price data.
Key ideas
- The first available candle close anchors the Renko sequence.
- A new brick forms only when price moves by at least the configured brick size.
- The indicator represents continuation and reversal differently, requiring a two-brick opposite move to confirm a reversal.
- Brick size should be chosen to suit the instrument’s price scale.
- The Renko sequence is reconstructed separately for each chart timeframe.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.