← Back to Learn
By AlgoRaj Editorial Team · Published 2026-05-31 · 7 min read

Double Top and Double Bottom (M and W) Patterns: A Practical Guide

Price rarely moves in a straight line. Before a meaningful trend reversal, markets often leave behind a distinctive footprint — two attempts at the same level, each one telling you something about who is winning the tug-of-war between buyers and sellers. The double top and double bottom are among the most recognised of these footprints, and understanding the psychology behind each swing is what separates traders who use them well from those who get caught in false breaks.

What Is a Double Top (the M Pattern)?

A double top forms after a sustained uptrend. Price rallies to a high, pulls back to an interim support level (the neckline), then rallies again — but fails to push meaningfully beyond the first high. The two peaks create a shape resembling the letter M.

The psychology is straightforward: during the first peak, buyers are in control but sellers step in and push price back. The pullback attracts fresh buyers who expect the uptrend to continue. When those buyers push price back toward the old high and find sellers waiting at the same level again, it signals that supply is persistent. The second failure exhausts bullish momentum.

The pattern is only confirmed when price closes below the neckline — the swing low between the two peaks.

What Is a Double Bottom (the W Pattern)?

A double bottom is the mirror image. It forms after a downtrend: price drops to a low, bounces to a neckline resistance, then falls again — but holds near the first low. The two troughs create a W shape.

Here, sellers dominate at first but cannot push price to new lows on the second attempt. Buyers absorb the selling pressure and begin to assert control. Confirmation comes when price closes above the neckline.

Both patterns share a common thread: the second attempt is the market's re-test of a key level, and the failure of that re-test is the signal.

The Neckline: Why It Matters

The neckline is the horizontal line connecting the swing low (in a double top) or swing high (in a double bottom) between the two turning points. It is not always a perfectly flat line — sometimes it is mildly sloped — but it represents the boundary between the old trend and the new.

Why is it important?

If price breaks the neckline convincingly and then returns to retest it, that retest can offer a lower-risk entry than the initial breakout.

Entries: Confirmation vs Anticipation

There are two broad approaches to entering a double top or double bottom trade.

Confirmation entry: Wait for a candle to close beyond the neckline. On the daily chart, this means a day's close below the neckline for a double top, or above it for a double bottom. This reduces false break risk but means you enter after some of the move has already happened. On fast-moving indices like NIFTY, this can sometimes leave you entering late, particularly if the breakout candle is wide.

Anticipation entry: Some traders enter near the second peak or trough, before neckline confirmation, using the pattern shape as their guide. This improves the risk-reward ratio but carries more risk if the pattern fails.

For most beginner-to-intermediate traders, confirmation entries are more appropriate. Just be aware that waiting for one more confirmation beyond the initial close — such as a retest of the neckline — can sometimes mean missing the move entirely if the follow-through is sharp.

Stop-Loss Placement

Both patterns have a logical stop-loss location: beyond the extreme of the pattern.

Pattern Entry trigger Stop-loss
Double Top Close below neckline Above the higher of the two peaks
Double Bottom Close above neckline Below the lower of the two troughs

Placing the stop beyond the pattern extreme means the trade is clearly wrong only if the market makes a new high (double top) or a new low (double bottom), invalidating the reversal thesis entirely. Avoid placing stops arbitrarily tight — a stop inside the pattern is likely to get hit by normal volatility.

Measured-Move Target and Reward-to-Risk

The classic measured-move target for both patterns is simple: measure the vertical distance from the neckline to the peak (double top) or trough (double bottom), then project that same distance from the neckline in the direction of the breakout.

For example, if a double top has peaks at 24,500 on NIFTY and a neckline at 24,000, the height is 500 points. The measured-move target would be 24,000 − 500 = 23,500.

Before entering, check whether this target produces an acceptable reward-to-risk ratio relative to your stop. A setup where the stop requires risking 400 points to make 200 points is not worth taking, regardless of how clean the pattern looks.

Anchoring to Higher-Timeframe Structure

One of the most reliable ways to improve the quality of double top and double bottom setups is to anchor them to a higher-timeframe support or resistance zone.

When the pattern coincides with a pre-existing structural level, you are not just relying on pattern geometry — you are trading the same area that larger participants have already identified as significant. Setups that align with higher-timeframe structure tend to have cleaner follow-through and tighter false break rates.

Common Failure Modes and False Breaks

Double tops and double bottoms fail more often than many traders expect. Common reasons include:

When you see a neckline break that immediately reverses, mark it as a failed pattern and step aside. Forcing a trade in the opposite direction without a fresh setup is reactive, not analytical.

Automating the Scan

Identifying double tops and double bottoms visually across hundreds of NSE stocks every day is impractical. A scanner can flag candidates by checking whether the two most recent significant swing highs (or lows) within a defined lookback window are within a close range of each other and whether price is approaching the neckline zone.

Tools like AlgoRaj or custom Python scripts can run such scans end-of-day and produce a shortlist for manual review. Automation does not replace judgment — it filters the universe so you spend your time on the ten most relevant setups rather than scrolling through five hundred charts.

Key Takeaways


This article is for educational purposes only and is not investment advice. Trading in financial markets involves risk of loss.

chart patternsdouble topdouble bottomprice action

Written and reviewed by the AlgoRaj Editorial Team — traders and engineers covering Indian intraday and F&O markets. This article is educational and is not investment advice; see our Risk Disclaimer.