Candlestick Pattern Identifier
Enter open, high, low and close for up to three candles and see which of 24 classic patterns they form, from doji and hammer to engulfing and morning star.
OpenMeasure a chart pattern's target and where it fails.
Your results
Cup and handle: measured-move target
$60.00Up $10.00 (20%) from the breakout at $50.00.
By the usual convention, the pattern counts as confirmed only once price closes above $50.00, and it's treated as failed if price goes back below $47.00. Many patterns fail or stop short of the target, so it is a reference level, not a forecast.
Estimates based on your inputs and the assumptions listed below. Not tax, financial or lending advice. Disclaimer
The dashed line shows the measured move: the pattern's height, projected from the breakout.
Depth of the cup (rim minus cup low), added to the rim.
Height = $10.00. Target = $50.00 + $10.00 = $60.00.
Risk = entry - stop = $3.00. Reward = target - entry = $10.00. Reward to risk = 3.33 to 1.
These are conventions traders use to size a move. Different books measure some patterns slightly differently.
| Pattern | Usual direction | How the target is measured |
|---|---|---|
| Cup and handle | Up | Depth of the cup (rim minus cup low), added to the rim. |
| Head and shoulders (top) | Down | Head minus neckline, subtracted from the neckline. |
| Inverse head and shoulders | Up | Neckline minus head low, added to the neckline. |
| Double top | Down | Peak minus the low between the peaks, subtracted from that low. |
| Double bottom | Up | The high between the lows minus the lows, added to that high. |
| Bull flag | Up | Length of the pole (pole top minus pole start), added to the breakout price. |
| Bear flag | Down | Length of the pole (pole start minus pole bottom), subtracted from the breakdown price. |
| Ascending triangle | Up | Height at the widest part (flat top minus first low), added to the flat top. |
| Descending triangle | Down | Height at the widest part (first high minus flat bottom), subtracted from the flat bottom. |
| Symmetrical triangle | Either way | Height at the widest part (first high minus first low), added to or subtracted from the breakout price. |
| Rectangle (trading range) | Either way | Height of the range (top minus bottom), added to the top or subtracted from the bottom. |
| Rising wedge | Down | Height at the widest part (first high minus first low), subtracted from the breakdown price. Some traders instead expect a move back to where the wedge began. |
| Falling wedge | Up | Height at the widest part (first high minus first low), added to the breakout price. Some traders instead expect a move back to where the wedge began. |
| Bull pennant | Up | Length of the pole (pole top minus pole start), added to the breakout price. Same rule as a bull flag. |
| Bear pennant | Down | Length of the pole (pole start minus pole bottom), subtracted from the breakdown price. Same rule as a bear flag. |
| Triple top | Down | Peak minus the support line under the three peaks, subtracted from the support. |
| Triple bottom | Up | The resistance line over the three lows minus the lows, added to the resistance. |
| Rounding bottom (saucer) | Up | Depth of the saucer (left rim minus the low), added to the rim. Like a cup and handle without the handle. |
| Inverse cup and handle | Down | Height of the cup (cup high minus rim), subtracted from the rim. |
| Ascending channel | Either way | Width of the channel (upper line minus lower line), added to the upper line on a breakout or subtracted from the lower line on a breakdown. |
| Descending channel | Either way | Width of the channel (upper line minus lower line), added to the upper line on a breakout or subtracted from the lower line on a breakdown. |
| Broadening formation (megaphone) | Either way | Height at the widest part (the last swing high minus the last swing low), added to the high on a breakout or subtracted from the low on a breakdown. |
| Diamond top | Down | Height at the widest part (highest high minus lowest low), subtracted from the breakdown price. |
| Diamond bottom | Up | Height at the widest part (highest high minus lowest low), added to the breakout price. |
| Island reversal (top) | Down | There's no single standard target. One simple convention: the island's height (its high minus its low), subtracted from the bottom of the island where the second gap opened. |
| Island reversal (bottom) | Up | There's no single standard target. One simple convention: the island's height (its high minus its low), added to the top of the island where the second gap opened. |
| Bump-and-run reversal (top) | Down | After price breaks the lead-in trendline, the usual expectation is a fall back to where the bump started. Target = the price at the start of the bump. |
Short answer
Most chart pattern targets use a measured move: take the pattern's height and add it to the breakout price, or subtract it for a breakdown. For a cup and handle, that's the cup's depth added to the rim. It's a trading convention, and many patterns fall short or fail.
A cup and handle with a $10.00 height and a breakout at $50.00 has a measured-move target of $60.00. The pattern is usually treated as failed at $47.00.
Height = the pattern's widest distance (rim minus cup low, head minus neckline, peak minus support, pole length, wedge, triangle, channel or diamond height). Target = breakout + height for upward patterns, breakout - height for downward ones. Risk = entry - stop (reversed for downward patterns). Reward = target - entry. Reward to risk = reward / risk.
Measure the cup's depth from the rim high to the cup low, then add it to the rim (the breakout level). A cup with a $50 rim and a $40 low has a $10 depth, so the measured target is $60.
Take the distance from the top of the head down to the neckline, then subtract it from the neckline where price breaks below. An inverse head and shoulders works the same way upside down.
Often they don't. A measured move is a rule of thumb for sizing a possible move, not a forecast. Breakouts fail, reverse or stop short, which is why traders decide where the pattern fails before anything else.
By the usual convention, a drop back below the handle low means the pattern has failed. Some traders use a tighter level, such as the middle of the handle.
No. You type in the levels from a chart you're studying, and it does the math. It doesn't use market data or suggest trades.
A common rule takes the wedge's height at its widest part, where it began, and projects it from the breakout. A rising wedge usually breaks down and a falling wedge usually breaks up. Some traders instead expect a move back to where the wedge started.
Both follow a sharp move called the pole. A flag drifts in a small parallel channel against the move, while a pennant narrows into a small triangle. Both are measured the same way: the pole's length added to (or subtracted from) the breakout.
Take the distance from the peaks down to the support line under them, then subtract it from the support where price breaks below. A triple bottom works the same way upside down.
Formulas and figures last checked Nov 5, 2026.
Go deeper
Enter open, high, low and close for up to three candles and see which of 24 classic patterns they form, from doji and hammer to engulfing and morning star.
OpenCheck XABCD swings against the Gartley, Bat, Butterfly and Crab ratios and see where D would complete each pattern.
OpenRisk/reward ratio from your entry, stop and target, the win rate you need to break even, and expected results at different win rates.
Open