Consecutive Candles
Enter after N same-direction candles in a row — a micro-pattern strategy.
What it is
Consecutive Candles is a pure price-action strategy that enters after a streak of N same-direction candles. The hypothesis: a sustained streak indicates committed buying or selling pressure that often continues for at least one more bar.
It is one of the simplest strategies in the engine — no indicators, no smoothing, just candle direction. Despite its simplicity, it can surface short-term momentum that more elaborate strategies miss, especially on alts and crypto.
How signals fire
Long entry triggers after N consecutive bullish candles (close ≥ open). The entry is on the bar after the streak completes.
Short entry triggers after N consecutive bearish candles (close < open).
Exit modes are configurable: - *Fixed N bars* — hold for a fixed number of bars (default 1). - *Min N bars + reverse candle* — exit on the first opposite-direction bar after a minimum hold. - *Min N bars + 2 reverse candles* — wait for two reversals to confirm exhaustion. - *Min N bars + EMA cross* — exit when price crosses an EMA (default 8).
Defaults: 3 consecutive candles required, hold 1 bar, fixed exit.
When it works
Trending markets with steady directional momentum — long streaks tend to keep extending. Short timeframes (1-hour and 4-hour) on volatile alts often produce 3-4 candle streaks that reliably continue for one more bar.
The 'k_then_2opp' exit mode tends to outperform on assets like AVAX and OP — it lets winners run while exiting only on confirmed exhaustion.
When it fails
Choppy, mean-reverting markets where streaks rarely exceed 2 candles before reversing.
Higher timeframes (daily and above) where 3-4 candle streaks are statistically extreme — entering after them often catches the top.
Periods of structural shift (regime changes, post-news consolidation) where the past few candles don't predict the next one.
Built-in presets
- Baseline
3 consecutive same-direction candles, hold 1 bar then exit.
- Strong streak
Require 4 consecutive bars + exit only after two opposite-direction bars in a row.
- Quick reverse
Just 2 candles in a row + exit on first opposite candle. Most reactive.
Recommended indicator filters
- ADX ≥ 20 — avoid choppy ranges where streaks reverse quickly.
- Body filter ≥ 0.5 — require the entry candle to be a real-body bar, not a doji.
- Volume × 1.0 SMA — confirm streak with above-average participation.
Common pitfalls
- Setting N too low (e.g. 1 or 2) — almost every bar triggers, and noise dominates.
- Using fixed-bar exit with N too low — exits too early in strong moves.
- Not pairing with a trend filter — fires constantly in sideways markets.
- Treating long streaks as 'guaranteed continuation' — they are statistical edges, not certainties.
Related indicators
Related strategies
Related reading
Five backtest mistakes that wipe out real money
Read →Pattern-based strategies like this one are particularly prone to overfitting — read the mistakes section before tuning N too aggressively.
What is backtesting? A practical guide for new algo traders
Read →A clean entry-level read if Consecutive Candles is your first backtest experiment.
Try Consecutive Candles in the backtester
Open the engine, pick Consecutive Candles, choose a preset, and run it against synthetic or your own historical data. Tune parameters, add filters, and see how it behaves out-of-sample with walk-forward and Monte Carlo analysis.
Open the backtester →Educational note: This page explains how Consecutive Candles fires and the market conditions it suits. It does not constitute investment advice. Backtested results are hypothetical simulations on past data; they cannot guarantee future outcomes. See the full disclaimer.
Last updated: 2026-05-08