TradingView chart patterns

Inverted cup and handle pattern: the breakdown and the failure

An inverted cup and handle pattern has a rounded crest followed by a smaller rebound on its right side. The bearish hypothesis becomes actionable as a signal only after a defined support break. The shape alone does not establish that price will fall, and a breakdown signal does not establish that a short sale is available or suitable.

See the decision guide

Read the rounded top and the handle separately

The inverted cup rises into a broad crest, then falls back toward its starting price. Its handle is the smaller upward or sideways pause that follows. IG describes this as a bearish continuation formation. Record the preceding trend separately: a similar outline after an advance is a topping hypothesis, which should not be pooled with continuation examples in a test.

  • A reverse cup and handle pattern is another name for this inverted structure. Its handle points upward, unlike the downward pullback of a bullish cup and handle.
  • A smooth curve is a visual description, not a complete detector. Specify rim tolerance, cup duration, handle depth and swing selection before asking software to recognize it.
PartWhat to markWhat does not suffice
CupLeft rim, rounded crest and right rimOne sharp spike followed immediately by a plunge
HandleA subsequent rebound below the crestEvery small bounce on the descending side of the cup
SupportA level chosen before the breakdownA line moved lower after every failed break
ConfirmationA completed close below that level for this exampleAn intrabar low that closes back above support

A bearish example with a fixed support level

This hypothetical chart uses a flat support level of 100, a cup crest of 120 and a handle high of 106. It is a schematic, not market data or a backtest. The sequence begins after a prior decline; the cup temporarily rebounds against that decline.

  • The half-point rim band and one-third handle limit are choices for this example, not verified optimal settings or a universal definition.
  • A drop to 99 followed by a close at 100.3 fails this close-based signal rule. Waiting for a close also delays the decision compared with reacting to the first price below support.
  • A reference projection could subtract cup height from support: 100 - 20 = 80. This is only geometry. It supplies neither a probability of reaching 80 nor a reason to ignore intervening support.
  • Unequal rims require a declared rule. A sloping support line is a different model; evaluate its value at each bar rather than reusing the flat 100 threshold.
Illustrative ruleExample calculationDecision
Cup sizeCrest 120 minus support 100 = 20Save this height before measuring the handle
Rim toleranceBoth selected rim lows lie from 99.5 to 100.5Reject this example if either rim falls outside the band
DurationCup spans 40 bars; handle spans 8 barsRequire a handle shorter than the cup
Handle depth(106 - 100) / 20 = 30%Accept under an illustrative maximum of one-third
BreakdownPrevious close 100.4; current completed close 99Record one new crossing below the saved 100 level
Illustrative price path; spacing is not to scaletext
Price
120 |              .------.
    |           .-'        '-.
110 |        .-'              '-.
106 |       /                    \       /\  handle
100 |------L----------------------R-----/--\---------- support
 99 |                                       x  close below 100
    +--------------------------------------------------> time
           rounded cup                    breakdown

L = left rim     R = right rim     x = signal, not a fill

Compare a distribution top and ordinary head and shoulders

These labels can overlap visually, but they impose different tests. Use the geometry and preceding trend to classify the setup. A price outline alone cannot identify which investors sold or prove institutional distribution.

  • TradingView defines ordinary head and shoulders by its peaks and neckline. A broad dome without those separate swings should not be relabeled merely to obtain a second confirming indicator.
  • Overlapping labels describe the same underlying prices. Counting both as independent evidence can exaggerate the amount of confirmation.
DescriptionDistinguishing requirementConfirmation question
Inverted cup and handleA rounded crest followed by a distinct, smaller reboundDid price break the support specified for this cup and handle?
Broad distribution or rounding topA topping interpretation after an advance; no separate handle is required by the label aloneWhich support and prior-trend rules make this interpretation testable?
Ordinary head and shouldersThree separate peaks, with the middle peak highest, and two intervening lowsDid price break the neckline after the right shoulder formed?
Failed bearish setupA candidate or confirmed break followed by the chosen invalidation eventWas failure recorded without deleting the original signal?

Define failure before following the breakdown

For the hypothetical 100 support and 106 handle, use the following lifecycle. These are custom close-based rules. They are not claims about a built-in TradingView inverted-cup detector.

  • Evaluate rejection before confirmation on each bar. A candidate that has expired cannot be revived by a later breakdown.
  • A retest is optional. If required, define its price tolerance and time window before testing; some declines will never offer that retest.
  • The close-based failure rule is an analytical label, not a protective stop order. An intrabar rise or overnight gap can create a loss before the next close.
StateRule for this exampleConsequence
CandidateHandle has formed, but no eligible close below 100No breakdown signal yet
Rejected candidateClose above 106 before the breakdown, or no break within 10 bars after handle confirmationDiscard the saved setup; any new handle needs a new candidate
Confirmed breakFirst eligible close crosses from at least 100 to below 100Save event time and the original levels
Failed breakA later completed close returns above 100Record failure even if the price eventually falls again
Handle invalidationPrice later closes above 106The original handle has also been exceeded

A bearish signal is not permission to sell short

Selling an existing holding and opening a short position are different transactions. For stock short sales, Investor.gov explains the borrowing process, margin and fees, possible dividend obligations and the possibility of unlimited losses. A chart pattern checks none of those conditions.

  • Verify that the instrument and account permit a short position, and that the broker can supply the required shares. A historical signal does not prove historical borrow availability.
  • State whether the test submits an order after the signal close or waits for a retest. A signal close of 99 is not an assured entry at 99; gaps, spreads and slippage change fills.
  • Include commissions and borrowing or financing costs where applicable. Specify position size and stop behavior separately from pattern recognition.
  • In a hypothetical fill at 99 with an intended stop at 106.5, the nominal price risk is 7.5 per share before costs. That arithmetic does not cap the actual loss when the fill differs from the stop level.

Turn the pattern into rules that can be reviewed

Give Pineify the intended price source, chart timeframe, trend filter, cup-selection method, rim tolerance, handle limit and support rule. Ask for separate candidate, breakdown and failure events. Review the generated draft in TradingView and explicitly request a syntax check before using it.

  • Specify how the script measures roundness. For example, a curve-fit error limit is a different method from a sequence of confirmed swings; the schematic alone cannot choose between them.
  • If a handle pivot requires three bars to its right, it becomes known three bars later. Put the usable event at confirmation time, even when drawing the original pivot at its historical location.
  • Reject or separately classify breaks that occur before the selected handle is confirmed. Do not place an earlier trade because the completed historical chart later looks correct.
  • Keep the saved support and rejected candidates in the audit output. Check the same fixed rules on another period before interpreting a good-looking chart as evidence of repeatability.
Where Pineify fits

Pine Script AI Coding Agent

Use Pineify to draft a detector from explicit cup, handle and confirmation rules. Inspect the generated code and request syntax validation, then test its event timing. This guide does not scan markets, place short orders or report tested returns.

Draft bearish pattern rules

Frequently asked questions

Educational information, not investment advice. The chart, prices and thresholds are hypothetical. No success rate or trading performance has been measured here. Short selling can produce losses exceeding the initial investment.

Sources and verification

Published by Pineify. Pineify is an independent product and is not affiliated with TradingView. Sources support the technical explanations; examples do not establish trading performance.