Definition and goal of a flag
A “flag” is a chart pattern idea used in technical analysis. In plain terms, it describes two consecutive visual phases on a price chart: (1) a relatively sharp move in one direction (often called the “flagpole”), followed by (2) a period where price consolidates in a comparatively tight range that slopes slightly against the prior move (often drawn as a small channel), then (3) price may break out in the direction of the initial move.
A key point for independent verification: the pattern name is based on how the chart looks. There is no single universal formula for identifying every flag. Different people may choose different start/end points for the flagpole and the consolidation area, which changes the measured “size” used in any calculation.
How the mechanics work (inputs, measurements, and what you can compute)
A worked example should separate stable mechanics (what you measure) from variable conditions (what happens next).
Stable mechanics you can define for any chart:
- Select a timeframe (example: 1-hour candles). Your identification and measurements depend on this choice.
- Mark the flagpole: choose a start point at the beginning of the sharp move and an end point near where the consolidation begins.
- Measure the flagpole height (H): the absolute price change from the flagpole start to end.
- Define the consolidation range: draw upper and lower boundaries around the sideways/slightly sloping area.
- Measure the consolidation duration and range: for example, count how many candles the consolidation lasts and measure the range width (R).
Scenario-only computation (not a promise): Many traders use “proportional” reasoning such as comparing a breakout target to the earlier move size (for example, using H as a reference). The calculation is just arithmetic once you pick your measurement points. The important limitation is that the choice of points is subjective.
Worked numerical scenario of a flag (all assumptions stated)
Below is one complete, hypothetical scenario. It uses made-up numbers only, with explicit assumptions so you can replicate the arithmetic.
Assumptions (for this example only):
- We use a 1-hour timeframe.
- Price is measured in the same units as the chart (e.g., “index points” for a hypothetical instrument). No real market is assumed.
- The flag is visually identified using two boundaries drawn around the consolidation.
- We do not assume any specific broker spreads, fees, slippage, or execution rules.
Scenario:
-
Flagpole (sharp move):
- Flagpole start price = 100.0
- Flagpole end price (where consolidation begins) = 112.0
- Therefore H = 112.0 − 100.0 = 12.0
-
Consolidation (“flag” area):
- Lower boundary during consolidation = 110.0
- Upper boundary during consolidation = 111.0
- Therefore R = 111.0 − 110.0 = 1.0
- Consolidation lasts from hour 10 to hour 16 (7 candles, by counting hour bars).
-
Breakout event (hypothetical):
- At hour 17, price breaks above the upper boundary (above 111.0) and continues upward.
-
Proportional “size” arithmetic you can compute:
- One common way to express proportionality is to use the prior impulse size H as a reference.
- If you choose to compute a reference level by adding H to the consolidation upper boundary:
- Reference level = 111.0 + 12.0 = 123.0
What you can verify independently:
- The arithmetic is fully determined by the assumptions (100.0, 112.0, 110.0, 111.0, and the chosen reference method).
- If you re-identify the flagpole endpoints differently, H changes; if you redraw the consolidation boundaries differently, the breakout trigger level and any derived reference level change.
Limitations and risks (material failure modes)
Even when the arithmetic is correct, the pattern concept can fail. Common limitations include:
-
Measurement subjectivity:
- The flagpole start/end points and consolidation boundaries can be chosen differently. Because H and the reference levels depend on those points, two analysts can produce different computed levels from the same chart.
-
Timeframe dependence:
- A shape that looks like a flag on one timeframe might be part of a larger range on another. Changing timeframe can change whether the “flagpole then consolidation” structure is visible.
-
Breakout does not guarantee follow-through:
- A breakout above the consolidation boundary can fail and revert back into the range.