CUP AND HANDLE INDICATOR FOR METATRADER

Spot profitable breakouts with precise cup and handle detection

Cup and Handle patterns are one of the most reliable chart formations in technical analysis, often signaling the continuation of an existing trend after a period of consolidation. This indicator scans the market in real time to detect valid patterns based on customizable shape, retracement, and symmetry criteria—then waits for a confirmed breakout before signaling the trade. It offers traders a non-repainting, visually clean, and highly actionable way to capitalize on long-term bullish opportunities.

  • Identifies valid cup and handle patterns in real time
  • Provides clear breakout signals with visual confirmation
  • Fully customizable size, retracement, and shape filters
  • Displays stop-loss and take-profit levels automatically
  • Implements all types of alerts (visual, sound, email, push)
  • Includes performance dashboard with win/loss stats
  • Non-repainting and non-backpainting logic
  • Works across all markets and timeframes
  FAQ

Screenshots

Description

The PZ Cup and Handle Indicator is a reliable technical analysis tool for identifying cup and handle patterns in the financial markets. These patterns are characterized by a rounded “U” shaped base (the cup), followed by a smaller downward-sloping consolidation (the handle). Often considered bullish, these formations signal potential breakouts and offer high-probability trade setups.

This indicator is designed to help traders easily spot valid cup and handle formations on the chart by applying smart detection algorithms and visual confirmations. It offers precise entry signals with breakout arrows, and it also draws appropriate stop-loss and take-profit levels. Whether used for continuation or reversal setups, the PZ Cup and Handle Indicator is a robust, non-repainting and non-backpainting tool for swing and trend traders.

Key Features

  • Automatically detects valid cup and handle chart patterns
  • Identifies breakout points and plots SL/TP levels on the chart
  • Allows full customization of size, colors, pattern strictness, and alerts
  • Sends screen, email, sound, and push alerts on pattern completion and breakouts
  • Provides performance statistics and on-chart pattern labeling
  • Works on all instruments and timeframes
  • Non-repainting and non-backpainting for reliable signals

Usage Notes

The indicator waits for breakout confirmation before issuing a signal, increasing the reliability of trade setups. To detect patterns of varying lengths, you can load the indicator multiple times on the same chart with different amplitude values (e.g., 6, 12, 18, 24).

Input Parameters

  • Amplitude – The minimum number of bars between alternating price points. Larger amplitudes detect bigger and longer-lasting patterns; smaller amplitudes detect more frequent, smaller patterns.
  • Cup Flatness Ratio – This setting controls how flat the top of the cup must be relative to its width. Higher values will only accept more symmetrical and stricter cup shapes, while lower values will detect looser formations.
  • Min Handle Retracement – Minimum handle retracement in percentage terms. This defines how much the handle pulls back from the cup’s peak before a breakout.
  • Max. Retracement – Maximum allowable retracement for the handle as a percentage. Handles that retrace beyond this threshold will not be considered valid.
  • Max History Bars – Number of historical bars to evaluate for pattern detection when the indicator loads. A lower value improves performance and loading speed.
  • Display Stats – Show or hide the statistics panel with historical performance and success rate of detected patterns.
  • Display SL/TP Levels – Enable or disable the drawing of suggested stop-loss and take-profit levels.
  • Drawing Options – Customize the visual appearance of detected patterns, including color and line width for bullish and bearish setups, label fonts, and sizes.
  • Breakouts – Set the size and color of breakout arrows that appear when the price confirms the pattern by breaking out from the handle.
  • Alerts – Enable or disable alerts (visual, email, push and sound)

Related Indicators & Bots

Frequently Asked Questions

No, the indicator does not repaint or backpaint. Once a pattern is confirmed and drawn, it stays fixed on the chart.

No, to prevent false signals and maintain accuracy, the indicator only displays the pattern when the breakout happens. This ensures that only confirmed setups are signaled.

Yes. You can adjust the amplitude, cup flatness, and handle retracement to define what kind of patterns to detect—stricter or looser formations.

Amplitude refers to the minimum number of bars between significant price points that form the pattern. Higher amplitude detects larger patterns, lower amplitude finds smaller, more frequent ones.

Try decreasing the amplitude or relaxing the cup flatness and retracement criteria. Patterns must meet strict rules to be validated, so fewer signals mean higher quality.

Yes, the Cup and Handle pattern can appear during both trend continuation and trend reversal setups, depending on the context in which it forms.

Yes, the indicator supports visual alerts, email notifications, push alerts, and sound alerts when a new valid pattern is detected.

Yes, the indicator displays SL and TP levels automatically based on the pattern’s structure and breakout dynamics.

Yes, you can enable a built-in dashboard that shows win/loss performance metrics and overall accuracy of the signals.

Absolutely. You can load multiple instances on the same chart using different amplitude values to capture overlapping or nested patterns of varying size.

The indicator works across all timeframes and is suitable for forex, stocks, indices, commodities, and cryptocurrencies.