OPEN-SOURCE SCRIPT
Advanced Double Bottom Finder (Simple, M-Shape, Gull Patterns)

Description: This indicator identifies three distinct types of Double Bottom patterns based on Pivot points and SMA (Simple Moving Average) filtering. Instead of a simple price comparison, it classifies patterns to provide deeper insights into market structure and liquidity.
Pattern Types:
Simple Double Bottom (DB): A classic trend reversal pattern with a "Higher Low." It indicates price stability above the recent low while staying below the SMA during the peak.
M-Shaped Double Bottom (M-DB): Occurs when the peak between the two lows breaks above the SMA, suggesting stronger bullish momentum before the second low is formed.
Gull Sweep Double Bottom (Gull): A "Liquidity Grab" pattern where the second low sweeps below the first low but recovers quickly above the SMA. This is often seen in high-volatility reversals.
Key Features:
SMA Confirmation: Filters signals by requiring a price crossover above the SMA, reducing false positives during flat trends.
Dynamic Pivot Analysis: Uses configurable left/right bar strengths for pivot detection.
Unified Alerts: Set a single alert for all patterns or monitor them visually via color-coded labels.
How to use:
Works on all timeframes. Recommended for 15M, 1H, and 4H for swing trading.
Ensure the Chart Timezone matches your local trading hours for accurate signal tracking
Pattern Types:
Simple Double Bottom (DB): A classic trend reversal pattern with a "Higher Low." It indicates price stability above the recent low while staying below the SMA during the peak.
M-Shaped Double Bottom (M-DB): Occurs when the peak between the two lows breaks above the SMA, suggesting stronger bullish momentum before the second low is formed.
Gull Sweep Double Bottom (Gull): A "Liquidity Grab" pattern where the second low sweeps below the first low but recovers quickly above the SMA. This is often seen in high-volatility reversals.
Key Features:
SMA Confirmation: Filters signals by requiring a price crossover above the SMA, reducing false positives during flat trends.
Dynamic Pivot Analysis: Uses configurable left/right bar strengths for pivot detection.
Unified Alerts: Set a single alert for all patterns or monitor them visually via color-coded labels.
How to use:
Works on all timeframes. Recommended for 15M, 1H, and 4H for swing trading.
Ensure the Chart Timezone matches your local trading hours for accurate signal tracking
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.