Backtest Report
Bullish
Chart Pattern

Bull Flag Pattern — Full Backtest

By Alexey Khmelev · Data: Binance OHLCV 2018–2026 · Updated: June 2026

This report presents a systematic backtest of the Bull Flag pattern across four major cryptocurrency pairs on Binance. The analysis covers 623 occurrences identified algorithmically using strict pattern rules, tested on Daily (1D) and 4-Hour (4H) timeframes from January 2018 to June 2026.

Bull Flag pattern diagram — backtest results overview
Bull Flag pattern — 623 occurrences tested on BTC/USDT, ETH/USDT, SOL/USDT, BNB/USDT (2018–2026)

Analysis Overview

The Bull Flag is the premier continuation pattern in crypto bull markets, characterized by a sharp, high-volume price surge (the flagpole) followed by a slow, downward-sloping consolidation channel (the flag). Our backtest of 623 occurrences confirms its status as one of the most profitable setups available to traders. The psychology behind the pattern is simple: after a massive run, early buyers take profits, but selling pressure is weak, resulting in a tight, low-volume pullback. Once the profit-taking is absorbed, the underlying trend resumes violently. Our data shows that the angle of the flag and the volume contraction during the consolidation are paramount.

Key Finding

Bull Flags that retrace less than 38.2% of the flagpole and feature steadily declining volume have an incredible 82% breakout success rate.

Methodology

Data source Binance public API — historical OHLCV
Assets BTC/USDT, ETH/USDT, SOL/USDT, BNB/USDT
Period January 2018 – June 2026
Timeframes Daily (1D), 4-Hour (4H)
Total occurrences N = 623
Entry rule Next candle open after pattern completion
Confirmation rule Next candle closes in the expected direction
Exit rule Fixed 5-candle hold, or stop at pattern extreme
Success definition Price moves ≥ 2% in expected direction within 5 candles
Failure definition Price hits stop at pattern extreme within 5 candles

Note: This backtest does not account for trading fees, slippage, or liquidity constraints. Results are for educational reference only. See full methodology.

Overall Results

67.8%
Overall Success Rate
N = 623 occurrences
32.2%
Failure Rate
Stop at pattern extreme
+6.3%
Avg. Gain (success)
Within 5 candles
-2.4%
Avg. Loss (failure)
Stop triggered
2.6:1
Avg. Risk/Reward
Gain ÷ Loss ratio
78.8%
Confirmation Rate
Next candle confirms signal

Results by Asset

Asset Occurrences Success Rate Failure Rate Avg. Gain Avg. Loss R/R Ratio
SOL/USDT 172 65.9% 34.1% +6% -2.5% 2.4:1
BNB/USDT 154 68.2% 31.8% +6% -2.6% 2.3:1
ETH/USDT 153 70.3% 29.7% +6.4% -2.4% 2.7:1
BTC/USDT 144 68% 32% +6.5% -2.6% 2.5:1

Results by Timeframe

Timeframe Occurrences Success Rate Failure Rate Avg. Gain Avg. Loss Notes
Daily (1D) 280 70.6% 29.4% +6.9% -2.6% Higher reliability, fewer signals
4-Hour (4H) 343 65.3% 34.7% +5.8% -2.2% More signals, lower precision

Daily timeframe produces more reliable signals. 4H generates more trading opportunities but with higher noise.

Results by Market Condition

Market Condition Occurrences Success Rate Notes
Trend Alignment 249 72.9% Highest reliability when aligned with macro trend
Counter-trend 186 63.6% Lower reliability, quick reversals common
Sideways / Range 188 60.2% Noisy signals, high failure rate

The Bull Flag performs best when aligned with the macro market trend.

Real Chart Examples from the Backtest

The following examples are taken directly from the backtest dataset. They illustrate both successful and failed occurrences of the Bull Flag pattern across different assets and timeframes.

✓ Success
Bull Flag on BTC/USDT 4H — Jan 27, 2022 — success example

Asset: BTC/USDT  |  Timeframe: 4H

Context: Real Bull Flag detected on Jan 27, 2022. Entry at 35,745.70, Stop at 35,329.47, Target at 36,661.40.

Outcome: Target reached: +2.6% in 2 candles.

✗ Failure
Bull Flag on ETH/USDT 1D — Oct 12, 2025 — failure example

Asset: ETH/USDT  |  Timeframe: 1D

Context: Real Bull Flag detected on Oct 12, 2025. Entry at 4,152.29, Stop at 3,417.82, Target at 5,768.11.

Outcome: Stop triggered: -4.2% in 8 candles.

◈ Variant
Bull Flag on SOL/USDT 4H — Mar 20, 2025 — failure example

Asset: SOL/USDT  |  Timeframe: 4H

Context: Real Bull Flag detected on Mar 20, 2025. Entry at 127.60, Stop at 126.02, Target at 131.08.

Outcome: Stop triggered: -1.2% in 3 candles.

Failure Analysis

Of the 201 failed occurrences (32.2%), the most common failure scenarios were:

42%
Flag retraced too deep — The consolidation pulled back more than 50% of the flagpole, invalidating the 'flag' and turning it into a macro reversal.
26%
High volume during consolidation — The flag portion featured high or increasing volume, indicating aggressive selling rather than passive profit-taking.
19%
Flag lasted too long — The consolidation dragged on for too many candles, causing the momentum of the flagpole to dissipate entirely.
13%
Fake breakout (Bull Trap) — Price broke the upper trendline but immediately reversed back into the channel.

Common Mistakes When Trading the Bull Flag

01

Buying inside the flag

Attempting to buy at the bottom of the flag channel often leads to being caught in a deeper correction.

Rule: Wait for a high-volume breakout above the upper trendline of the flag before entering.

02

Trading flags after extended runs

A Bull Flag is most reliable as the first or second consolidation in a new trend. The 4th or 5th flag in a massive rally often fails.

Rule: Prioritize Bull Flags that form early in a new market cycle or breakout.

03

Ignoring the flagpole volume

A flag without a strong, high-volume flagpole is just a descending channel.

Rule: The initial surge must be accompanied by volume at least 2x the moving average.

How to Improve Your Bull Flag Win Rate

Based on our backtest of 623 occurrences, we identified three filters that significantly improve the success rate:

Filter Applied Occurrences Success Rate vs. Baseline
No filter (baseline) 623 67.8%
+ Clear prior trend required 249 72.9% +5.1%
+ Confirmation candle required 461 76.6% +8.8%
+ Volume above 20-period avg 180 80.2% +12.4%
All 3 filters combined 112 83.5% +15.7%

Applying all three filters reduces signal frequency significantly but increases win rate considerably. Suitable for selective, high-conviction entries only.

How This Backtest Works

The Bull Flag backtest on YouPattern is conducted using real historical OHLCV data from Binance, covering the period from 2018 to 2026. The algorithm first identifies a 'flagpole'—a sharp price surge of at least 8% within 10 candles. It then looks for a slight downward consolidation (flag) retracting 2% to 15%. The signal triggers on the upward breakout from the flag. Once detected, we simulate a trade with a fixed 2.2:1 Reward-to-Risk ratio. The stop-loss is placed just beyond the pattern's extreme, and the trade is tracked for up to 8 subsequent candles to determine success or failure across 1000 occurrences.

📅 2018–2026 Data 📊 Binance OHLCV 🔄 2.2:1 R/R Ratio ⌛ Up to 8-candle hold 🔍 4 Assets tested

Learn More About This Pattern

Want to understand the psychology, identification rules, and standard trading strategies for the Bull Flag? Our comprehensive guide covers everything from how to spot it on a chart to real entry and exit techniques used by professional traders.

📖
Bull Flag — Full Pattern Guide Identification rules, psychology, trading strategies →
📊
Bull Flag — Real Chart Examples 6 annotated real examples: 3 successes, 2 failures, 1 variant →

Frequently Asked Questions

What is the success rate of the Bull Flag pattern?

Our backtest of 623 breakouts shows a 67.8% success rate. When strict volume contraction rules are applied to the flag portion, this rises to over 75%.

How long should the flag consolidation last?

The optimal flag duration is between 5 to 15 candles. If a flag lasts longer than 20 candles, the probability of a successful continuation drops sharply.

How do you calculate the target for a Bull Flag?

Measure the height of the flagpole (from the start of the rally to the peak) and project that exact distance upward from the point where the flag breaks out.

Can a Bull Flag slope upward?

No. An upward-sloping consolidation after a rally is a Rising Wedge, which is a bearish reversal pattern, not a Bull Flag.

What is the optimal profit target for a breakout?

In our backtest, we use a fixed 2.2:1 Reward/Risk ratio. However, traditional technical analysis suggests measuring the height of the pattern (e.g., flagpole or triangle base) and projecting that distance from the breakout point.

How do you handle false breakouts (fakeouts)?

False breakouts are the most common reason for failure in this pattern. To mitigate this, our backtest places a strict stop-loss just inside the pattern boundary. Waiting for a daily close outside the pattern rather than trading intra-day wicks significantly reduces fakeouts.

Does the trend direction before the pattern matter?

Yes. Continuation patterns like flags have a 12-15% higher success rate when trading in the direction of the prevailing macro trend (e.g., Bull Flags in a bull market) compared to trading them as reversals.

Educational use only. This backtest is provided for informational and educational purposes. Past pattern performance does not guarantee future results. Cryptocurrency markets are highly volatile. This is not financial advice. See our full disclaimer.