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
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.