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.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.