Strategy explained
20-day breakout strategy: the rule, the risks and a free backtest
By the PaisaTrade editorial team Reviewed on
A 20-day breakout strategy buys a stock when it closes above its highest price of the previous 20 trading days, on the idea that a move to new highs may continue.
The rule in plain words
- Buy when the closing price is above the highest high of the previous 20 trading days.
- Sell when the closing price falls below the lowest low of the previous 10 trading days.
- Stop-loss: exit if the trade falls 10% from the entry price.
- Position size: risk about 2% of capital on each trade, so a stopped-out trade costs a small, known amount.
Why traders use it
This is a classic trend-following idea, often linked to Donchian channels and the well-known "Turtle" traders of the 1980s. It makes no prediction. It simply joins a move after the price has already shown strength.
The exit is closer than the entry (10 days against 20), so the rule gives back less profit when a trend ends.
Where it goes wrong
- Most breakouts fail. It is normal for this kind of rule to lose on more than half of its trades.
- Profits come from a few large winners. If you skip trades after a losing streak, you may miss the ones that pay.
- False breakouts are common around results and news days.
- In a range-bound market it buys highs and sells lows again and again.
How to read your backtest
- Expect a low win rate. Look at whether the average win is clearly larger than the average loss.
- Look at the longest losing streak and ask whether you would have kept following the rule.
- See how much of the total profit came from the best one or two trades.
- Change the position-size risk from 2% to 1% and watch how the drawdown changes.
Try it yourself, free
Run this rule on any NSE stock PaisaTrade covers. No code, no account needed to test.
Backtest the 20-day breakoutStrategy Lab uses daily prices that end 30 days before today and includes a trading cost on every trade. Results are hypothetical and for learning only.
Common questions
What is a breakout in trading?
A breakout is when the price moves above a level it could not cross earlier, such as the highest price of the last 20 days. Breakout traders buy on the idea that the move may continue.
Why does this strategy lose so often?
Because many breakouts reverse quickly. Trend-following rules accept many small losses in exchange for a few large gains. The backtest shows whether that trade-off worked for a given stock and period.
What does risking 2% per trade mean?
The position is sized so that, if the stop-loss is hit, the loss is about 2% of your capital. With a 10% stop, that means putting roughly 20% of capital into the trade.
This guide is for education only and is not investment, legal or tax advice. PaisaTrade is not a stock broker and not a SEBI-registered investment adviser or research analyst. Past and hypothetical results do not predict future returns.