QuantsappFaster in the app: live data, alerts, tradingOpen
Log inStart free
Futures · technicalIntradayNIFTYmedium complexity

Renko EMA stack

This intraday futures system draws a Renko chart of 12.5-point bricks from NIFTY futures and runs three EMAs (5, 21 and 44) on the brick closes rather than on time candles. A trade starts when a brick first clears all three averages, the stop sits two bricks back, and profits are taken on the first counter brick once the trade has earned one and a half times its risk.
Trades NIFTY futures from a Renko chart of 12.5-point bricks, entering when a brick clears a 5/21/44 EMA stack and exiting on a stop two bricks back or a reversal brick.
Market viewEither direction (follows the move)
TradesNIFTY near-month futures, 1 lot
RiskOpen-ended (loss not capped by the structure)
CapitalFutures margin
SuitsIntermediate
Trades a month114.6
Typical hold14 min
Profitable months5 of 12
Longest losing run16 trades
Made money inTrend days that close near the high or lowWide-range choppy sessions
Lost money inQuiet sessions with a range under 0.75%Days that open with a gap down
Default settings
Symbol
Box mode
Box points
Box %
EMA fast
EMA mid
EMA slow
Rr colour exit
Entry from
Last entry
Square off
Lots
Backtest this strategy →Change any setting, pick your own period and run it in the Quantsapp web app. Backtesting is part of the Max plan. Pro+ members can use it now as a free trial.
1

How it trades

What it trades
Universe
NIFTY Intraday · 1 Oct 25 → 30 Sep 26
Enters
First tick after a 12.5-point brick closes beyond EMA 5, 21 and 44; bricks formed 09:20-15:15
Legs
BUY FUT · Near month (long signal) · Near-month future · 1 lotSELL FUT · Near month (short signal) · Near-month future · 1 lot
Exits
stop Low of the brick two before the signal brick (high for a short)target After a brick closes 1.5 times the risk in profit, the first opposite-colour bricksignal A brick closes beyond all three EMAs the other waytime Square off at 15:20
Re-entry
Yes - a pullback through EMA 5 or 21 and a brick back across it re-enters the same side; fresh stack breaks also re-enter
Bricks
classic fixed-box Renko from the 1-minute closes of the near-month future: a new up brick each time a close is BOX_POINTS above the last brick's top, a down brick each time it is BOX_POINTS below its bottom (one minute can print several). BOX_MODE "pct" uses BOX_PCT % of the previous session's last price instead, rounded to 0.5. EMA(EMA_FAST), EMA(EMA_MID), EMA(EMA_SLOW) run on the brick closes.
Entry
flat, a green brick closes above all three EMAs while the brick before was not -> buy; a red brick closing below all three after one that was not -> sell. Pullback re-entry: after a trade, a close back below EMA_FAST or EMA_MID (above, for a short) arms it; the next brick of the last trade's colour closing back across that EMA re-enters the same side. LOTS, at the first tick after the minute in which the brick formed, bricks formed ENTRY_FROM .. LAST_ENTRY.
Stop
the low of the brick two back from the signal brick (short: its high), fixed, at the first tick through it.
Exit
once a brick close is RR_COLOUR_EXIT x the initial risk in profit, the first opposite-colour brick exits; any brick closing beyond all three EMAs the other way exits (trend exit); SQUARE_OFF.
2

Results

PRE-BUILT · DEFAULTS
NIFTY · 2025-10-01 → 2026-09-30 · 1375 trades · before costs
Net P&L−₹58,313
Win rate30%
Max drawdown−₹1,24,347
Avg per trade−₹42
Profit factor0.96
Worst trade−₹11,377
3

Where it made and lost money

In this test the type of session decided everything. Quiet days with a range under 0.75% lost ₹2,22,576 over 402 trades and won only 22% of the time, while trend days that closed near the high or low made ₹1,31,340 over 455 trades. On a narrow day the index keeps crossing the EMA stack by one or two bricks, so a fresh signal fires and the stop just 25 points away is hit soon after. On a trend day the bricks keep printing one way, the 1.5R trigger is reached and the trade rides until a reversal brick. Days that opened with a gap down lost ₹59,901 over 326 trades.

Kind of session on the entry day
Quiet session (range under 0.75%)−₹2,22,576402 trades22% won
Trend day (closed near the high or low)+₹1,31,340455 trades34% won
Choppy day (wide range, closed mid-range)+₹29,712509 trades33% won
Day of the week
Monday−₹49,173298 trades28% won
Tuesday−₹26,496266 trades31% won
Wednesday−₹1,579234 trades29% won
Thursday+₹21,305270 trades31% won
Friday−₹30,763282 trades30% won
Session direction on the entry day
NIFTY closed above its open−₹64,483688 trades30% won
NIFTY closed below its open+₹2,958678 trades30% won
How the entry day opened
Gap up of 0.4% or more+₹7,333189 trades29% won
Flat open−₹8,956851 trades30% won
Gap down of 0.4% or more−₹59,901326 trades30% won
India VIX the evening before
VIX below 11.5 (calm)−₹1,215221 trades30% won
VIX 11.5-14.5 (normal)−₹39,989538 trades29% won
VIX above 14.5 (nervous)−₹20,320607 trades31% won
Trend going in
Uptrend (NIFTY above its 20-day average)−₹38,174530 trades30% won
Downtrend (NIFTY below its 20-day average)−₹23,351836 trades30% won
Expiry day (NIFTY weekly)
Expiry day−₹33,048304 trades31% won
Other days−₹28,4761062 trades30% won
The same trades, split by the market conditions around each entry, before costs.
4

About this strategy

  1. Build fixed 12.5-point Renko bricks from each minute's close of the near-month NIFTY future; bricks carry over between sessions but restart with each new contract.
  2. Calculate EMA 5, EMA 21 and EMA 44 on the brick closes.
  3. Between 09:20 and 15:15, buy one lot when a green brick closes above all three EMAs and the previous brick did not; sell when a red brick closes below all three after one that did not.
  4. After a trade ends, a brick closing back through EMA 5 or EMA 21 arms a pullback re-entry in the same direction once a brick of that colour closes back across the average.
  5. Place a fixed stop at the low of the brick two before the signal brick (its high for a short).
  6. Once a brick closes at 1.5 times the initial risk in profit, exit on the first brick of the opposite colour.
  7. Exit immediately if a brick closes beyond all three EMAs the other way, and square off anything open at 15:20.

Why traders use it

Renko bricks only print after a fixed move, so the small back-and-forth that clutters a 1-minute chart disappears and trends look clean. Stacking three EMAs on top asks for agreement between short, medium and longer momentum before a trade, and the brick-based stop gives a clear, mechanical place to be wrong. Traders like that every decision, from entry to exit, can be read straight off the chart without judgement.

Works best whenIn this test, trend days that closed near their high or low: bricks kept printing in one colour, so trades reached the 1.5R trigger and rode the move. Wide-range choppy days were also mildly positive.
Struggles whenQuiet sessions with a range under 0.75%, where NIFTY wobbles across the EMA stack by a brick or two, each fresh signal is stopped two bricks back, and the high trade count piles up costs.

The year in plain words

On NIFTY futures from 1 Oct 2025 to 30 Sep 2026 with default settings, the system took 1,375 trades and won 30% of them, losing ₹58,313 before costs with a profit factor of 0.96. Winners averaged ₹3,195 against ₹1,443 for losers, but 759 trades ended at the brick stop, more than half the total. With so many trades, ₹20 per order and bid-ask slippage pushed the loss to ₹3,10,577 after costs. January (+₹35,623) and October (+₹28,984) were good, while September alone lost ₹55,279. Maximum drawdown was ₹1,24,347 before costs.

What the settings do

Box modeWhether bricks are a fixed number of points or a percentage of the previous session's last price. The percentage mode keeps brick size in step with the index level.Box pointsThe brick size in points when BOX_MODE is points. Smaller bricks mean many more signals and tighter stops; larger bricks trade less and sit through more noise.Box %The brick size as a percent of the previous close, used only in percentage mode. 0.05% of a NIFTY level near 25,000 is roughly 12.5 points.EMA fastThe shortest average in the stack, counted in bricks. It also arms pullback re-entries when a brick closes back through it.EMA midThe middle average. A brick must clear it too, and a close back through it also arms a pullback re-entry.EMA slowThe slowest average. A higher value demands a more established trend before entry and makes the opposite-side trend exit rarer.Rr colour exitHow many multiples of the initial risk a trade must reach before the first opposite brick closes it. Lower values bank profits sooner; higher values let winners run but more trades fall back to the stop.Entry fromThe earliest time a signal brick may form. Moving it later skips the opening minutes.Last entryThe latest time a signal brick may form. Later entries have little time to reach the profit trigger before square-off.Square offWhen any open trade is closed. It keeps the strategy intraday, well before the 15:40 close.

Risks

  • Small bricks generate a very large number of trades, so brokerage and spread can turn a near-breakeven result into a large loss.
  • One fast minute can print several bricks at once, and the stop fills at the next tick, which can be well beyond the brick level.
  • Bricks carry over from the previous session, so an overnight gap can make the first signal of the day arrive late or at a poor price.
  • Futures carry full point-for-point exposure and need margin for every trade.

Who it suits

Traders who want a rule-based intraday futures method and can automate it, since it may trade several times a day. It needs futures margin and tolerance for a low win rate with long runs of small stop-outs.

5

Questions traders ask

What is a Renko EMA strategy?

It applies moving averages to a Renko chart, where each brick is a fixed price move rather than a time period. Here three EMAs run on 12.5-point NIFTY futures bricks, and a trade is taken when a brick first closes beyond all three, with a stop two bricks back and an exit on the first reversal brick after a set profit.

Is the Renko EMA stack strategy profitable on NIFTY?

Not in this backtest. From 1 Oct 2025 to 30 Sep 2026 on default settings it lost ₹58,313 before costs and ₹3,10,577 after ₹20 per order and bid-ask slippage, over 1,375 trades. Statutory charges would add to that. Past results do not guarantee future ones, and brick size changes the outcome a lot.

Why does the backtest fill at the next tick instead of the brick price?

A brick is only known once the minute closes, and the price may already be beyond it. Filling at the brick's own price assumes a fill that was never available, which makes Renko tests look better than they are. This version fills every entry and exit at the first real tick after the signal.

What brick size should be used for NIFTY Renko?

This run uses 12.5 points, which produced around 1,375 trades in a year. Larger bricks cut trades and costs but react later; the percentage mode sizes bricks from the previous close so they scale with the index. Testing a few sizes on the page shows how sensitive the result is.

6

Before you rely on it

WHERE THE RULES WERE UNCLEAR · OUR CHOICESBox 12.5 points as in the source (spec default); sessions are not given, so entries 09:20-15:15 and a 15:20 square-off (spec interpretation). EMA 5 / 21 / 44 is the main source; the 9 / 21 variant is EMA_FAST 9 and EMA_SLOW 21 (EMA_MID then equal to it). "Fresh" entry = the first brick that clears the whole stack. Bricks continue across sessions inside one futures contract and restart on each new contract, so the roll jump never prints bricks. bricks are known only at the 1-minute close; every action is filled at the next tick, never at a brick price. Known pitfalls (sources): Renko tests that fill at brick prices overstate results; one minute can hide its path. Busy: 12.5-point bricks gave ~11 trades a day in volatile March 2026 (~4 in July 2026), so a volatile year can approach the server's 2,500-trade limit - raise BOX_POINTS or use BOX_MODE "pct" then. Gross of costs.
Also known asrenko EMArenko 9 21Renko (12.5-pt bricks) with EMA9/EMA21 on brick closes: fresh entries beyond both EMAs, pullback re-entries, stop at previous brick, exit on 1.5R then opposite brick
Backtests run on historical NSE data with fills at the last traded price. "Before costs" excludes brokerage, taxes and slippage. Quantsapp is not recommending any strategy; it is just a backtesting utility. Past results are not a promise of future returns.

Log in or sign up

Enter your mobile number. New to Quantsapp? The same OTP creates your free account.

+91

By continuing you agree to the Terms of Use and Privacy Policy.