Adaptive Quasimodo + Confluence Engine - PhenLabs📊Quasimodo Pattern (QM) Detector - PhenLabs
Recognizing reversal patterns like the Quasimodo can be challenging and time-consuming, requiring a keen eye for specific market structures. Missing a key swing point or misinterpreting a retracement can lead to missed opportunities or false signals. This indicator automates the precise identification of Quasimodo patterns, providing clear, actionable signals directly on your chart, so you can focus on execution.
🚨OVERVIEW🚨
The Quasimodo Pattern (QM) Detector is an advanced, non-repainting indicator designed to automatically spot high-probability bullish and bearish Quasimodo reversal patterns. It integrates customizable swing point detection, confluence filters (Higher Timeframe trend and volume confirmation), and precise entry, stop-loss, and take-profit calculations directly from the pattern’s structure. Get automated alerts and a real-time dashboard to enhance your pattern-based trading strategy.
🔷 WHAT IS A QUASIMODO (QM) PATTERN?
The Quasimodo pattern is a powerful reversal formation characterized by a specific sequence of price action:
Bearish QM: A Higher High (HH) is followed by a Lower Low (LL), then a Higher High (HH), and finally a Lower Low (LL). The pattern suggests a reversal from an uptrend to a downtrend, often at the level of the previous Higher High.
Bullish QM: A Lower Low (LL) is followed by a Higher High (HH), then a Lower Low (LL), and finally a Higher High (HH). This suggests a reversal from a downtrend to an uptrend, often at the level of the previous Lower Low.
It’s a cousin to the Head & Shoulders pattern but with a distinct structure focused on specific swing points.
🔶 KEY FEATURES
Automated QM Detection: Accurately identifies both bullish and bearish Quasimodo patterns as they form on any timeframe.
Customizable Swing Points: Define how swing highs and lows are detected, choosing between using wick extremes or candle bodies.
Confluence Filters: Incorporates a Higher Timeframe (HTF) Trend filter to confirm pattern alignment using a non-repainting EMA, and a Volume Confirmation filter to validate patterns with significant volume spikes at key structural points.
Dynamic Trade Planning: Automatically calculates suggested Entry, Stop Loss, and Take Profit levels based on the detected QM structure and your desired Risk-to-Reward ratio.
Non-Repainting Logic: All detected patterns and signals are permanent and do not shift or disappear on subsequent bars.
Informative Dashboard: Provides a real-time summary of HTF trend, volume confirmation, and the last detected QM.
Visual Clarity: Plots QM lines, potential entry/SL/TP zones, and clear labels for pattern identification.
Alerts: Customizable alerts for new QM patterns and when price enters the suggested entry zone.
⚙️ SETTINGS GUIDE
Pattern Recognition: Adjust settings like Use Wick As Extremes (for swing points), Swing Lookback (how many bars to scan for swings), Min Head Height/Right Shoulder Depth Factor (magnitude requirements), Strict Higher/Lower High/Low (stricter swing definitions), and Max RSL/RSH Bars (time limit for right shoulder formation).
Trade Management: Configure Entry/SL/TP Offset % to fine-tune entry, stop-loss, and take-profit levels as a percentage buffer, and set your Desired Risk:Reward ratio for calculating Take Profit.
Confluence Filters: Enable or disable Use HTF Confirmation and Use Volume Confirmation . For HTF, set HTF Timeframe and EMA Length . For Volume, adjust Volume Lookback and Multiplier .
Visual Settings: Toggles are available for showing QM lines, entry/SL/TP zones, alerts, and dashboard position.
📈 TRADING WORKFLOW
Identify: Wait for a Bullish or Bearish QM pattern to be detected and labeled on your chart.
Confirm: Check the dashboard and pattern details. Ensure the HTF trend and Volume confirmation are aligned with the pattern’s direction (e.g., Bullish QM + Bullish HTF).
Enter: Wait for price to retest the suggested entry zone. The indicator plots these zones for you.
Manage: Use the automatically calculated Stop Loss and Take Profit levels, adjusting them as needed based on market context and your risk management strategy.
Alerts: Set up alerts to be notified immediately when a QM pattern is found or when price enters an entry zone.
⚠️ RISK DISCLAIMER
Trading involves substantial risk, and past performance is not indicative of future results. The Quasimodo Pattern Detector is a tool to assist in identifying potential trade setups but does not guarantee profitability. Always conduct your own analysis and implement proper risk management.
Does it repaint?
No. This indicator is coded with non-repainting logic. Once a pattern is confirmed and a signal is generated on a closed bar, it will remain on your chart permanently. The Higher Timeframe trend filter also uses a non-repainting method.
Penunjuk Pine Script®






















