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 sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.