P04-L06 · P04 · P04-M02
Mark swings trend and range without generating a signal
Prerequisites: P04-L05
Learning objectives
- Mark strict one-neighbor swings with a stated confirmation delay.
- Describe higher/lower extrema and a bounded range without signals.
- Explain dependence on sampling, tie rules and observation cutoff.
EN source master • P04 — Trading Foundations • needs_review.
Educational boundary: mechanisms and evidence only. No BUY/SELL/HOLD signal, trade recommendation, personalized investment advice, guaranteed setup, price target, expected profit, guaranteed win rate or guaranteed risk/reward outcome. All examples are ILLUSTRATIVE / FICTIONAL; no real money or live trade is required.
Why this matters
Words such as trend, swing and range compress a series into relationships. They become useful only when the labeling rule and cutoff are stated. A reproducible description can identify what happened in a supplied series without presenting that description as a setup, forecast or financial instruction.
Explanation
In this lesson a swing high at indexi is a sampled close strictly above the closes immediately before and after it. A swing low is strictly below both. This is an original one-neighbor rule, not a universal market definition. It uses closes, not intrabar highs/lows. A label becomes confirmed only when the next sample arrives, so the plotted pivot position and the confirmation time differ.
Higher high means a confirmed peak exceeds the prior confirmed peak. Higher low means a confirmed trough exceeds its predecessor. Lower high and lower low reverse those inequalities. Equal values remain equal; do not force them into a directional label. The first and last samples cannot be tested with two neighbors in this bounded dataset.
A descriptive uptrend convention can refer to successively higher peaks and troughs in a stated segment. A downtrend convention can refer to lower peaks and troughs. A range can refer to observed prices contained in a specified band over a specified window. These descriptions are scoped to the selected samples, rule and window. They do not assert a future continuation or reversal.
Aggregation changes the extrema available to a classifier. A coarser series may omit intermediate swings. Another method using two neighbors, intrabar extremes or a volatility threshold could label differently without using the same definition incorrectly. Record the method before examining the result; otherwise it becomes easy to adjust the rule until a desired story appears.
Confirmation is essential to prevent hindsight leakage. At sample 5 the price 107 is known, but it cannot yet be a confirmed one-neighbor high because sample 6 is missing. Marking it as confirmed at 5 imports later knowledge. “Future sample needed” is an epistemic state, not a reason to assume that future sample will qualify.
Trend and range labels are descriptive methods, not physical forces. A price returning to a band edge does not prove another return will follow. The dataset has no causal intervention, independent forecast test or prospective uncertainty model. Do not convert its swing labels into BUY/SELL/HOLD instructions.
Source-to-claim scope
- Chart/trend vocabulary only [S04-STRUCTURE].
- Price summaries depend on their chart input basis [S04-CHARTS].
The fixture's arithmetic, bucket alignment, strict swing rule, matching/trigger assumptions, journal convention and rubric are explicitly supplied teaching conventions where applicable; these references do not authenticate fictional values or endorse a venue. US securities and futures sources support bounded vocabulary and limitations, not a claim that their rules apply universally to crypto.
Key terms
- Swing: local extremum under an explicitly defined neighborhood.
- Confirmation delay: additional data needed before a label is available.
- HH / HL: higher confirmed high / low relative to a prior comparable pivot.
- LH / LL: lower confirmed high / low.
- Range: observed containment within a specified band and window.
- Method dependence: classification changes when sampling or rules change.
Historical example
Data status: ILLUSTRATIVE / FICTIONAL. Each index is an equally spaced synthetic sample; values are sampled closes in CU/FU. No trade execution or current asset is represented.
| Index | Close | Confirmed label after next sample |
|---|---|---|
| 0 | 100 | Endpoint: unavailable left neighbor |
| 1 | 104 | High, known at 2 |
| 2 | 102 | Low, known at 3 |
| 3 | 106 | High, known at 4 |
| 4 | 103 | Low, known at 5 |
| 5 | 107 | High, known at 6 |
| 6 | 104 | Neither |
| 7 | 102 | Low, known at 8 |
| 8 | 103 | High, known at 9 |
| 9 | 101 | Low, known at 10 |
| 10 | 102 | High, known at 11 |
| 11 | 100 | Low, known at 12 |
| 12 | 101 | Endpoint: right neighbor unknown |
Peaks 104→106→107 are higher. Troughs 102→103 are higher over the early confirmed segment. Later peaks 107→103→102 are lower; later troughs 103→102→101→100 are lower. Index 6 is not a trough:104 is below 107 but above its next neighbor 102. The description changes across segments; do not claim one label captures every sample.
Separate range seriesR0–R4=[99,101,99,101,99]. Every supplied close is inside[99,101]. This proves observed containment only. It supplies no R5 and no intrabar extremes. Equal peaks 101 do not form a higher-high sequence, and equal lows 99 are not lower lows.
What the evidence proves
| State | Claim and locator | Limit |
|---|---|---|
| OBSERVED | The supplied sampled closes | No intrabar extrema or later data |
| INFERRED | Pivots and relative comparisons under the strict rule | Rule- and segment-dependent |
| UNKNOWN | Index 13, range sampleR5 and causal explanations | Outside the dataset |
| INSUFFICIENT EVIDENCE | A higher-high sequence guarantees continuation or an observed range guarantees another bounce | No prospective evidence |
The chart supports a bounded descriptive annotation. It cannot prove an executable trade, participant intent, an optimal window or a future price. The final 101 at 12 could later qualify as a high or fail to qualify, depending on the unknown next value.
Common mistakes
Labeling a pivot when only its left neighbor exists; silently changing from close-based to wick-based swings; calling any fall a confirmed swing low; forcing equality into HH/LL; and plotting hindsight labels as if known immediately overstate the evidence.
Practical exercise
Inputs: full close series and range series. Tasks: apply the strict rule to each eligible index; list confirmation indices; classify relative peak/trough changes; report the latest confirmed labels available at cutoff 5; describe the range and its limitations.
Show worked correction
Expected reasoning: Compare both neighbors, preserve strict inequalities, and exclude later samples from an earlier-cutoff answer.
Complete correction: High indices 1,3,5,8,10; low indices 2,4,7,9,11. Each is confirmed ati+1. At cutoff 5, confirmed peaks are 104 at 1 and 106 at 3; confirmed lows 102 at 2 and 103 at 4. The 107 at 5 is observed but not yet a confirmed peak. Index 6 is neither by the two-neighbor test. RangeR stays within 99–101 for its five provided closes; future containment and intrabar containment are UNKNOWN. The higher/lower sequences above describe their respective confirmed segments. They are not instructions to trade. If an alternate two-neighbor method is requested, the existing labels cannot simply be reused: recompute and document the changed data requirement.
Checklist
Fix input basis and pivot rule; state ties and endpoints; record confirmation time; name segment; compare like extrema; identify unobserved future data; and separate classification from prediction.
Summary
Market structure vocabulary is reproducible when definitions and cutoffs are explicit. Its precision is descriptive. No pattern in this fixture provides a guaranteed signal or outcome.
Visual specifications
P04-L06-V01 — annotated candlestick
Educational question: Which extrema are confirmed under the stated descriptive rule?
Dataset: FIX-P04-06; ILLUSTRATIVE; observedAt=null. Mechanism sources: S04-CHARTS, S04-STRUCTURE. Plot indices 0–12 on a fixed price axis. Mark confirmed peaks 1,3,5,8,10 and troughs 2,4,7,9,11 with confirmation arrows to the next sample. Leave endpoints unclassified. Use separate inset 99,101,99,101,99 as observed range only; no entry/exit arrows.
Caption: Fictional swing labels depend on a rule and become available after a later sample.
Alt text: Peaks 104,106,107 are successively higher; later 103,102 are lower; endpoint 12 remains unconfirmed.
Layout: 390px stacked labels and accessible equivalent text table; 768px/tablet and desktop verification pending. RTL: RTL layout and native labels for later Arabic adaptation; isolate IDs LTR; preserve chronological direction and numerical price axes. No translation authored. Style: Dark navy with cyan, electric blue and violet; readable contrast and labels independent of color; official ZECOIN branding only. Deterministic chart/SVG/HTML; no fabricated market screenshot.
Status: SPECIFICATION_ONLY; version 1; needs_review. No rendered asset or runtime integration is claimed.
P04-L06-V02 — evidence panel
Educational question: Which conclusions follow from these inputs, and which remain unsupported?
Dataset: FIX-P04-06; ILLUSTRATIVE; observedAt=null. Mechanism sources: S04-CHARTS, S04-STRUCTURE. Bind four labelled rows OBSERVED / INFERRED / UNKNOWN / INSUFFICIENT EVIDENCE to this lesson's evidence table and record locators. Include one calculation or classification and its assumptions. Display missing data and execution limits explicitly; no financial call or forecast badges.
Caption: Illustrative evidence states under the stated data and execution assumptions.
Alt text: A four-state table distinguishes supplied fictional records, conditional calculations, missing information and unsupported claims.
Layout: 390px stacked labels and accessible equivalent text table; 768px/tablet and desktop verification pending. RTL: RTL layout and native labels for later Arabic adaptation; isolate IDs LTR; preserve chronological direction and numerical price axes. No translation authored. Style: Dark navy with cyan, electric blue and violet; readable contrast and labels independent of color; official ZECOIN branding only. Deterministic chart/SVG/HTML; no fabricated market screenshot.
Status: SPECIFICATION_ONLY; version 1; needs_review. No rendered asset or runtime integration is claimed.
Tools
NONE. Use the embedded fixture, paper or an offline worksheet. No paid access, live market feed, real funds, wallet connection, account creation, signatures or trades are needed. No production tool capability is added or asserted.
Sources & claim boundaries
- S04-CHARTS — CME chart types: https://www.cmegroup.com/education/courses/technical-analysis/chart-types-candlestick-line-bar Supports: OHLC body and wick conventions only; predictive interpretations are not adopted. Checked 2026-09-30; primary page inspected.
- S04-STRUCTURE — CME technical analysis: https://www.cmegroup.com/education/courses/trading-and-analysis/technical-analysis Supports: Chart and trend vocabulary only; the strict swing classifier here is an original descriptive convention. Checked 2026-09-30; primary page inspected.
These references support mechanism definitions only. All fixture values, paths, tickets, capital, fills and calculations are original ILLUSTRATIVE / FICTIONAL teaching material, not source-observed prices, a historical performance series or a recommendation for a current market. Documentation examples and official venue names do not endorse a platform. Dataset FIX-P04-06 is bounded to the embedded records and assumptions; observedAt=null because no real-world observation was collected. Future source review and editorial acceptance remain pending: reviewStatus=needs_review, lastReviewedAt=null.
Next lesson
P04-L07 — Risk reward and position sizing. Continue within this program's learning sequence.
Visual specifications
P04-L06-V01
Which extrema are confirmed under the stated descriptive rule?
Fictional swing labels depend on a rule and become available after a later sample.
Plot indices 0–12 on a fixed price axis. Mark confirmed peaks 1,3,5,8,10 and troughs 2,4,7,9,11 with confirmation arrows to the next sample. Leave endpoints unclassified. Use separate inset 99,101,99,101,99 as observed range only; no entry/exit arrows.
Peaks 104,106,107 are successively higher; later 103,102 are lower; endpoint 12 remains unconfirmed.
390px stacked labels and accessible equivalent text table; 768px/tablet and desktop verification pending.
RTL layout and native labels for later Arabic adaptation; isolate IDs LTR; preserve chronological direction and numerical price axes. No translation authored.
FIX-P04-06
P04-L06-V02
Which conclusions follow from these inputs, and which remain unsupported?
Illustrative evidence states under the stated data and execution assumptions.
Bind four labelled rows OBSERVED / INFERRED / UNKNOWN / INSUFFICIENT EVIDENCE to this lesson's evidence table and record locators. Include one calculation or classification and its assumptions. Display missing data and execution limits explicitly; no financial call or forecast badges.
A four-state table distinguishes supplied fictional records, conditional calculations, missing information and unsupported claims.
390px stacked labels and accessible equivalent text table; 768px/tablet and desktop verification pending.
RTL layout and native labels for later Arabic adaptation; isolate IDs LTR; preserve chronological direction and numerical price axes. No translation authored.
FIX-P04-06
Sources & claim boundaries
S04-CHARTS · primary_official_documentation_or_education
CME chart types
- Supported claim
- OHLC body and wick conventions only; predictive interpretations are not adopted.
- Verification boundary
- Primary page inspected. Original synthetic data and results below are not observations of this source's markets.
- Checked at
- 2026-09-30
https://www.cmegroup.com/education/courses/technical-analysis/chart-types-candlestick-line-bar
S04-STRUCTURE · primary_official_documentation_or_education
CME technical analysis
- Supported claim
- Chart and trend vocabulary only; the strict swing classifier here is an original descriptive convention.
- Verification boundary
- Primary page inspected. Original synthetic data and results below are not observations of this source's markets.
- Checked at
- 2026-09-30
https://www.cmegroup.com/education/courses/trading-and-analysis/technical-analysis
Dataset provenance
id: FIX-P04-06
dataStatus: ILLUSTRATIVE
observedAt: null
source: Original frozen teaching fixture fully embedded in this lesson
scope: Thirteen synthetic sampled closes and a separate five-point bounded range; no intra-bar paths, volumes or future samples.
identifiers: Fictional instrument FU and quote unit CU; training markers, not usable asset IDs or accounts.
timeBasis: Synthetic offsets or T markers only; no actual market timestamps or current/historical market collection.