// recipe
A breakout on volume
A breakout on volume buys when the price breaks its 20-bar high on volume well above the usual for that hour, and sells below the 10-bar low. This recipe builds one for Bitcoin without code and tests it. On BTC since 2020 asking for twice the usual volume removed more than half of the trades and cut the drawdown, at the cost of some return, and neither version came near holding.
4 min read
The rule
Many breakouts fail straight away. The bet: a break that comes with heavy trading has more behind it and is more likely to run.
- Enter when the close breaks above the high of the previous 20 bars and the volume is more than twice the usual, with half of the free capital.
- The usual volume is the average of candles at the same hour of the day, over the last 240 bars — 40 days on 4-hour candles. Crypto trades more at some hours than at others, and this keeps a busy hour from looking special.
- Exit when the close falls below the low of the previous 10 bars, or at a −6% loss.
Idea
Breakout on volume
Trades BTCUSDT on Binance spot, on 4-hour candles.
Buys when the price crosses above the highest high of the previous 20 bars and volume is over 2 times its usual level for that hour, using 50% of the free capital.
Closes the trade at a loss of −6%. It also closes when the price crosses below the lowest low of the previous 10 bars.
Every entry and every exit pays 0.1% in fees plus 0.01% slippage.
BTCUSDT 4h, 2020-01-01 → 2026-11-01 · a dry run on past candles
- Return
- +107.35%
- Max drawdown
- 17.45%
- Trades
- 83
- Buy & Hold
- +976.84%
The wizard opens with these answers. Change any of them, then try it on candles in the editor’s Dry-run panel.
Three steps
- Open it. Press Open in the wizard on the card and check the answers: coin, direction and market, candles, how much more volume than usual, how much risk.
- Try it. Press Fine-tune in the editor, then Test on history. Nothing is saved. Open the line under that button and tick Compare against random entries to see whether the breakout beats a coin flip with the same exits.
- Keep it. Save the strategy and press Run backtest on its page for the full report.
What it did on Bitcoin
Dry runs on BTC from 2020-01-01 to 2026-11-01, on 4-hour candles unless the row says otherwise. Holding BTC over the same period made about +980%.
| Setting | Trades | Return | Max drawdown |
|---|---|---|---|
| No volume condition | 205 | about +151% | about 30% |
| 1.5 times the usual | 128 | about +144% | about 24% |
| 2 times | 83 | about +107% | about 17% |
| 3 times | 32 | about +27% | about 18% |
| 2 times, daily candles | 9 | about +12% | about 10% |
| 2 times, with the trend filter | 53 | about +68% | about 13% |
| 2 times, the short mirror on futures | 100 | about +11% | about 17% |
- No volume condition
- Trades205
- Returnabout +151%
- Max drawdownabout 30%
- 1.5 times the usual
- Trades128
- Returnabout +144%
- Max drawdownabout 24%
- 2 times
- Trades83
- Returnabout +107%
- Max drawdownabout 17%
- 3 times
- Trades32
- Returnabout +27%
- Max drawdownabout 18%
- 2 times, daily candles
- Trades9
- Returnabout +12%
- Max drawdownabout 10%
- 2 times, with the trend filter
- Trades53
- Returnabout +68%
- Max drawdownabout 13%
- 2 times, the short mirror on futures
- Trades100
- Returnabout +11%
- Max drawdownabout 17%
Volume did not add money: the plain breakout made the most. It did change the shape. At 2 times the share of winning trades rose from about 37% to about 45% and the drawdown fell from about 30% to about 17%. An average win was about twice an average loss, an average trade made about +1.9% after costs and lasted about six days. Three times left too few trades to judge, and nine trades on daily candles say nothing. Holding is not quite the same bet: the strategy uses half of the free capital and spends part of the time out of the market. One coin and one period, so run it on others.
What to try next
- A filter. In the wizard, with the bigger trend cut the drawdown from about 17% to about 13% and the return from about +107% to about +68%. The trend-filter recipe explains it.
- A trailing stop. In the editor, open Quick add in the exit section and pick Trailing stop by ATR, and see whether it keeps more of a large move than the 10-bar low does.
- Quiet before the break. The squeeze recipe asks for a calm market before the breakout rather than heavy volume during it.
- More rules around the break. The Donchian study tests breakouts with trend filters, ATR stops, shorts and leverage.
Frequently asked questions
Does volume confirm a breakout?
It made breakouts more selective rather than more profitable. On BTC in 2020–2026, at 1.5 and 2 times the usual volume, the share of winning trades went up and the drawdown went down, and the plain breakout still made the most money.
How much more volume should I ask for?
There is no best number in general. Here 1.5 times kept most of the return and 2 times most of the drawdown cut; 3 times left 32 trades in almost seven years, too few to judge.
Why compare with the same hour of the day?
Crypto volume has a daily rhythm, so a plain average would call every busy hour unusual. In the editor this condition is the RVOLUME indicator, and its period is yours to change.
Test your own idea
Create a free account, start from a template or from your own rules, and read your first report.
More guides
- What is backtesting?How a backtest works, which numbers matter and the traps that make results look too good.
- TradingView backtesting vs JanoriumWhat each tool does well, where it falls short, and which one to pick for crypto strategies.
- Build a strategy with ChatGPT or ClaudeDescribe a trading idea in plain words and let an AI assistant write the strategy config.
- How to backtest a crypto strategyStep by step: rules, costs, the run, the report — with a real BTC backtest as the example.
- Backtest metrics explainedSharpe, drawdown, profit factor, win rate and the rest — what they mean and what counts as good.
- Strategy builder glossaryEvery term of the strategy editor — layers, conditions, bar windows, exits, DCA — explained with an example.
- How Janorium backtestsThe methodology: data, when orders fill, stops, fees, funding, liquidation, metrics — and what is not modeled.
- An RSI strategy in 5 minutesThe classic RSI oversold rule, built in the wizard and backtested step by step.
- Add a trend filter to a strategyOne more condition that keeps a strategy out of the wrong market: a 200-period average, added in four steps.
- Why a backtest has 0 tradesThe usual reasons a strategy never enters, where to see them and how to fix each.
- A Bollinger Bands strategyThe Bollinger bounce built in the wizard, tested on Bitcoin — and why it lost at every setting.
- A MACD strategyThe MACD crossover built in the wizard, tested on Bitcoin — and why the candles matter more than the settings.
- A volatility squeeze strategyA squeeze breakout built in the wizard and tested on Bitcoin: small drawdowns, modest returns.
- Buy after red daysA red-streak rule built in the wizard and tested on Bitcoin: it barely moves, and one setting decides the sign.