Concept
Donchian Trend Rules
Donchian Trend Rules are Trend concepts. The Library holds 3 implementations, each one a working definition you can pull into Quant.
Top Donchian Trend Rules indicators
3 total
What are Donchian Trend Rules?
Donchian Trend Rules are the mechanical trend-following rules built on channel breakouts: go long when price makes a new N-period high, and exit or reverse when it makes a new M-period low (mirrored for shorts). The levels come from Donchian Channels, which plot the highest high and lowest low of a lookback window. Richard Donchian, widely regarded as the father of trend following, traded the canonical form in the 1950s and 60s as the weekly rule: buy a breakout above the prior four weeks' high, sell below the prior four weeks' low, always in the market.
The design choice that distinguishes the later variants is asymmetric lookbacks. A longer entry channel (20 or 55 days in the Turtle variants taught by Richard Dennis and William Eckhardt) demands a meaningful new extreme before committing, while a shorter exit channel (10 or 20 days) surrenders less open profit when the trend ends. The rules do not predict; they participate. They accept frequent small whipsaw losses in ranging markets in exchange for holding through the occasional extended trend, so risk sizing and diversification carry as much weight as the signal itself.
How to apply Donchian Trend Rules
The rules are fully mechanical, which makes them unambiguous to backtest. A standard long-side pass looks like this (shorts mirror it):
- 1Pick an entry lookback N and plot the channel: the highest high and lowest low of the last N completed bars. Donchian's weekly rule used four weeks; the documented Turtle systems used 20-day and 55-day entries.
- 2Define the trigger. Decide in advance whether an intrabar touch of the upper band or a close beyond it constitutes the breakout, then enter long when it happens. Using the prior bar's channel avoids triggering on a level the current bar itself is creating.
- 3Exit on the opposite extreme of a shorter window M: for example, a 20-day entry paired with a 10-day-low exit. Some variants reverse into a short at the same point rather than going flat.
- 4Add the risk layer: an initial stop (the published Turtle rules placed it two ATR units from entry) and position sizing scaled to ATR, since raw channel breakouts fail often when the market is ranging.
How traders use it
- As a complete always-in or long-flat system: enter on the N-period breakout, exit on the shorter opposite-extreme break, and take every signal, since skipping one can mean missing the rare trend that would have offset a long run of small whipsaw losses.
- As a standalone trailing exit: the lower band of a short-lookback channel works as a trailing stop for longs regardless of how the trade was entered, one of the classic options in the trailing method taxonomy.
- As a trend filter: whether the most recent N-period breakout was up or down classifies market direction (a simple trend regime label) that can gate entries from other tools.
- As a scan: fresh 20-day or 55-day highs and lows across a watchlist surface the symbols where a Donchian-style entry is currently live.
Donchian Trend Rules vs similar concepts
Donchian Channels: The channel is the indicator; the trend rules are the trading logic on top. You can plot the channel purely as support and resistance, while the rules add which band triggers entry, which shorter band exits, and what happens between signals.
Supertrend: Both flip between bullish and bearish regimes, but Supertrend flips when price crosses an ATR-based band around a midpoint, while Donchian rules trigger only on a new N-period extreme. Donchian entries need a fresh high or low; Supertrend can flip inside the prior range.
Turtle Soup: The deliberate fade of these rules. Turtle Soup sells a failed 20-day breakout back into the range, betting the new extreme is a false breakout rather than the start of a trend. Same level, opposite thesis.
Related concepts · Trend-following systems
Concept family
Trend
100 concepts mapped · 88 in the Library
Donchian Trend Rules FAQ
What was Richard Donchian's original trend rule?
The four-week rule: buy when price exceeds the high of the previous four calendar weeks, and sell (or reverse short) when it drops below the four-week low, staying in the market at all times. Donchian published trend-following work from the 1950s onward, and this weekly rule is the form most sources cite as the origin of channel-breakout trading.
Are Donchian Trend Rules the same as the Turtle system?
The Turtle systems are one documented implementation of them. Richard Dennis and William Eckhardt's students traded a 20-day breakout entry with a 10-day opposite exit (System 1) and a 55-day entry with a 20-day exit (System 2), plus ATR-based sizing and a two-ATR initial stop. The Donchian concept is broader: any entry and exit pair built on channel extremes.
Do Donchian breakout rules still work?
Results vary by market, era, and parameters, and nothing is guaranteed. The known failure mode is the ranging market, where new extremes repeatedly revert and the rules bleed small losses. Practitioners who still run channel breakouts typically diversify across many markets, size positions by volatility, and accept low win rates, letting rare extended trends carry the expectancy. Test before trading.
Build Donchian Trend Rules your way.
Quant writes, tests, and refines it with you — then it runs on LuxAlgo charting or ports to TradingView.


