Skip to main content

Back to MarketDeck Research

Research Desk · Starter idea · Intermediate

Donchian breakout strategy in India: 20-day highs on the Nifty 200

What happened to Nifty 200 stocks after a close above the highest high of the previous 20 sessions, until a close below the lowest low of the previous 10?

What is the Donchian breakout strategy?

A Donchian breakout strategy enters a stock when its close rises above the highest high of the previous 20 sessions, and exits when it closes below the lowest low of the previous 10. It is one of the oldest trend-following rules.

How does the rule work on the Research Desk?

On the Desk the rule watches each stock on today's Nifty 200 list, checks the channels weekly, enters on a close above the 20-session high and exits on a close below the 10-session low. Position sizing from the original trading rules is not included.

Why do people test the Donchian breakout strategy in India?

A new high can be a sign that a move is starting, and the wider exit channel tries to let a move run before stepping aside. People test it to see how often breakouts followed through, and how much was given back on the way out.

What can go wrong with this backtest?

Many breakouts fail and reverse, and each failure costs a round trip in fees and slippage. The loose exit can hand back a large part of a move before it triggers, and trends that are short-lived may never reach it.

What does the luck check add here?

The luck check compares this idea with random portfolios, by default 1,000 of them, built under the same conditions, and shows where the idea sits among them as a percentile. The random portfolios keep the idea's trading calendar, with the same number of entries on the same days held for the same number of sessions, but each trade picks a random Nifty 200 stock. That separates the value of the breakout signal from the timing of market-wide moves.

Read how the luck check works on the Research Desk overview.

Where do the default settings come from?

The defaults come from the source named in the Desk's starter catalogue, shown here word for word:

Catalogue title
20-day channel breakout, Nifty 200 stocks
Family
time-series momentum and trend (channel breakout)
Stocks
Nifty 200 (current list)
Where the settings come from
Donchian channel: 20-session breakout entry with a 10-session exit channel (the system-1 convention described for the Turtle rules); position sizing from those rules is not included.
Data it uses
daily prices (company); Nifty 200 current constituent list
What the catalogue says could go wrong
Breakouts often fail and reverse, and each failure costs a round trip; the exit is a loose stop and can give back much of a move.

How do you backtest the Donchian breakout strategy on the Nifty 200?

Sign in to the Research Desk with a free MarketDeck account, pick this idea from the starter ideas and run it on its default settings with paper money; each run uses some of your daily run units. Or, once you have connected Claude, ask:

Run the "20-day channel breakout, Nifty 200 stocks" starter idea on its default settings and show me the luck check first.

These three ideas test a similar question or make a useful comparison:

See all starter ideas

Which Learn guides explain the ideas behind this?

These free MarketDeck Learn guides cover the statistics behind backtests and the luck check:

Historical simulation · paper money · not investment advice