Screen stocks. Study the context. Keep the ideas you want to revisit.
Market structure is the order of swing highs and swing lows. Define the swings the same way every time, and the trend, the range and the rules that follow from them become checkable.
What market structure means
Market structure is the sequence of swing highs and swing lows that price leaves on a chart. Read in order, those turning points show whether a stock is trending up, trending down or moving sideways, without any indicator. In stock trading the term describes this price pattern, not the exchange mechanics that match orders.
Structure describes what has already happened. A sequence of higher highs and higher lows describes an advance; it does not say how long the advance can last. Treat each reading as a starting point for research, with a price that would change it.
Swing highs and swing lows
A swing high is a bar whose high is above the highs of the bars around it; a swing low is a bar whose low is below the lows around it. A common daily definition uses two sessions on each side: the high must exceed the highs of the two sessions before and the two after. Keep the number of sessions fixed, because a smaller number finds more and smaller swings and a larger number finds fewer and larger ones.
A swing point is confirmed only after the later sessions have closed. With two sessions on each side, a swing high formed on a Monday is known at Wednesday’s close at the earliest. Any rule or test that uses swing points must respect that delay; otherwise it relies on information that did not exist yet.
| Session | Swing | Price ($) | Change vs previous of the same kind (%) | Label |
|---|---|---|---|---|
| 4 | Low | 39.80 | First | Swing low |
| 9 | High | 45.60 | First | Swing high |
| 13 | Low | 42.20 | 6.03 | HL |
| 18 | High | 48.60 | 6.58 | HH |
| 22 | Low | 45.20 | 7.11 | HL |
| 27 | High | 52.00 | 7.00 | HH |
| 31 | Low | 48.20 | 6.64 | HL |
| 35 | High | 51.80 | −0.38 | EH |
| 39 | Low | 48.30 | 0.21 | EL |
| 43 | High | 51.70 | −0.19 | EH |
| 47 | Low | 45.80 | −5.18 | LL |
| 50 | High | 49.00 | −5.22 | LH |
| 55 | Low | 43.60 | −4.80 | LL |
Uptrends and downtrends from swing points
An uptrend is a series of higher highs and higher lows: each advance carries past the previous swing high, and each pullback stops above the previous swing low. A downtrend is the mirror image, a series of lower highs and lower lows. To identify either one, compare at least the last two swing highs and the last two swing lows; one new high on its own does not make a trend.
| Swing highs | Swing lows | Structure | What would change it |
|---|---|---|---|
| Higher | Higher | Uptrend | A close below the most recent higher low |
| Lower | Lower | Downtrend | A close above the most recent lower high |
| About equal | About equal | Sideways range | A close beyond the range top or bottom |
| Lower | Higher | Narrowing range | A close outside the latest swing high or swing low |
| Higher | Lower | Widening range | Swings that line up in one direction again |
In the figure, sessions 9 to 27 form an uptrend, sessions 27 to 43 a range with about equal highs and lows, and the lower low in session 47 followed by the lower high in session 50 starts a downtrend. An uptrend is in question as soon as a close falls below the most recent higher low; the first lower high after that is the usual sign that a downtrend structure is forming.
Counter-example: a stock can close above its 50-session moving average while its last two swing highs and its last two swing lows are both lower. The average lags the swings, so structure already describes a downtrend while the average still slopes up. Decide in advance which reading your research follows.
Trading ranges, consolidation and sideways markets
A trading range is a period in which price moves between a roughly flat top and a roughly flat bottom, with swing highs near one level and swing lows near another. A consolidation is a range that forms after a trend, usually narrower than the move before it. A sideways market is the same picture at the level of a broad index: identify it by applying the swing test to an index fund’s chart and looking for highs and lows that keep returning to the same levels around a flat 50-session average.
To identify a range on a stock, look for at least two swing highs near one price and two swing lows near another, with neither a higher-high nor a lower-low sequence between them. Measure it with three numbers: its height, its height as a percent of its bottom, and its length in sessions.
Range height = range top − range bottom
Range height (%) = (range top ÷ range bottom − 1) × 100
Range length = sessions from the first touch to the latest touchrange top- the highest swing high inside the range
range bottom- the lowest swing low inside the range, a positive price, so the percent is always defined
| Measure | Value |
|---|---|
| Range top: highest swing high, session 27 | $52.00 |
| Range bottom: lowest swing low, session 31 | $48.20 |
| Height | $3.80 |
| Height as a percent of the bottom | 7.88% |
| Length: session 27 to session 43 | 16 sessions |
securityType = "Stock" and hi50FromHighPct >= -8 and hi50FromLowPct <= 8Keeps stocks whose close is within 8% of the highest high and within 8% of the lowest low of the last 50 sessions, the current session included. Together the two limits cap the 50-session span at about 17.4% of the low.
Counter-example: a stock that fell 25% and then drifted sideways for a week is not yet in a range by this definition. It has one low and no repeated tests of a top and a bottom, so give a range time to show both edges before measuring it.
Ascending and descending price channels
A price channel is a trend whose swings stay between two roughly parallel lines. In an ascending channel, a rising base line connects the higher lows and a parallel line touches the higher highs; a descending channel slopes down through lower highs and lower lows. A channel describes the rhythm of a trend: how far each swing travels before it turns.
- Draw the base line through two swing lows for an ascending channel, or two swing highs for a descending one.
- Copy that slope to the other side, through the most extreme swing point between the two anchors.
- Wait for a later swing to reach either line before treating the channel as confirmed.
- Measure the width as the distance between the lines, in dollars and as a percent of the base line.
- Write down which close outside the channel would end the reading.
| Measure | Value |
|---|---|
| Base line through the swing lows of sessions 13 and 22 | From $42.20 to $45.20, a slope of $0.33 per session |
| Base line at session 18 | $43.87 |
| Upper line through the swing high of session 18 | $48.60, so the channel is $4.73 wide, 10.79% of the base line |
| Upper line at session 27 | $51.60; the swing high of $52.00 pierces it by 0.78% |
Stock Charts in TradeClever does not draw lines, so record the anchor sessions and prices in your notes and compute the line for later sessions, as shown in support, resistance and trendlines.
Counter-example: two parallel lines through hand-picked points can make almost any trend look like a channel after the fact. If the lines needed bars to be ignored, or no later swing touched them, the channel describes the past rather than a level you set in advance.
Read price action without indicators
Price action reading uses the bars themselves: where they close within their range, how far each swing travels and where volume expands. It needs nothing beyond a daily candlestick chart with volume. Work through the same steps on every chart so that two readings can be compared.
- Choose the range: a 1Y daily chart for the main structure, then 3M or 6M for the latest swings.
- Mark swing highs and swing lows with a fixed rule, such as two sessions on each side.
- Label each swing against the previous one of the same kind: higher, lower or about equal.
- Classify the structure as uptrend, downtrend or range from the last two highs and the last two lows.
- Note the price that would change the reading, such as the most recent higher low.
- Compare the size of recent swings: advances that keep shrinking in an uptrend show fading momentum.
- Check volume on the sessions that broke a level, against the sessions around them.
- Write the reading and its invalidation price in your notes before looking at any indicator.
Candle detail adds information at the edges. A session that trades through a swing high and closes back below it shows that the higher prices did not hold by the close, which is worth recording next to the level. Read single candles at the levels your structure already identified; the candlestick patterns guide describes the common shapes.
Momentum trading vs swing trading: two time horizons
Momentum trading and swing trading read the same structure over different horizons. Momentum approaches typically hold for weeks to months and look for stocks whose advance over several months is strong compared with other stocks, often near new highs. Swing approaches typically hold for a few sessions to a few weeks and try to capture one leg of a trend or one move across a range.
| Aspect | Momentum | Swing |
|---|---|---|
| Typical holding period | Several weeks to several months | A few sessions to a few weeks |
| Structure it relies on | A persistent uptrend of higher highs and higher lows on the 1Y chart | The latest swing inside a trend or a range on the 3M chart |
| Typical entry location | Near a new high or out of a consolidation | Near support, a rising average or the bottom of a range |
| Daily fields to check | perfM3Pct, perfM6Pct, rsRating, tcm, hi52wFromHighPct | distSma20Pct, rsi14, atrPct14, hi20FromHighPct, hi20FromLowPct |
| What ends the idea | A break in the higher-low sequence or fading relative strength | A close beyond the swing point that defined the entry |
The holding periods are conventions, not rules. What matters is that the fields match the horizon: a 3-month performance rank says little about the next three sessions, and a 14-session RSI says little about a six-month trend. In CleverScan, perfM3Pct and perfM6Pct measure 63 and 126 sessions, rsRating ranks weighted 12-month relative strength from 1 to 100, and atrPct14 expresses the 14-session average true range as a percent of the close.
securityType = "Stock" and rsRating >= 80 and hi52wFromHighPct >= -10A momentum-horizon question: an RS Rating of 80 or more on its 1 to 100 scale and a close within 10% of the 52-week high.
securityType = "Stock" and close > sma50 and sma50 > sma200 and distSma20Pct >= -4 and distSma20Pct <= 0A swing-horizon question: a rising moving-average structure with the close between 4% below and level with the 20-session average.
Trend following vs mean reversion
Trend following assumes that a move can persist, so it acts with the structure: it looks for strength in an uptrend and exits when the swing sequence breaks. Mean reversion assumes that a stretched move tends to retrace toward an average, so it acts against the latest swing, usually inside a range or a longer uptrend. Structure helps you choose between them: ranges suit mean-reversion questions and clear trends suit trend-following questions.
securityType = "Stock" and close > sma50 and sma50 > sma200 and hi50FromHighPct >= -3A trend-following question: a rising moving-average structure with the close within 3% of the highest high of the last 50 sessions.
securityType = "Stock" and close > sma200 and rsi14 < 35 and distSma20Pct <= -5A mean-reversion question: a stock above its 200-session average that closed at least 5% below its 20-session average, with RSI(14) under 35.
Each style has a typical failure. Trend-following rules give back part of a move when a trend turns into a range, because their exits wait for the structure to break. Mean-reversion rules can keep selecting a decline that has become a downtrend. Test each one in the conditions it was designed for, as described in testing a stock strategy.
Turn structure into entry and exit rules
A rules-based strategy states, before the session, what must happen for an entry, what ends the trade and what you do in between. Structure supplies objective prices for each part: the swing high a breakout must close above, the higher low whose loss invalidates the idea, and the next swing level that marks a target or a review. Rules written this way can be checked by someone else and tested on past sessions.
- State the setup in one sentence, for example: an uptrend with two higher lows, pulling back toward its 50-session average.
- Write the entry as a condition on a completed daily bar, such as a close above the most recent swing high.
- Write the invalidation exit, such as a close below the most recent higher low.
- Write the profit or review exit: a multiple of the risk, the next resistance level or a time limit in sessions.
- Decide how a gap through a level is handled, since a stock can open beyond the exit price.
- Size the position from the distance between entry and invalidation, as in position sizing, and see stop-loss and profit targets for exit levels.
- Log every trade with the rule version that produced it, as in a trading journal.
CleverScan can express the conditions that narrow a universe, such as trend, distance from an average and volume. Swing points and channel lines come from the chart and belong in your notes, together with the rule that defines them.
Counter-example: “enter when the trend looks strong and exit when it feels weak” is not a rule. Two readers would act on different sessions, and a test of it would measure hindsight rather than the idea.
Continue with
Read our data and methodology notes for calculation context. This guide explains research tools and observations. It does not recommend a trade or investment.