Skip to main content
Track Flag and pennant
22 / 26
Library

2015issue C028-9

Lock lookback and chart scale before you mark a flag or pennant

Flag and pennant recognition is a construction problem. Name the chart-scale and the historical lookback first, then treat the resulting structure as a pattern-signal that can be marked, coded, or rejected.

  • Construction must name the chart-scale because the same flag-detection rules can be written for daily bars and for intraday bars.
  • Lookback is an explicit detector parameter. If it exceeds the bar-reference-limit, the study cannot evaluate.
  • One construction adjustment is to raise the allowed lookback so the study can reference 150 bars.
  • The same rules can live as a charting study, a strategy, or a spreadsheet built from price columns, keeping markup separate from a testable hypothesis.
Entries in this reading1 entry

Start with the window, not the sketch

A flag is a compact, usually sloping coil that follows a sharp directional move and can be stated as a rectangular OHLC structure rather than a freehand sketch. A pennant is a tapering coil after a sharp move, constructed from converging swing highs and lows instead of a parallel channel.

Editorial reading: recognition is a construction problem. Lock the chart-scale and the historical window first. Only then treat the resulting shape as a hypothesis that can be marked, coded, or rejected.

Name the chart-scale

Flag-detection rules can be written for daily bars and for intraday bars, so construction must name the chart-scale being used. Chart-scale is the bar interval on which the same structural rules are evaluated, from intraday bars through multi-week daily sequences.

Flags and pennants appear among common chart patterns reviewed in a currency-charting discussion, so the construction is not treated as equity-only in this material.

Set lookback against the bar-reference-limit

Construction of the detector includes an explicit parameter for how many bars the study will reference. Lookback is the count of historical bars a detector must read before it can accept or reject a flag or pennant condition.

A flag-detection study cannot evaluate when it tries to read more historical bars than the platform lookback limit allows. That cap is the bar-reference-limit. If it is smaller than the detector lookback, the construction cannot run.

One construction adjustment for that failure is to raise the allowed lookback so the study can reference 150 bars.

Separate visual markup from a testable hypothesis

The same flag rules can be stored as a charting study and as a strategy, separating visual markup from a testable hypothesis. Flag identification can be rebuilt in a spreadsheet from price columns, so the pattern is a data rule rather than a drawing on one chart.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
22 of 26 in the Flag and pennant track
201720-21 pp.Next on Flag and pennantConstructing delayed buy-stops on bull flags and pennantsA bull-flag is a congestion band, often with a slight downward tilt, sitting on a sharp upward flagpole; a pennant is the same sequence with price contracting into a triangle.
All readings on this track · 26 readings
  1. 1986Constructing bounded relative-strength overlays from oscillator limits
  2. 1989Point-and-figure fulcrum, count, and flag as three jobs
  3. 1996The high, tight flag as a three-checkpoint continuation exam
  4. 2000Test chart patterns with confirmation, not names
  5. 2001Failed chart patterns as reverse breakout signals
  6. 2002Ascending triangle and flag: a three-checkpoint QQQ case study
  7. 2002Two-stage chart reading after breakouts
  8. 2002The second pattern after a breakout
  9. 2003Building flags, pennants, and triangles as continuation pauses
  10. 2003When trendline channels age into a wedge or a break
  11. 2004Bearish chart patterns need confirmation before the turn
  12. 2004Constructing flags, pennants, and triangles from swing pivots
  13. 2005Constructing flag and pennant rules from pole to exit
  14. 2005Fanline construction for testing trend health
  15. 2005When flag-and-pennant breakout scans fail a measurement audit
  16. 2006Testing a bear-flag target after the pause is confirmed
  17. 2007Homebuilder rebound as a bear-flag, trendline, and volume case study
  18. 2008Completed chart patterns as reward-to-risk arithmetic
  19. 2012Reading this file
  20. 2012Reading regime change: when to stop trading
  21. 2014Intraday flag construction with breakout and stop rules
  22. 2015Lock lookback and chart scale before you mark a flag or pennant
  23. 2017Constructing delayed buy-stops on bull flags and pennants
  24. 2018Copy an ABC swing as a ruler, then test flags and Fibonacci degree
  25. 2019Failed flags, pennants, and triangles as a completed experiment
  26. 2020Confirming candlestick and flag signals on a weekly chart
All 31 readings tagged Flag and pennant
Also on Flag and pennant5 readings