Strategies / S27
Breakout With 3R Target
A 20-bar high with a 2 ATR stop and a target three times the risk.
Results
| Market class | Return | Holding | Sharpe | Max DD | Win rate | Trades |
|---|---|---|---|---|---|---|
| Crypto, 4h | -26.0% | +518% | 0.07 | -77.4% | 27.1% | 5,030 |
| Stocks, 1d | +1,974% | +28K% | 0.99 | -28.3% | 36.3% | 1,235 |
| Forex, 1d | -0.6% | +3.1% | 0.01 | -20.8% | 24.5% | 404 |
| Commodities, 1d | +317% | +1,833% | 0.50 | -31.6% | 32.3% | 743 |
| Indices, 1d | +375% | +878% | 0.69 | -28.5% | 34.7% | 628 |
The exact rule
- Go long when close is above the 20-bar high.
- Stop: 2 ATR(14) from entry.
- Target: 3 times the risk.
- Declared timeframe: 4h.
Explain it with Ask AI (Premium, on a desktop)
Watch it trade
This runs the same engine in your browser on the latest candles, with your own costs. Press Replay to watch every entry and exit arrive bar by bar.
Download
Pine ScriptFor TradingView
Paper botRuns on the Bot API, no real money
Python backtestOne file, no dependencies
READMEThe rule in plain words
Want it to run by itself? Read the automate guide, and use paper money first.
Related strategies
Dip or BreakoutTakes whichever comes first: an RSI dip or a 20-day high.Donchian Breakout 20Buy a new 20-bar high, sell a new 10-bar low.Donchian 55 (Turtle)The Turtle system: a 55-day high in, a 20-day low out.
Research, not advice. Past results do not predict future ones. Results run to 2026-10-31.