Market Structure & Price Action · Illustrated reference
Trendlines and Market Structure
Swings, confirmation and the geometry of a trend.
Animated explanation · synthetic observations
How a swing becomes confirmed
Low at bar 28; confirmed at 30. Radius 2.
A turning point occurs first. Confirmation arrives later. The highlighted right-hand bars supply the missing evidence. The complete reference is shown when motion is unavailable. Playback is optional.
In this reference
- A fluctuation becomes a swing under a rule
- Structure is a description before it is a hypothesis
- A candle is a record, not a story about intent
- When does a swing become knowable?
- Swing sensitivity and confirmation delay
- Read comparable swings, and leave room for “mixed”
- Structure atlas: six descriptions, no certainty
- A trendline is an explicit geometric choice
- Failure, context and what the chart cannot identify
- Identical OHLC can conceal different intrabar paths
- Sources and further study
A fluctuation becomes a swing under a rule
A one-tick reversal and a multi-week turning point are both changes of direction, but they need not answer the same analytical question. There is no scale-free definition of a “meaningful” swing. A centered-window rule, a minimum percentage reversal and an ATR-scaled reversal can each select different turning points.
Internal structure usually describes the smaller turns inside a larger move. External structure describes the selected larger boundaries. The names are relative to a chosen lens; they are not two hidden properties of the price series. A break of an internal low can occur while an external higher low remains intact.
In this illustration, “meaningful” means only “qualifies under the stated strict high/low rule.” No profitability is implied. The fine and coarse views use identical prices, time coverage and vertical scale so the difference cannot be blamed on chart scaling.
Structure is a description before it is a hypothesis
Market structure is the sequence and relative position of selected price highs and lows over a stated observation horizon. A rising sequence of comparable swing highs and swing lows is conventionally called an uptrend. A falling sequence is a downtrend. Mixed sequences need not be forced into either category.
The word selected matters. Change the timeframe or the rule for selecting swings and the description can change. A two-week decline can sit inside a six-month rise. Neither observation cancels the other. Before saying that structure has “broken,” identify which structure, which price field and which observation time you mean.
After this chapter, you should be able to construct a candle, explain why a pivot is recognized late, distinguish a line break from a swing break, and describe an ambiguous chart without inventing certainty.
A candle is a record, not a story about intent
A candle records the first price (open), highest price, lowest price and last price (close) in a specified interval and data feed. The real body spans open to close. The upper wick runs from the larger of open and close to the high; the lower wick runs from the low to the smaller of open and close.
Upper wick = high − max(open, close)
Lower wick = min(open, close) − low
For O=100, H=108, L=96, C=105, the body is 5, the upper wick is 3 and the lower wick is 4. The 12-unit total range equals their sum. If open equals close, the body has zero height; the candle still contains information about the range.
Candlestick anatomy
O100 H108 L96 C105 has a body of5, an upper wick of3 and a lower wick of4.
The candle body changes direction when close crosses open. An OHLC record with a high below open or close is inconsistent and must be rejected. Also notice what cannot be changed here: OHLC alone does not tell you whether the high or the low happened first, how long price traded at either extreme, or who initiated the transactions.
A green candle can still accompany a negative close-to-close return. If yesterday closed at 110, today's open is 100 and today's close is 105, the candle rises from its open but the daily close return is 105/110−1 = −4.55%. “Up candle” and “up day” are different comparisons.
When does a swing become knowable?
A reproducible teaching rule is to call bar i a swing high only when its high is strictly greater than the highs of the preceding k bars and the following k bars. A swing low uses the corresponding strict minimum. Ties are excluded in this laboratory. Other valid conventions resolve ties differently or use a minimum price reversal instead of a fixed number of bars.
Earliest confirmation bar: i + k
With k=2, a high on bar 7 is not confirmed until bar 9 closes. A historical chart can place the label back on bar 7, but a real-time decision at bar 7 could not know the two future bars. This difference between event time and availability time is one of the most important safeguards in chart research.
Step forward until a label appears. Step backward: it should disappear before its confirmation bar. Increase the pivot radius from 1 to 3. You will get a different description of the same prices and a longer recognition delay. The setting changes the question, not the underlying market.
Why a trailing maximum is not the same thing
A trailing 20-bar high needs no future bars: it is simply the highest high already observed in its window. A centered swing filter does need subsequent observations. Calling both a “pivot” without specifying the rule can introduce look-ahead bias into a backtest. An unconfirmed high may still be a useful provisional reference, provided it is labeled provisional and not treated as a confirmed historical swing.
Swing sensitivity and confirmation delay
A fine lens records more local turns. A coarse lens waits longer and can describe a different structure from the same prices. The illustration labels each pivot only after its required right-hand bars exist.
Read comparable swings, and leave room for “mixed”
Compare highs with highs and lows with lows. HH means a higher high than the previous selected high; HL means a higher low than the previous selected low. LH and LL are the corresponding lower values. A new high without a new higher low is incomplete evidence for a fresh rising sequence.
| Observed sequence | Conventional interpretation | What remains unknown |
|---|---|---|
| HH and HL | Rising swing structure | Whether the next pullback will hold |
| LH and LL | Falling swing structure | Whether selling will continue |
| HH and LL | Expansion or mixed structure | Which direction will persist |
| Similar highs and lows | Possible range | Whether its boundaries remain useful |
These are descriptions, not measured win rates. Volatility affects what looks like a meaningful difference. Prices of 100.00 and 100.01 may represent distinct highs mathematically but not a useful difference after considering the instrument's tick size, spread and normal movement. If you use a tolerance, record it before looking at the outcome.
Structure atlas: six descriptions, no certainty
These selected-swing diagrams share a 94–130 vertical scale. Candles show synthetic OHLC; connecting lines emphasize selected swings. Do not infer relative volatility or event frequency from the number of examples.
Rising structure
Falling structure
Deterioration
Failed break
Range
Expansion
Deterioration is not yet reversal
A lower high can weaken a rising sequence without breaking its last selected low. A lower low can invalidate that uptrend description without establishing a durable downtrend. A failed break is a later event; it cannot retroactively make the earlier crossing disappear.
Ambiguity is a valid result
Expanding highs and lows, equal extrema, sparse confirmed pivots and a range with a small boundary breach all resist a single directional label. Record the conflict and the next discriminating observation instead of inventing a confidence percentage.
Two analysts can reasonably disagree because one measures daily highs with a three-bar radius and another measures hourly closes with a reversal threshold. Compare their definitions before judging their conclusions. A disagreement about the same rule and same available data, by contrast, is a reproducibility problem.
A trendline is an explicit geometric choice
Two distinct anchor times define a straight line on a linear price axis. With anchors (t₁,p₁) and (t₂,p₂), its projected value at time t is:
Connect comparable lows for a rising support hypothesis or comparable highs for falling resistance. Record whether t means elapsed clock time or equal-width trading bars; holiday gaps can make the projections differ. A third reaction is an additional observation, not a theorem that the line must hold.
On a logarithmic chart, a visually straight line interpolates log prices. Converting it back to prices gives an exponential path, not the same dollar-per-bar slope. Scale choice is material over large price changes. Do not silently draw on one scale and test on another.
A close below a steep rising line can occur while the most recent higher low remains intact. The line hypothesis has failed; the selected swing sequence may not have failed. Conversely, a lower low can invalidate your chosen swing description even if a redrawn line still looks convincing. Redrawing after every violation can make a historical explanation impossible to falsify.
Failure, context and what the chart cannot identify
A break below a selected low does not establish a new downtrend on its own. It might be part of a wider range, an expanding pattern, a corporate-action discontinuity or a brief move that is later reclaimed. “Wait for confirmation” is useful only after specifying the additional observation: a completed close, another lower high, or a number of closes under the level.
Confirmation costs time and may change the entry price. It can filter some moves and miss others; it does not automatically improve expected returns. Nor does a chart alone reveal that “institutions defended support” or “stops were hunted.” Those are causal explanations requiring evidence beyond OHLC.
For actual research, preserve the data vintage, adjustment convention, session calendar and universe. A split can transform raw prices; revised history can change old indicator values. A pattern recognized retrospectively is not proof that the published system recognized it at the time. The research example in this chapter is deliberately synthetic so the pivot timing rule can be inspected without implying historical performance.
Identical OHLC can conceal different intrabar paths
The same four recorded prices admit high-first and low-first paths. With both exits active at the open, the first touch can differ. This is an information limit, not an execution model.
Animated explanation · synthetic observations
The information a candle leaves behind
Both paths collapse into the same candle. OHLC retains the extremes but discards their order.
Both continuous paths have identical OHLC. Their first stop/target touches differ. Aggregation cannot reconstruct their order. The complete reference is shown when motion is unavailable. Playback is optional.
Both exits are assumed active at the open. These continuous paths omit gaps, spreads, queues and delayed order activation. Finer observations can reduce uncertainty; an assumed intrabar path does not recover missing evidence.
Sources and further study
- John J. Murphy, Technical Analysis of the Financial Markets, 1999: conventional trend and chart construction framework. This chapter uses original prose and diagrams; no book illustration is reproduced.
- Lo, Mamaysky and Wang (2000), Foundations of Technical Analysis. A formal example of defining patterns and evaluating conditional distributions; information content is not equivalent to profitable execution.