Double top and double bottom patterns explained
By Oalgo · Last reviewed
A double top is two swing highs at about the same price with a dip between them. People read it as a possible turn from up to down once price closes below the lowest point of that dip, the neckline. A double bottom is the mirror image: two swing lows at about the same price, confirmed by a close above the highest point between them.
How do you define a double top so a rule can use it?
#- Take the last two swing highs. Support and resistance shows how swings are found.
- They must be close in height, within a tolerance you choose, for example 0.3% of each other.
- The dip between them must be deep enough, for example at least 1% below the second top. Without a minimum depth, every small wiggle counts as a dip.
- The neckline is the lowest low between the two tops.
- The pattern is confirmed when a candle closes below the neckline. It is cancelled if a candle closes above the higher top first.
- A double bottom is the same with every comparison turned over: two swing lows, the highest high between them as the neckline, and a close above it.
What does a worked example look like?
#| Part | Made-up price | Check |
|---|---|---|
| First top | 120 | |
| Second top | 120.2 | |120.2 − 120| ÷ 120 = 0.17%, within the 0.3% tolerance |
| Dip between them (the neckline) | 111 | (120.2 − 111) ÷ 120.2 = 7.7%, above the 1% minimum |
| Confirmed | A close below 111 | Not before |
| Cancelled | A close above 120.2 first | |
| Double bottom, mirrored | Lows 80 and 79.9, high between them 88 | Confirmed by a close above 88 |
The tolerance decides what counts. Move the second top to 121 and the gap to the first top is |121 − 120| ÷ 120 = 0.83%. That is outside a 0.3% tolerance and inside a 1% tolerance, so the same chart is a double top for one rule and not for another.
How is a double top different from a head and shoulders?
#A double top has two peaks at about the same height. A head and shoulders has three, with the middle one highest. Both are confirmed by a close beyond a neckline, and both are known only after that close.
How do people use these patterns in rules?
#- An exit from a long trade when a double top is confirmed.
- An entry for a falling price on the close below the neckline, and for a rising price on the close above it after a double bottom.
- A stop just beyond the second top or the second bottom.
- Tolerance and minimum depth as settings, tested at more than one value.
What can these patterns not tell you?
#Like every pattern defined by swings, a double top is known late: first the swing has to be confirmed, then price has to close through the neckline. Picking out double tops on a chart you already know is lookahead bias. A confirmed pattern can still be followed by a rise, and price can run on past the second top. Test the exact definition on past prices before you rely on it.
In Oalgo you can tell Oalgo AI your double top or double bottom rule in your own words, check the rule it builds, and test it. After testing, if you choose, you Go Live with your own Live Strategy on your own Venue Account at a Supported Venue.
Read next
- Head and shoulders pattern explainedA head and shoulders is three swing highs with a higher one in the middle. Learn how to define it exactly, how the neckline is used, and its limits.
- False breakout: what it is and how to define oneA false breakout is a move past a level that does not hold. Learn two exact definitions a rule can use, a worked example, and why it is only known afterwards.