Chart pattern · Bearish reversal
Double Top pattern
By the PatternX team · Published
- Type
- Bearish reversal
- PatternX trades it
- Short (sell) on the breakdown
- Also called
- M top, M pattern, double top reversal
- Detected on
- 8 timeframes, 1-minute to daily — crypto, stocks, ETFs and FX
Short answer
A double top is a bearish reversal pattern shaped like an M: price rallies to a high, pulls back, rallies again to about the same high and fails. The low between the two peaks is the neckline, and the pattern is confirmed only when price closes below it, a sign that buyers have lost control of the advance.
What is a Double Top?
A double top is a two-peak reversal pattern that marks a possible end to an advance. Price reaches a high, sellers push it back, buyers drive it up to about the same level a second time, and it fails again. The trough between the peaks becomes the neckline. The pattern is only complete when price falls through that trough; before then, two similar highs are just a market testing resistance.
The psychology centres on a level that holds twice. The first peak reveals sellers waiting at that price. The rally back to it is buyers testing whether that supply has gone; when the second attempt stalls, often with less enthusiasm than the first, it shows the supply is still there. Breaking the trough then means the buyers who stepped in at the middle low are wrong, and the market's sequence of higher lows has ended.
Anatomy of the Double Top
| Part | Description |
|---|---|
| First peak | The high of the advance, where selling first appears |
| Middle trough | The pullback low between the peaks; it defines the neckline |
| Second peak | A retest of the first peak's level that fails; it can be slightly above or below |
| Neckline | A horizontal level at the middle trough |
| Height | The distance from the peaks to the neckline, used for the target |
The two peaks should be far enough apart to show two separate attempts, not one choppy high. Traders often distinguish narrow, spiky peaks from wide, rounded ones; both count, but a peak made by a single spike says less about sustained selling than one where price lingered. The depth of the middle trough matters too: a shallow dip between two highs is closer to a sideways pause than to a reversal. Unlike the head and shoulders, the double top's neckline is a single swing low, so it is horizontal.
How to identify a Double Top
Use this checklist on any chart. It describes general practice; PatternX's exact thresholds are in the detection section.
- Prior advance. Confirm that price rallied into the first peak.
- First peak and pullback. Note the high, and the low of the reaction that follows.
- Second peak near the first. It should stall within a small distance of the first high. A second peak that clearly exceeds the first and holds is a breakout, not a top.
- Separation. The peaks should be a meaningful number of bars apart; two highs a couple of bars apart are one top.
- A meaningful trough. The pullback between the peaks should be deep enough to matter relative to price.
- Draw the neckline horizontally at the trough low.
- Wait for the close below it. Until then, it is a range with two highs.
- Measure the target: the height from the peaks to the neckline, projected down from the break.
- Decide the stop before entering, above the peaks or inside the pattern, and check the resulting reward:risk.
Confirmation
A double top is confirmed by a close below the middle trough. Many traders also want the break to carry through on rising volume, with the next bars staying below the old trough; a slow drift through the level followed by an immediate recovery is weak confirmation.
Waiting is particularly important here, because two similar highs are extremely common. Ranges, flags and ordinary pullbacks all produce them, and a trader shorting the second peak is betting on a pattern that has not formed yet. Some traders prefer to enter when price returns to the broken neckline from below and fails there, using it as resistance.
PatternX signals on the first close below the neckline, read from the latest bar, which may not be finished. It does not wait for a retest, so any retest entry is a choice you make yourself.
Invalidation
Before the break, a decisive move above both peaks invalidates the double top and often triggers a breakout in the other direction as stops above the highs are hit. After the break, a recovery back above the neckline is the first warning, and a move back into the upper half of the pattern is a strong sign the top has failed.
PatternX does not monitor the pattern after a signal or trade opens. The pattern's stop level becomes the stop-loss: for a double top that is the neckline plus 55% of the pattern's height, inside the pattern rather than above the peaks, unless your own stop setting is tighter. Nothing else closes the trade early on pattern grounds.
Volume
Volume on a double top often tells a story of fading demand: the rally into the first peak tends to be active, while the second rally comes on lighter volume as fewer buyers are willing to pay that price again. The break of the neckline then typically brings a pickup in volume. A second peak on much heavier volume than the first deserves caution, because it can mean buyers are still committed.
PatternX checks none of this directly. The double top detector has no volume rule of its own; the only requirement is the universal one, under which the breakout bar must trade at least 1.2 times the 20-bar average volume. Volume then counts as one weighted factor in the PatternX Score. See volume.
Common false signals
The double top is easy to see where none exists, which is why it produces so many false signals:
- Shorting the second peak. Most double-top-looking ranges are just ranges. Without the neckline break, there is no pattern.
- A slightly higher second peak. It can be a bull trap that starts the top, or the start of a real breakout. Watch whether price holds above the first peak.
- Shallow troughs. A dip of a fraction of a percent between two highs is noise, not a neckline.
- Breaks in thin markets. A neckline break on low volume or a wide spread is easy to reverse.
- The retest that becomes support. If price comes back above the neckline and holds, the break was a false breakout.
PatternX's minimum spacing between the peaks, its minimum trough depth and its universal liquidity and spread filters screen out some of these, but not all.
Market context
Double tops matter most after a strong, extended advance, especially when both peaks press against a level that is visible on a higher timeframe: a prior all-time high, a round number or a weekly resistance. They tend to carry more weight when momentum makes a lower high on the second peak while price makes an equal one.
They matter less inside an established range, where two similar highs are routine, and in powerful trends where pullbacks are bought quickly. Scheduled news can also create the second peak artificially. PatternX does not require a prior uptrend for this detector, and its multi-timeframe check influences the score without ever blocking a signal, so whether the context suits a reversal is your judgment call.
In crypto markets
Crypto double tops often form around round numbers and prior highs where large resting orders sit. Because the market trades 24/7, the two peaks can be separated by a weekend, when liquidity is thinner and a quiet rally can reach the old high without much participation. Stop runs above the first peak are common: a wick that pierces the high and snaps back can still leave a valid double top, since PatternX allows the peaks to differ by up to 2.5%.
On perpetual futures, open interest rising into the second peak while funding stays positive can point to late longs who become forced sellers on a break. The same coin can also show slightly different peaks on different exchanges, and PatternX analyses each exchange's chart on its own. See perpetual futures pattern trading.
In stocks, ETFs and FX
In stocks, the second peak can form into an earnings release, and the neckline break can arrive as an opening gap. A gap through the neckline means entering further below it, which eats into the measured move. Double tops in individual stocks also interact with their sector: if the whole group is rolling over, the pattern has company.
For index ETFs, a double top reflects the basket; leveraged ETFs exaggerate the shape, and an inverse ETF shows its mirror image, so a double top in the index appears there as a double bottom. In FX, highs are often tested twice in different sessions, and breaks tend to be most active during the London and New York overlap. Spot FX has no single consolidated volume figure, so volume confirmation is harder to judge there. More on traditional markets.
Timeframes
Intraday double tops are frequent and short-lived; daily ones take weeks to form and draw far more attention. Two highs on a 5-minute chart that look decisive can be invisible on the 1-hour.
PatternX's double top detector reads the latest 90 bars on whichever of its eight timeframes (1m to 1d) you scan. Within that window the two peaks must be 8 to 50 bars apart, and the second peak must be no more than 25 bars old at the break. On a 1-hour chart, that means peaks between 8 and 50 hours apart; on a daily stock chart, between about a week and a half and ten weeks. A double top whose peaks are four months apart will not be seen on the daily timeframe.
Example: the logic step by step
For example, a hypothetical crypto pair on a 4-hour chart:
| Item | Hypothetical value |
|---|---|
| First peak | 64,000 |
| Middle trough (neckline) | 60,800 |
| Second peak, 22 bars later | 64,600 |
| Peaks' average | 64,300 |
| Height | 3,500 |
| Latest price | 60,500 (previous close 61,100) |
- The peaks differ by about 0.9%, and the trough sits about 5.4% below their average.
- Measured-move target: 60,500 − 3,500 = 57,000.
- Pattern stop: 60,800 + 55% × 3,500 = 62,725, or about 62,850 with the 0.2% buffer.
- Reward:risk: 3,500 ÷ 2,350 ≈ 1.5.
A textbook stop above the higher peak, at 64,600 or beyond, would risk at least 4,100 to make 3,500, below 1:1, a ratio PatternX does not accept. With default settings (10% take-profit, 5% stop-loss), both pattern levels are nearer than the defaults, so they would be used.
How PatternX detects the Double Top
PatternX finds double tops with fixed rules applied to the last 90 bars of each chart it scans:
- Peaks and troughs come from a three-bar rule: a bar's high must be at least as high as the three bars before and after it (lows mirror this), so the second peak is only recognised three bars after it forms.
- It pairs two consecutive swing highs, newest pair first, that are 8 to 50 bars apart and equal within 2.5%.
- The neckline is the deepest swing low between them, and it must sit at least 2% below the peaks' average.
- The second peak must be no more than 25 bars old.
- Breakout: the newest bar's close is the first one below the neckline, since the previous close was not below it; that bar may still be forming.
- Stop = neckline + 55% of the height; target = entry − the height (the peaks' average minus the neckline).
Market checks follow. The breakout bar has to be a down bar, finishing below its open, on volume of at least 1.2 times its 20-bar average. ATR must be 0.05% of price or more, the liquidity score at least 30 and the spread no wider than 0.25%, and the order book cannot lean against the short by worse than −0.5. Crypto pairs also need $3M or more in 24-hour volume. Each detector returns at most one match per scan. See how PatternX detects patterns.
How PatternX Classic evaluates it
Under PatternX Classic, available on every plan, a double top is scored by the PatternX Score: 13 deterministic factors with fixed weights. Only 24% of that weight describes the pattern itself: geometry at 16% (the detector caps it at 85) plus a fixed per-pattern prior at 8%, which is a set value and not a statistic. The other 76% is market context: how strong the breakout bar is, volume, trend, higher-timeframe agreement, liquidity, spread, order-book balance, volatility, funding, open interest, and PatternX's live win rate on that exchange and symbol once at least 10 trades have closed.
Scores map to Elite (≥ 80), High (≥ 65), Medium (≥ 50) and Weak (below 50), and a signal must reach your minimum confidence, 65 by default. The tighter stop and nearer target are taken, setups below 1:1 reward:risk are dropped, signals expire after 15 minutes, and the risk controls check every order.
What PatternX AI adds
PatternX AI (Pro and Elite) does not search for double tops. It reviews one only after the deterministic engine has accepted it, using eight fixed, transparent factors. The interesting tension for this pattern is market structure: with two roughly equal peaks, recent swing highs may not yet show a clean lower-high sequence, so the factor asking whether the most recent three swing highs and three swing lows, within 60 candles, agree with a short can score modestly at the moment of the break. Momentum (RSI(14)), trend strength (EMA12 versus EMA26) and breakout-bar volume quality can offset that.
The layer then vetoes the setup (context score below 48, or structure below 35 together with momentum below 40) or re-weights its confidence. Your stop, target, size and risk checks do not change. See Classic vs AI.
Frequently asked questions
Is a double top bullish or bearish?
Bearish. It suggests an advance has failed twice at the same level, and PatternX trades it short once price breaks the neckline.
What does an M pattern mean in trading?
M pattern is another name for the double top: the two peaks and the trough between them trace an M on the chart. The mirror image, a W, is the double bottom.
How far apart should the two peaks of a double top be?
There is no universal rule, but the peaks should be separate attempts rather than one choppy high. PatternX requires them to be 8 to 50 bars apart on the timeframe being scanned.
How reliable is a double top?
It is a widely used pattern, but two similar highs appear in many charts that never break down, so the neckline break is what turns a shape into a setup. Even then, breaks fail; no honest figure applies across all markets and timeframes, so judge each one by its context and manage the risk.
Why isn't PatternX's double top stop placed above the peaks?
With a target of one pattern height, a stop above the peaks would risk more than the trade could make, which fails PatternX's 1:1 reward:risk minimum. The pattern stop sits at the neckline plus 55% of the height instead, and your own stop setting applies if it is tighter.
Can I backtest double tops in PatternX?
Yes, on paid plans. Backtests replay the same pattern engine bar by bar over recent candles but with neutral market context, so results can differ from live scoring; Starter includes basic backtesting and Pro and Elite the full version. See backtesting methodology.