SSALGODocs
Website ↗Open app
Strategy library

Renko

Trade the direction of Renko bricks instead of raw candles, with optional brick-based exits.

New algos use Renko inside an Indicator Algo, as the trigger or a confirmation. This page describes the bricks and algos created earlier from the Renko card.

What it does#

Renko draws a new brick only when price moves a full brick size from the last brick. Small moves inside a brick are ignored, so the chart shows trend changes with less noise than candles.

A BUY fires on the first green brick after red bricks, and a SELL on the first red brick after green ones. A reversal always needs price to move two bricks against the trend, which is standard Renko. Bricks are worked out from finished candles of your timeframe only, never from a candle that is still forming.

Bricks sit on a fixed price grid (multiples of the brick size), so the latest brick does not depend on how much history happens to be loaded.

Settings#

Field Default Meaning
Brick Type ATR ATR sizes the brick from volatility; Fixed uses the points you type
Brick Size (points) NIFTY 20, BANKNIFTY 50, SENSEX 60 Only for Fixed bricks
ATR Period 14 Candles used for the ATR when the brick type is ATR
ATR sizing When the algo starts Size the ATR brick once at Start, or again at the start of each trading day
Price Source Close Close draws fewer false bricks; High / Low reacts faster
Confirmation Bricks 1 How many bricks in a row a new direction needs before it signals (1–10)
Brick target Off Close the trade after this many bricks in its favour
Brick stop Off Close the trade after this many bricks against it in a row
EMA filter Off Entry also needs the EMA of the brick series to agree
SuperTrend filter Off Entry also needs SuperTrend on the brick series to agree

Instrument, options or futures, lots, stop-loss and target, maximum trades per day and timings work the same as in every other strategy.

Brick size#

A brick that is wrong for the instrument is the usual reason a Renko algo disappoints: too small and it whipsaws all day, too large and it rarely trades.

  • ATR, when the algo starts: the brick is sized from ATR at Start and stays fixed for that run, including after a server restart.
  • ATR, each trading day: on the first candle of each day the brick is re-sized from the days before, so every candle of one day uses one brick size.
  • Fixed: the size you type, in points.

Exits#

  • Opposite brick: with Trade direction Buy & Sell a reversal brick closes the trade and opens the other side. With Buy only or Sell only it closes the trade and waits flat.
  • Brick target / stop: closes the trade and waits flat until the next reversal; it never opens the opposite side. The stop counts bricks against the trade from the latest brick, so it trails one brick at a time. It only acts when it is shorter than the confirmation bricks, otherwise the reversal exits first, so it needs at least 2 confirmation bricks.
  • Your normal stop-loss, target, square-off time and daily limits still apply.

Paper and Live#

Renko currently runs in Paper only. Run it alongside a Renko chart of the same instrument and timeframe before relying on it.

Read the monitor and reports#

The trade details show the brick size and the bricks behind each entry and exit, for example how many bricks were in your favour when a brick target closed the trade.

Troubleshooting#

If your reference chart shows different bricks, match the instrument, timeframe, brick size and price source. Charting tools often start their bricks from a different first candle or size an ATR brick differently, so bricks can be offset even with the same settings. If the algo has no entry, check whether it is waiting for a new reversal brick or for enough candle history.

Continue with risk controls, start and stop, or feature availability.

Search the handbook