Two similar highs can look like a classic double top, but they do not by themselves establish a bearish reversal. The defining question is whether price subsequently breaks the intervening swing low, commonly called the neckline. Separating a potential pattern from a confirmed breakdown helps avoid interpreting every second visit to resistance as a sell signal.
1. Define the double top before trading it
A conventional bearish double top develops after an advance. Price forms a first peak H1, retreats to an intervening trough N, rebounds to a second peak H2 near H1, and then potentially breaks N. The peaks do not need to be identical. The second peak may be slightly higher or lower depending on the chosen tolerance. Without the preceding advance, a similar shape may simply be part of a sideways range.
One reproducible definition compares peak difference with their average: peak mismatch (%) = 100 × |H1 − H2| / [(H1 + H2)/2]. For positive prices, a tolerance of 2% is one illustrative rule, not a universally valid setting. Define minimum trough depth and minimum and maximum bar separation as well; otherwise small fluctuations may be mislabeled as significant patterns. Use a consistent source such as closing-price pivots or intrabar high/low pivots rather than switching between them after seeing the outcome.
2. Worked example: confirmation versus invalidation
All prices below are hypothetical completed closing-price observations. In both scenarios the sequence begins at 100, rises through 108 to 120, retreats through 114 to 110, and rebounds through 115 to 119. The peak mismatch is 100 × 1/119.5 = approximately 0.84%, within the illustrative 2% tolerance. The intervening trough is 110. With an explicit close-below-neckline confirmation rule, neither peak by itself creates a confirmed breakdown.
| Observation | A: Breakdown | B: Failed candidate |
|---|---|---|
| First peak | 120 | 120 |
| Neckline | 110 | 110 |
| Second peak | 119 | 119 |
| Subsequent closes | 113, 108, 104, 100 | 113, 112, 116, 121 |
| Confirmation | 108 < 110 | None |
| Invalidation before confirmation | No | 121 > 120 |

Under a strict rule that cancels a pending pattern on a close above the higher peak, scenario B is invalidated at 121. A different tolerance-based cancellation rule could produce a different result; it must be specified before testing. The 2% peak-matching tolerance is distinct from this cancellation condition.
3. Calculate the measured target transparently
A traditional price projection subtracts the pattern height from the neckline. Using the higher peak as the height reference in this example: height = max(120,119) − 110 = 10; projected target = 110 − 10 = 100. Using the average peak of 119.5 would produce 100.5 instead. Either convention should be specified consistently. These projections are geometric reference levels, not probabilities, forecasts or guarantees that an order will fill.
Notice that a confirmed close of 108 is already two units below the neckline. The actual remaining reward to the 100 reference is eight units, not ten. This distinction matters when a fast breakdown or gap makes entry significantly worse than the neckline price.
4. Separate confirmation, execution and risk
A close below 110 confirms the illustrated rule, but it does not ensure a profitable short. Possible additional filters include a minimum tick or volatility-adjusted penetration, increased relative volume where reliable data exists, or a subsequent failed retest of the neckline. A retest is optional and may never occur. For a confirmed pattern, a close back above 110 can serve as an independently tested exit or failure rule. A protective stop may be elsewhere according to the strategy's risk design.
Assume, solely for illustration, that a later executable short entry is 108, a separately chosen protective stop is 114, and a reference target is 100. Gross risk is 6 per unit, gross reward is 8, and gross reward/risk is 8/6 = 1.33. With round-trip costs estimated at 0.50 per unit, planned risk is 6.50 and net reward is 7.50, giving approximately 1.15:1. With a risk budget of 325, a hypothetical position would be floor(325/6.50) = 50 units, assuming a one-dollar value per price unit per unit held. For derivatives use the actual contract point value and tick size. Short selling may involve borrowing costs, restrictions, margin and losses larger than the planned stop; gaps and execution slippage can increase losses.
5. Avoid common pattern-testing errors
- Do not mark a swing high as known on the pivot bar if your algorithm needs future bars to confirm it. With two bars of right-side confirmation, the pivot becomes observable only after those two bars close.
- Freeze the neckline and peak reference once the candidate is qualified; explicitly define whether later pivots replace or cancel the candidate.
- Do not fill a simulated short at 110 after observing a close of 108 unless that fill was realistically available under the order model. Model the next executable price, spread, fees and slippage.
- Compare close-based and intrabar-based breakdowns separately; record rejected candidates, confirmed trades, failures and unresolved patterns, not just visually successful examples.
- Validate tolerance, separation, depth and exit rules on unseen chronological data; compare against a simple neckline-break baseline. Report net expectancy, drawdown, sample size and parameter sensitivity. No performance advantage is assumed without evidence.
6. Key takeaway
The double top is a structured hypothesis about a possible trend reversal, not an automatic short signal. Define the peaks and neckline, wait for an observable confirmation, and evaluate risk from the actual executable price. If you would like to translate these detection, alert or validation rules into a custom trading tool, explore our Custom Trading Software Development Services.
Risk disclosure: This article is educational and is not investment advice. All numerical examples are hypothetical. No actual backtest or live performance is claimed. Trading, especially short selling and leveraged trading, can cause substantial losses.