PROTECTED SOURCE SCRIPT
Advanced Cup_Bull_Bear_Beast

🏷️ Cup Pattern Finder — Description for Publication
This indicator identifies Cup Patterns (both bullish and bearish) on any timeframe, using geometric curve-fitting logic.
🔍 What is a Cup Pattern?
A Cup Pattern is a rounded-bottom formation often signaling accumulation (in bullish cases) or distribution (in bearish ones). The price gradually falls and rises forming a "U" shape, indicating a potential reversal or breakout.
🛠️ How this script works:
✅ Scans the last N candles (user-defined, e.g. 150 bars) to detect U-shaped structures.
📏 Measures radius of the curve and checks price containment within a tolerance range.
🎯 Calculates:
Target = Neckline ± Radius
Stop Loss = Minimum of 2% of close or ¼ of radius, from neckline
📉 Can detect both Bullish Cups and Bearish Inverted Cups.
🧠 You can choose how breakouts are verified (Close or High/Low basis).
🔔 Alerts available for:
Bullish Cup Found
Bearish Cup Found
Any Cup Pattern Detected
🎨 Visuals:
Option to display the cup shape, neckline, and channel width.
Labels show:
Radius of the cup
Percentage of bars contained in the cup
Custom color themes for bullish/bearish cups.
📌 Use Case:
Ideal for traders looking to automate detection of consolidation breakout zones based on price structure rather than just indicators. Combine with volume or momentum tools for better confirmation.
This indicator identifies Cup Patterns (both bullish and bearish) on any timeframe, using geometric curve-fitting logic.
🔍 What is a Cup Pattern?
A Cup Pattern is a rounded-bottom formation often signaling accumulation (in bullish cases) or distribution (in bearish ones). The price gradually falls and rises forming a "U" shape, indicating a potential reversal or breakout.
🛠️ How this script works:
✅ Scans the last N candles (user-defined, e.g. 150 bars) to detect U-shaped structures.
📏 Measures radius of the curve and checks price containment within a tolerance range.
🎯 Calculates:
Target = Neckline ± Radius
Stop Loss = Minimum of 2% of close or ¼ of radius, from neckline
📉 Can detect both Bullish Cups and Bearish Inverted Cups.
🧠 You can choose how breakouts are verified (Close or High/Low basis).
🔔 Alerts available for:
Bullish Cup Found
Bearish Cup Found
Any Cup Pattern Detected
🎨 Visuals:
Option to display the cup shape, neckline, and channel width.
Labels show:
Radius of the cup
Percentage of bars contained in the cup
Custom color themes for bullish/bearish cups.
📌 Use Case:
Ideal for traders looking to automate detection of consolidation breakout zones based on price structure rather than just indicators. Combine with volume or momentum tools for better confirmation.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.