On this page
It trades the resumption, so the pole must be sharp and the flag must stay shallow
A flag forms after a sharp, fast move, the pole, followed by a brief, shallow, roughly parallel pullback, the flag. Flag continuation does not chase the pole. It waits for the flag to form and break back in the original direction. The premise: a short, shallow pause after a strong move is more often a continuation than a reversal. Here is an illustrative case: price runs from 100 to 110, so the pole is 10. It then drifts down for six bars to a low of 106.80, which gives back 3.20, or 32% of the pole. That is a flag. A pullback to 104 is 60% of the pole, and that is not.
01Confirm a genuine pole came first
The move into the flag has to stand out from normal price action. A workable rule: the pole covers at least three times the average true range (ATR) in ten bars or fewer. A slow, grinding move does not set up the continuation a flag depends on.
02Cap the flag's depth and length
A valid flag gives back a small part of the pole, commonly less than half, over a few bars, in a tight channel against the trend. One that runs deeper or drags on stops looking like a pause and starts looking like a reversal. Fix the cap in advance, for example half the pole.
03Enter on a close beyond the flag's channel
The trigger is a candle that closes beyond the flag's counter-trend channel, in the direction of the pole. Buying while price is still inside the flag is a guess. The pattern is only confirmed once the break has happened.
04Put the stop inside the flag and project the target from the break
The stop sits just beyond the flag's far edge, the flag low for a long, the flag high for a short. That is a much tighter reference than the base of the pole. The usual target is the pole's length projected from the breakout price. Check it against your stop before you enter. If the projected reward is not comfortably above the risk, skip the trade.
Variants
01Close entry
Enter on the close of the bar that breaks the channel. It is the earliest entry, so most of the move is still ahead. The stop sits just under the flag low, so risk is the distance from the breakout close down to it.
02Retest entry
After the close beyond the channel, wait for price to pull back to the broken line and hold it, then enter the bounce, with the stop under the retest low. The fill is better. The catch: strong flags often break and run without ever coming back.
03Volume-confirmed entry
Take the break only if its volume is a fixed multiple of the recent average, for example 1.5x the 20-bar average. Volume often dries up inside the flag and returns on the break. Treat the multiple as a parameter to test, not a rule of nature. You trade fewer flags, and the ones you skip include some that worked.
Worked examples
Bull flag: a shallow six-bar pullback, a close above the channel, a pole-length target

The pole runs from 100 to 110. The flag drifts down to a low of 106.80 over six bars, a 32% retrace, inside a half-pole cap. A bar closes at 108.80, above the channel. Entry is 108.80. The stop goes at 106.60, under the flag low, so risk is 2.20 per share. The target is one pole length, 10, above the breakout, at 118.80. That is about 4.5R if it gets there. Round illustrative numbers. A close under 106.60 instead would be a 1R loss.
A pullback deeper than half the pole is not a flag, so skip it

Same 10-point pole, 100 to 110. This time price pulls back for 14 bars to 104, giving back 6, which is 60% of the pole. That is past the half-pole cap, and long enough that it no longer reads as a pause. No entry. The rule does not say the move will not resume. Some deep pullbacks do. It says this is a different setup. A backtest shows how it behaves.
Bear flag: the same rules, mirrored

The pole falls from 80 to 70. The flag rises to a high of 73.20 over six bars, a 32% retrace. A bar closes at 71.60, below the lower channel line. Short at 71.60. The stop goes at 73.40, above the flag high, so risk is 1.80. The target is 10 below the breakout, at 61.60, about 5.6R. Illustrative numbers only.
Flag vs pennant vs pullback
Flag vs pennant vs trend pullback vs a pullback that is too deep
| Setup | Shape | Needs a sharp pole | Depth and length | How to treat it |
|---|---|---|---|---|
| Flag | A tight, roughly parallel channel against the pole | Yes | Under half the pole, over a short run of bars | Trade it with the rules on this page |
| Pennant | A small triangle with converging lines | Yes | Short and shallow | A close cousin, covered on the pennant pattern page |
| Trend pullback | A pullback to a level inside an established trend | No | Any depth inside the trend | Use the trend pullback strategy |
| Too-deep pullback | Any shape | Maybe | More than half the pole, or many bars | Not a flag. It may be a reversal, so skip it |
The flag's edge sets the stop, and the stop sets the position size
The stop sits just beyond the flag, so it is usually much tighter than the pole. That is part of the setup's appeal. The distance still changes on every flag, so size from it each trade: position size = risk amount ÷ (entry − stop). On a $10,000 account risking 1% ($100), the bull flag entry at $108.80 with a stop at $106.60 is $2.20 of risk per share, so $100 ÷ $2.20 is about 45 shares (45.45, rounded down). The bear flag short at $71.60 with a stop at $73.40 risks $1.80, which gives 55 shares (55.56, rounded down). A wider or messier flag calls for a smaller position at the same dollar risk.
Where this setup usually goes wrong
01Calling a deep or lengthy pullback a flag
Once a pullback gives back more than your cap, or drags on past a pause, it no longer fits the definition. Trading it as a flag anyway is trading a different setup under the same label.
02Entering before the channel breaks
Buying while price is still inside the flag gives up the confirmation the rule requires. The flag may be about to fail.
03Ignoring how tired the move already looks
A pole that has already run a long way, or the third or fourth flag in the same trend, carries different odds than the first flag after a fresh move. Treating every flag as equally likely to continue ignores that.
04Taking a trade where the target does not pay for the stop
A pole-length target is only worth chasing if it is comfortably larger than the risk. A messy flag with a wide stop can turn a 4R setup into a 1R one. Check the numbers before you enter.
05Widening the stop when the flag starts to fail
If price breaks back through the flag against the trade, the pattern has invalidated itself. It is not a reason to move the stop out and wait.
Not every pause is a flag, and the raw pattern has not shown an edge
A flag is only confirmed after the break, and nothing tells you in advance which pause will continue and which will fail. The setup also needs a real pole. In a slow, choppy market there is nothing for a flag to attach to, and forcing the shape onto an ordinary pullback is trading a lookalike. Our own test of 1,208 pennants, a close cousin of the flag, found no edge on the raw pattern over random entries with the same stop and target. Treat these rules as a hypothesis, add the filter you believe in, and count whether it helps on your market.
Frequently asked questions
What's the difference between a flag and a normal pullback in a trend?
A flag follows a sharp, impulsive move, the pole, and stays brief and shallow in a tight, roughly parallel channel. A trend pullback applies to any established trend and does not need a sharp move before it. A flag is a more tightly defined pullback.
How deep can a flag retrace before it's no longer valid?
Less than about half the pole is a common cap, but it is a convention, not a law. The deeper or longer the retracement runs, the more it looks like a reversal than a pause. Fix a cap, test it, and keep it.
How do you set the target on a flag?
The usual method projects the pole's length from the breakout price: up for a bull flag, down for a bear flag. It is a reference level from the pattern's geometry, not a promise. Compare it with your stop before you enter, and skip the trade if the reward does not clearly beat the risk.
What's a bull flag versus a bear flag?
A bull flag follows a sharp rise and drifts down slightly. If it continues, it breaks back up. A bear flag follows a sharp fall and drifts up slightly, then breaks back down. The entry, stop and target logic mirror each other.
What's the difference between a flag and a pennant?
Both follow a sharp pole. A flag pulls back in a roughly parallel channel. A pennant pinches into a small triangle with converging lines. The entry and target logic are similar, and the shape decides where the breakout line sits.
Why did my flag trade fail even though the pattern looked textbook?
A textbook shape does not guarantee the move resumes. The flag is only confirmed after the break, and a break the other way simply means this pause was a reversal. That is what the stop inside the flag is there to handle.
