Market Structure
Free course · Simulated practice only
Synthetic OHLC feeds · Chart annotation sheet
1. Define a swing
Watch the lesson
WEBVTT 00:00:00.000 --> 00:00:03.700 A swing high has a higher high than its two 00:00:03.700 --> 00:00:07.900 neighboring bars. A swing low has a lower low than both 00:00:07.900 --> 00:00:12.100 neighbors. This lesson uses one neighbor per side and rejects ties. 00:00:12.100 --> 00:00:16.300 Record the time the right neighbor closes as the confirmation time. 00:00:17.100 --> 00:00:23.700 Five completed euro dollar hourly bars have highs 1.0810, 1.0830, 00:00:23.700 --> 00:00:31.000 1.0820, 1.0840 and 1.0830. Bar 2 is a swing high only 00:00:31.000 --> 00:00:38.300 after bar 3 closes. Bar 4 qualifies after bar 5 closes. 00:00:38.300 --> 00:00:45.700 Bar 5 is still unclassified at the end of this sample. 00:00:46.500 --> 00:00:54.500 For completed bars starting at 09:00 through 13:00 U 00:00:54.500 --> 00:01:02.500 T C, lows are 1.0800, 1.0790, 1.0790, 1.0780 and 00:01:02.500 --> 00:01:11.400 1.0800. Record each confirmed swing low and its availability time. 00:01:16.400 --> 00:01:22.700 The tied 10:00 and 11:00 lows both fail. The 12:00 low at 00:01:22.700 --> 00:01:29.000 1.0780 beats both neighbors and is confirmed at 14:00 U T C, 00:01:29.000 --> 00:01:35.900 when the 13:00 bar closes. The first and last bars lack one neighbor.Terminology and method
A swing high has a higher high than its two neighboring bars. A swing low has a lower low than both neighbors. This lesson uses one neighbor per side and rejects ties. Record the time the right neighbor closes as the confirmation time.
Worked demonstration
Five completed EURUSD hourly bars have highs 1.0810, 1.0830, 1.0820, 1.0840 and 1.0830. Bar 2 is a swing high only after bar 3 closes. Bar 4 qualifies after bar 5 closes. Bar 5 is still unclassified at the end of this sample.
Common mistakes
A marker plotted over bar 2 describes where the swing occurred. A decision log must use bar 3's close as the earliest availability.
Independent practice
For completed bars starting at 09:00 through 13:00 UTC, lows are 1.0800, 1.0790, 1.0790, 1.0780 and 1.0800. Record each confirmed swing low and its availability time.
Reveal the explained answer
The tied 10:00 and 11:00 lows both fail. The 12:00 low at 1.0780 beats both neighbors and is confirmed at 14:00 UTC, when the 13:00 bar closes. The first and last bars lack one neighbor.
2. Describe a range and trend
Watch the lesson
WEBVTT 00:00:00.000 --> 00:00:05.200 A classification rule maps observations to labels. In this exercise, an 00:00:05.200 --> 00:00:10.400 uptrend requires two successively higher confirmed highs and two successively higher 00:00:10.400 --> 00:00:15.600 confirmed lows. A range requires both high and low pairs to 00:00:15.600 --> 00:00:20.800 differ by no more than 5 pips, with at least one 00:00:20.800 --> 00:00:26.100 pair not rising. Use unclassified otherwise. Apply the uptrend rule first. 00:00:26.900 --> 00:00:33.700 pound dollar highs 1.2710 and 1.2730 rise 20 pips. Lows 00:00:33.700 --> 00:00:40.600 1.2660 and 1.2670 rise 10. Both pairs rise, so the 00:00:40.600 --> 00:00:47.500 confirmed sequence meets the uptrend rule at the final confirmation. 00:00:48.300 --> 00:00:55.600 Classify highs 1.2710 and 1.2713 and lows 1.2662 00:00:55.600 --> 00:01:04.000 and 1.2660. Then replace the second low with 1.2640. 00:01:09.000 --> 00:01:13.400 The first sequence qualifies as a range. The highs differ by 00:01:13.400 --> 00:01:18.200 3 pips and the lows by 2, with the lows falling. In 00:01:18.200 --> 00:01:23.100 the second sequence the lows fall 22 pips, so neither rule applies.Terminology and method
A classification rule maps observations to labels. In this exercise, an uptrend requires two successively higher confirmed highs and two successively higher confirmed lows. A range requires both high and low pairs to differ by no more than 5 pips, with at least one pair not rising. Use unclassified otherwise. Apply the uptrend rule first.
Worked demonstration
GBPUSD highs 1.2710 and 1.2730 rise 20 pips. Lows 1.2660 and 1.2670 rise 10. Both pairs rise, so the confirmed sequence meets the uptrend rule at the final confirmation.
Common mistakes
Fix both the swing rule and the classification rule before looking at the result. Two peaks alone give no evidence about the direction of confirmed lows.
Independent practice
Classify highs 1.2710 and 1.2713 and lows 1.2662 and 1.2660. Then replace the second low with 1.2640.
Reveal the explained answer
The first sequence qualifies as a range. The highs differ by 3 pips and the lows by 2, with the lows falling. In the second sequence the lows fall 22 pips, so neither rule applies.
3. Compare timeframes
Watch the lesson
WEBVTT 00:00:00.000 --> 00:00:05.100 To build a four-hour open, high, low and close bar, take the 00:00:05.100 --> 00:00:10.300 first hourly open, the maximum high, the minimum low and the last 00:00:10.300 --> 00:00:15.900 close. Use aligned U T C intervals and flag any missing constituent hour. 00:00:16.700 --> 00:00:24.000 A 00:00–04:00 block opens at 1.0800, reaches a maximum high of 00:00:24.000 --> 00:00:31.300 1.0840 and a minimum low of 1.0780, and ends at 1.0810. 00:00:31.300 --> 00:00:39.400 It closes above its open even if the last hourly candle falls. 00:00:40.200 --> 00:01:05.800 Aggregate the 04:00–08:00 block from these ordered O/H/L/C rows. 1.0810/1.0830/1.0800/1.0820. 1.0820/1.0825/1.0790/1.0800. 1.0800/1.0810/1.0770/1.0780. 00:01:05.800 --> 00:01:33.700 1.0780/1.0815/1.0775/1.0812. Explain how the 06:00 bar and four-hour bar can disagree on direction. 00:01:38.700 --> 00:01:49.400 The aggregate is 1.0810/1.0830/1.0770/1.0812. The 06:00 bar falls 20 pips while the four-hour 00:01:49.400 --> 00:02:00.200 block rises 2 pips. Both compare an open and close over different intervals.Terminology and method
To build a four-hour OHLC bar, take the first hourly open, the maximum high, the minimum low and the last close. Use aligned UTC intervals and flag any missing constituent hour.
Worked demonstration
A 00:00–04:00 block opens at 1.0800, reaches a maximum high of 1.0840 and a minimum low of 1.0780, and ends at 1.0810. It closes above its open even if the last hourly candle falls.
| Start | Open | High | Low | Close |
|---|---|---|---|---|
| 04:00 | 1.0810 | 1.0830 | 1.0800 | 1.0820 |
| 05:00 | 1.0820 | 1.0825 | 1.0790 | 1.0800 |
| 06:00 | 1.0800 | 1.0810 | 1.0770 | 1.0780 |
| 07:00 | 1.0780 | 1.0815 | 1.0775 | 1.0812 |
Common mistakes
An incomplete block cannot be compared to completed blocks under a completed-bar rule. Aggregation also discards the order of the individual highs and lows.
Independent practice
Aggregate the 04:00–08:00 block from these ordered O/H/L/C rows. 1.0810/1.0830/1.0800/1.0820; 1.0820/1.0825/1.0790/1.0800; 1.0800/1.0810/1.0770/1.0780; 1.0780/1.0815/1.0775/1.0812. Explain how the 06:00 bar and four-hour bar can disagree on direction.
Reveal the explained answer
The aggregate is 1.0810/1.0830/1.0770/1.0812. The 06:00 bar falls 20 pips while the four-hour block rises 2 pips. Both compare an open and close over different intervals.
4. Map reference levels
Watch the lesson
WEBVTT 00:00:00.000 --> 00:00:04.200 A reference level is an extreme from a named 00:00:04.200 --> 00:00:08.500 feed and interval. Write ranges as start-inclusive and end-exclusive. 00:00:08.500 --> 00:00:13.300 This exercise defines a hypothetical session using U T C. 00:00:14.100 --> 00:00:22.900 On a synthetic midpoint feed, highs at 00:00, 01:00, 02:00 00:00:22.900 --> 00:00:31.800 and 03:00 are 1.0810, 1.0820, 1.0835 and 1.0825. For [00:00, 00:00:31.800 --> 00:00:41.600 03:00), the high is 1.0835 and first becomes final at 03:00. 00:00:42.400 --> 00:00:54.200 Lows for those same hours are 1.0785, 1.0790, 1.0775 and 1.0780. Compare [00:00, 00:00:54.200 --> 00:01:06.000 03:00) with [00:00, 02:00), and record the first time each range is known. 00:01:11.000 --> 00:01:19.900 The first range is 1.0775–1.0835, or 60 pips, known at 00:01:19.900 --> 00:01:29.800 03:00. The second is 1.0785–1.0820, or 35 pips, known at 02:00.Terminology and method
A reference level is an extreme from a named feed and interval. Write ranges as start-inclusive and end-exclusive. This exercise defines a hypothetical session using UTC.
Worked demonstration
On a synthetic midpoint feed, highs at 00:00, 01:00, 02:00 and 03:00 are 1.0810, 1.0820, 1.0835 and 1.0825. For [00:00, 03:00), the high is 1.0835 and first becomes final at 03:00.
Common mistakes
The timestamp label on each hourly bar is its opening time. Changing the cutoff changes which whole bars you include.
Independent practice
Lows for those same hours are 1.0785, 1.0790, 1.0775 and 1.0780. Compare [00:00, 03:00) with [00:00, 02:00), and record the first time each range is known.
Reveal the explained answer
The first range is 1.0775–1.0835, or 60 pips, known at 03:00. The second is 1.0785–1.0820, or 35 pips, known at 02:00.
5. Distinguish excursions from explanations
Watch the lesson
WEBVTT 00:00:00.000 --> 00:00:04.600 An excursion beyond a reference level is an observation in 00:00:04.600 --> 00:00:09.700 the sampled feed. A close back inside gives a second observation. 00:00:09.700 --> 00:00:14.900 Claims about who traded, order triggers, or fills require additional evidence. 00:00:15.700 --> 00:00:22.100 With a prior high of 1.0830, a later midpoint bar reaches 1.0840 00:00:22.100 --> 00:00:28.500 and closes at 1.0820. Record a 10-pip excursion and a close 10 00:00:28.500 --> 00:00:34.900 pips back below the level. For three ordered bars where bar A's 00:00:34.900 --> 00:00:41.300 high is 1.0790 and bar C's low is 1.0800, the interval between 00:00:41.300 --> 00:00:47.800 these extremes is 10 pips. Bar B may have traded through it. 00:00:48.600 --> 00:00:57.000 A confirmed reference low is 1.0780. The next midpoint bar 00:00:57.000 --> 00:01:05.400 is 1.0790/1.0800/1.0772/1.0784. Write a factual chart note and identify two 00:01:05.400 --> 00:01:13.900 records you would need to explain a hypothetical stop execution. 00:01:18.900 --> 00:01:23.200 Price extended 8 pips below the reference low and closed 00:01:23.200 --> 00:01:28.000 4 pips above it. A timestamped execution report and the applicable 00:01:28.000 --> 00:01:32.900 trigger-side quote stream and convention would help reconcile a claimed fill.Terminology and method
An excursion beyond a reference level is an observation in the sampled feed. A close back inside gives a second observation. Claims about who traded, order triggers, or fills require additional evidence.
Worked demonstration
With a prior high of 1.0830, a later midpoint bar reaches 1.0840 and closes at 1.0820. Record a 10-pip excursion and a close 10 pips back below the level. For three ordered bars where bar A's high is 1.0790 and bar C's low is 1.0800, the interval between these extremes is 10 pips. Bar B may have traded through it.
Common mistakes
A chart label should describe its rule and its observations. A three-bar interval alone cannot establish absent transactions or hidden orders.
Independent practice
A confirmed reference low is 1.0780. The next midpoint bar is 1.0790/1.0800/1.0772/1.0784. Write a factual chart note and identify two records you would need to explain a hypothetical stop execution.
Reveal the explained answer
Price extended 8 pips below the reference low and closed 4 pips above it. A timestamped execution report and the applicable trigger-side quote stream and convention would help reconcile a claimed fill.
Applied assessment
Annotate the EURUSD and GBPUSD cases from this module. Include a timestamped swing decision, a four-hour bar, and two examples where the same evidence supports different descriptions under different timeframes or cutoffs.
Reveal the marking guide
Check that every swing has a right neighbor, each aggregate uses its true extremes, and each cutoff is explicit. The 06:00 falling bar inside the rising four-hour bar and the 60-pip versus 35-pip session ranges are worked counterexamples. An execution claim needs evidence beyond the midpoint bars.
Score out of 100. Award up to 25 points for terminology and inputs, 35 for calculations or evidence, 25 for decision reasoning and 15 for limitations and clarity. The proposed progression threshold is 80 points with correction of any safety-critical error.