At a glance
- Structure
- A sharp move (the pole), then a shallow pullback
- Why it works
- Profit taking is absorbed without the trend reversing
- Key requirement
- The pullback must be shallow and on lower volume
- Target convention
- The pole height projected from the breakout
Key takeaways
- The pole matters as much as the flag: without a sharp preceding move there is nothing to continue.
- Depth is the key filter. A pullback retracing more than about half the pole is no longer a flag, it is a reversal in progress.
- Declining volume during the pullback supports the structure, because it indicates the selling is profit taking rather than new supply.
- Flags resolve quickly. A pause that extends beyond a couple of weeks on a daily chart is a consolidation with different dynamics.
- The measured move target, the pole height projected from the breakout, is a convention that works often enough to be useful as a partial exit.
The structure and the mechanism
A flag has two parts. The pole is a sharp directional move, often triggered by news or a breakout. The flag is a shallow counter-move that drifts against the trend on declining volume, before the original direction resumes.
The mechanism is straightforward. A sharp advance creates unrealised profits. Some holders take them, which produces selling. If that selling is absorbed without price giving back much ground, it demonstrates that demand remains strong, and the participants who missed the initial move provide the next wave of buying.
| Element | What to require | Why |
|---|---|---|
| Pole | A move of at least 3 to 5 ATR over 3 to 10 bars | Establishes that something changed |
| Flag depth | Retracement of less than 38 to 50 percent of the pole | Deeper pullbacks indicate genuine supply |
| Flag duration | 3 to 15 bars on the trading timeframe | Longer pauses are consolidations, not flags |
| Flag volume | Declining relative to the pole | Indicates profit taking rather than distribution |
| Flag slope | Against the trend or sideways | A pullback with the trend is just a pause |
| Breakout volume | Expanding | Confirms renewed participation |
Flags, pennants, and what separates them
- Flag: the pullback forms a small parallel channel sloping against the trend. The most common version.
- Pennant: the pullback forms a small converging triangle. Functionally identical; the convergence indicates faster compression.
- Bull flag: an upward pole with a downward-sloping pullback. The classic continuation setup in trending stocks.
- Bear flag: a downward pole with an upward-sloping pullback. Works in downtrends, with the caveat that short trades face the equity market’s upward drift.
- High tight flag: an unusually sharp pole, sometimes 90 percent or more, with a very shallow pause. Rare, and historically associated with strong continuation, but with a very small sample.
Complete trading rules
- Universe
- Liquid instruments with a clear catalyst or trend. Flags in illiquid names produce unreliable pullback structure.
- Pole requirement
- A move of at least 4 x ATR(14) within 10 bars, with above-average volume.
- Flag requirement
- A pullback retracing 20 to 50 percent of the pole, lasting 3 to 15 bars, with volume below the pole average.
- Entry
- A close above the flag high (for a bull flag), or a buy stop just above it.
- Stop
- Below the flag low. If that is more than 1.5 x ATR away, the flag is too deep and the setup should be skipped.
- First target
- The pole height projected from the breakout point. Take half.
- Trailing exit
- Trail the remainder below a 3 to 5 bar low, or with an ATR stop.
- Time stop
- If the flag exceeds its maximum duration without breaking out, cancel the setup. Extended pauses lose the continuation dynamic.
- Position size
- Risk 0.5 to 0.75 percent of equity based on the flag-low stop distance.
Why flags fail
| Failure mode | Cause | Prevention |
|---|---|---|
| Pullback too deep | Genuine supply, not profit taking | Enforce a maximum retracement |
| Flag lasts too long | The move has lost momentum | Enforce a maximum duration |
| No real pole | A normal advance mistaken for an impulse | Require a minimum ATR move |
| Breakout on no volume | No renewed participation | Require volume expansion where data is reliable |
| Catalyst was a one-off | The news is fully priced; no follow-through | Be cautious after single-event spikes |
| Market regime turned | The broad market reversed during the pause | Apply an index-level trend filter |
Frequently asked questions
How deep can a flag pullback be?
Conventionally no more than about half the pole, and preferably less than 40 percent. Deeper retracements suggest genuine selling rather than profit taking, and the continuation logic weakens accordingly. Enforcing a maximum depth in your definition is one of the more effective filters for this pattern.
How long should a flag last?
Typically 3 to 15 bars on the trading timeframe. A pause that extends much longer has become a consolidation, where the memory of the impulse fades and different dynamics apply. Setting a maximum duration prevents holding a stale setup indefinitely.
Do bear flags work as well as bull flags?
The mechanism is symmetric, but in equity markets the long-term upward drift works against short positions, so bear flags in stocks tend to perform worse than bull flags. In markets without that drift, such as currencies and many commodities, the asymmetry is smaller.
What is the target for a flag breakout?
The measured move projects the pole height from the breakout point. It is a convention that works often enough to serve as a partial-profit level. Trailing the remainder captures the cases where the continuation runs much further, which is where the strategy’s expectancy is concentrated.
Are flags reliable in crypto?
The structure appears frequently because sharp impulse moves are common, but volatility is much higher, so pullback depth must be measured in ATR terms rather than in fixed percentages. Breakouts also overshoot more, which argues for trailing exits rather than fixed targets.
Test this idea before you trade it
Describe the rules in plain language and AlgoTrader AI turns them into a structured strategy blueprint with a configurable historical backtest, cost assumptions, and exportable code.
Build a backtestKeep reading
- StrategiesBreakout Trading Strategy: Rules, Filters, and False Breakouts
- PatternsTriangle Patterns: Ascending, Descending, and Symmetrical
- PatternsChart Patterns Explained: What Works and How to Test It
- StrategiesSwing Trading Strategy: A Complete Guide for Working People
- StrategiesMomentum Trading Strategy: Buying Strength With Rules
- IndicatorsATR Indicator Guide: The Most Useful Number in Risk Management
Referenced by
Educational use only. This guide explains how a strategy works. It is not investment advice, not a recommendation, and no result described here is a forecast. Test any approach on historical and out-of-sample data, size positions conservatively, and never risk money you cannot afford to lose.