HEAD AND SHOULDERS INDICATOR FOR METATRADER

Spot high-probability reversals with accurate head & shoulders detection

Recognized as one of the most reliable reversal formations in technical analysis, this tool scans for key chart structures that often mark the end of prevailing trends. It detects both standard and inverse setups in real-time, filtering by retracement depth, neckline slope, and formation size—enabling traders to act confidently on signs of trend exhaustion. Ideal for identifying major turning points or confirming broader price action, it brings clarity and precision to your technical analysis.

  • Provides reliable breakout signals with optional SL/TP levels
  • Customizable Fibonacci retracement filters and neckline angle tolerance
  • Implements complete performance statistics and win/loss tracking
  • Offers multi-instance usage for pattern detection at different scales
  • Fully configurable visuals: adjust colors, sizes, and pattern labels
  • Supports push, sound, email, and visual alerts
  • Does not repaint or backpaint
  FAQ

Screenshots

Description

The PZ Head and Shoulders Indicator is a technical tool for MetaTrader designed to detect and highlight head and shoulders chart patterns in real time. These formations consist of three peaks — the middle one (head) being the highest — and typically signal a bullish-to-bearish trend reversal. They are widely regarded as one of the most reliable reversal signals in technical analysis.

This indicator not only detects both classic and inverse head and shoulders patterns, but also confirms them through breakout signals and provides traders with actionable insights including suggested stop-loss and take-profit levels. It can also be used to detect continuation patterns, depending on market context.

The PZ Head and Shoulders Indicator is fully non-repainting and non-backpainting, making it a highly dependable tool for identifying trade setups as they occur. Once a pattern completes and a breakout occurs, a signal is issued along with SL/TP guidance. Additionally, a performance dashboard helps traders evaluate pattern accuracy.

Key Features

  • Detects both head and shoulders and inverse head and shoulders patterns
  • Displays breakout signals, stop-loss and take-profit levels
  • Non-repainting and non-backpainting logic
  • Includes statistics dashboard with pattern success rate
  • Customizable visual settings for clarity and user preference
  • Alerts via screen, email, push, and sound
  • Works on all timeframes and instruments
  • Ideal for trend reversals or continuation confirmations

Technical Notes

  • Indicator is evaluated on bar close (not tick-by-tick)
  • Breakout arrows confirm trade direction
  • SL/TP levels are based on neckline structure
  • Can be used with multiple instances for different amplitudes
  • Compatible with any symbol and timeframe

Input Parameters

  • Amplitude – The minimum number of bars between swing points. Increase to find larger patterns, decrease to find smaller ones. Multiple instances with different amplitudes can be loaded on one chart.
  • Min. Retracement – Minimum required Fibonacci retracement percentage for a valid pattern. Set to 0 to ignore this condition.
  • Max. Retracement – Maximum allowed Fibonacci retracement percentage for a valid pattern. Set to 0 to ignore this condition.
  • Cup Flatness Ratio – Defines how flat the neckline must be relative to the height of the pattern. Higher values find stricter, cleaner patterns. Lower values allow more flexibility and frequency.
  • Max History Bars – Number of bars to scan on indicator load. Reducing this can speed up chart loading.
  • Display Stats – Toggle to show or hide the statistics dashboard that tracks the performance of the patterns.
  • Display SL/TP Levels – Toggle to show or hide the automatic stop-loss and take-profit levels shown on each signal.
  • Drawing Options – Customize line and label colors for bullish and bearish patterns, including font sizes and thickness.
  • Breakouts – Customize the colors and sizes of breakout confirmation arrows.
  • Alerts – Enable or disable all types of alerts (visual, email, push, sound)

Related Indicators & Bots

Frequently Asked Questions

No, the indicator is fully non-repainting and non-backpainting. Once a pattern and its breakout are detected and plotted, they remain fixed on the chart. This ensures reliability for backtesting and live trading alike.

No. The pattern and breakout arrow are plotted simultaneously. This is a deliberate design choice to prevent premature or misleading pattern visualization, and to ensure that only actionable, confirmed setups are shown.

The breakout arrow marks the confirmation of the pattern—where the neckline is broken in the expected direction. This serves as a strong entry signal for both reversal and continuation scenarios.

Yes. The indicator provides customizable alerts of all kinds: visual pop-ups, sound notifications, email alerts, and push alerts for both pattern formation and breakout confirmation.

Yes. It automatically scans for both bullish (inverse) and bearish (standard) Head & Shoulders formations and labels them accordingly on the chart.

The indicator uses strict geometric and Fibonacci-based rules to filter out unreliable formations. If a structure does not meet the minimum retracement or neckline flatness criteria, it will not be shown—ensuring only high-probability setups appear.

This parameter controls how horizontal (flat) the neckline of the pattern must be to be considered valid. A lower value allows for more sloped necklines, while a higher value enforces stricter flatness.

Absolutely. You can adjust the colors, line thickness, label sizes, and other drawing settings for both bullish and bearish patterns, making it easier to integrate the tool into your preferred chart style.

Yes. You can load multiple instances of the indicator on the same chart with different amplitude values to scan for larger or smaller Head & Shoulders patterns at the same time.

The indicator suggests SL and TP levels based on the structure of each pattern and its breakout. These levels can be shown or hidden based on your preferences.

Performance impact is minimal. However, reducing the “Max History Bars” parameter can speed up initial loading if you're working on low-spec systems or loading multiple instances.