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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。