TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu

FREE FINANCIAL EDUCATION

Swing amplitude and duration distributions

Study swing amplitude and duration distributions through mechanisms, a synthetic worked case, practice, and explained assessment.

Market Structure

APPLIED STUDY · ORIGINAL LESSON

Learning plan and prerequisites

Before you begin: Maintain a confirmed swing map with extreme and availability timestamps.

Mechanism and interpretation

Structure can be described quantitatively beyond higher-high and lower-low labels. Amplitude is the price distance between selected extrema; duration is the elapsed number of bars or clock time. Average speed divides amplitude by duration, but does not reveal the path inside the leg. Normalising amplitude by the starting price gives a percentage, while dividing by a prior volatility estimate gives a scale-relative distance. Keep these normalisations distinct and state whether duration uses extreme timestamps or confirmation timestamps.

Collect upward and downward legs separately before comparing their distributions. A median can be more robust to one unusual leg than a mean, but both can conceal changing regimes. Use only legs whose endpoints were confirmed within the evaluation period. An unfinished current leg is censored; including its provisional endpoint as a completed short leg systematically biases duration and amplitude statistics. A distribution describes the selected pivot algorithm as well as the market, so changing that algorithm changes the population.

Worked case — synthetic data

Synthetic upward legs are 8 points over 4 bars, 12 over 12 bars and 10 over 5 bars. Amplitudes have mean 10 and median 10; durations have mean 7 and median 5. Speeds are 2,1 and 2 points per bar. The ratio of mean amplitude to mean duration is 10/7≈1.43, whereas mean individual speed is 5/3≈1.67. These are different summaries because ratios do not generally commute with averaging.

If the third leg starts at 200, its ten-point rise is 5%. With pre-leg ATR 2.5 it spans 4 ATR. Those normalisations allow comparison with a ten-point leg in another price regime without claiming equal predictability. A fourth unfinished leg currently lasting two bars must remain separately labelled, not added to the completed-duration average.

Context and failure modes

Unequal bar durations, overnight gaps and missing observations can distort speed. A five-bar leg in one timeframe is not directly comparable to five bars in another. Very sensitive pivots generate short noisy legs. Do not interpret a long-run mean as an expected target for the next individual leg without testing that forecasting use.

Practice task

Two completed legs are 6 points in 3 bars and 20 points in 10 bars; a third is unfinished at 4 points in 2 bars. Calculate completed-leg mean amplitude, mean duration and mean speed, then state how to record the third.

Worked practice answer

Completed means are amplitude 13, duration 6.5 and speed 2 points per bar. The unfinished leg is recorded as current/censored with its observed partial distance and duration, excluded from completed-leg estimates. Its eventual endpoint and total duration are unknown.

Topic assessment

Choose an answer before opening each explanation. These questions test the specific mechanism in this lesson.

1. Why can mean speed differ from mean amplitude divided by mean duration?

  1. Averaging ratios differs from taking a ratio of averages
  2. Arithmetic has no rules for prices
  3. All durations must be equal
Reveal answer and explanation

A. Different durations weight the two summaries differently.

2. How should an unfinished leg enter a completed-duration study?

  1. As an automatic reversal
  2. As a separately labelled censored observation
  3. As a completed short leg
Reveal answer and explanation

B. Its final endpoint has not yet been established.

3. What else changes the swing distribution besides market behaviour?

  1. The chart background
  2. The report filename
  3. The pivot-selection algorithm
Reveal answer and explanation

C. Different sensitivities select different sets of extrema and legs.

Primary references and scope

Original explanation and synthetic calculations. Chart thresholds are explicit research conventions, not exchange rules or proof of predictive ability.