OPEN-SOURCE SCRIPT
Patterns and Alerts

Patterns and Alerts — TradingView Indicator Documentation
© 2026 Arup Sarkar
Indicator Name: Patterns and Alerts
Version: 1.0
About Me:
Spent 32+ years in the software industry and now a full time trader. I did not find an indicator that keeps the chart clean, addresses candle and chart patters combined and provide alerts. This is my first release and by Feb end, I will include all chart/candle patterns, trend line & most vital, Smart Money intent behind patterns (candle and chart).
Description
The Indicator: Patterns and Alerts is a comprehensive indicator that detects candlestick and classical chart patterns, provides real-time alerts, and keeps charts clean with minimalist visuals. It helps traders identify actionable price patterns across all timeframes and asset classes.
Key Features
- Detects Bullish/Bearish Pin Bars
- Detects Double Top, Head & Shoulders, Rising Wedges, and Falling Wedges
- Generates alerts once per confirmed pattern
- Uses thin lines and optional pivot labels for clean visuals
- Works on all timeframes (1-minute to Daily)
Alerts
- Pattern type
- Pivot prices (if applicable)
- Symbol
- Timeframe
Pro Tips
- For aggressive detection, decrease Pivot Length & Pin Bar Wick Ratio
- For conservative detection, increase Pivot Length & Pin Bar Wick Ratio
- Disable labels on lower timeframes to reduce clutter
- Combine alerts with trend indicators, volume, or higher timeframe analysis for confirmation
- Can integrate alerts via webhooks for automated trading
Author / Credit
Arup Sarkar
© 2026 Arup Sarkar
Indicator Name: Patterns and Alerts
Version: 1.0
About Me:
Spent 32+ years in the software industry and now a full time trader. I did not find an indicator that keeps the chart clean, addresses candle and chart patters combined and provide alerts. This is my first release and by Feb end, I will include all chart/candle patterns, trend line & most vital, Smart Money intent behind patterns (candle and chart).
Description
The Indicator: Patterns and Alerts is a comprehensive indicator that detects candlestick and classical chart patterns, provides real-time alerts, and keeps charts clean with minimalist visuals. It helps traders identify actionable price patterns across all timeframes and asset classes.
Key Features
- Detects Bullish/Bearish Pin Bars
- Detects Double Top, Head & Shoulders, Rising Wedges, and Falling Wedges
- Generates alerts once per confirmed pattern
- Uses thin lines and optional pivot labels for clean visuals
- Works on all timeframes (1-minute to Daily)
Alerts
- Pattern type
- Pivot prices (if applicable)
- Symbol
- Timeframe
Pro Tips
- For aggressive detection, decrease Pivot Length & Pin Bar Wick Ratio
- For conservative detection, increase Pivot Length & Pin Bar Wick Ratio
- Disable labels on lower timeframes to reduce clutter
- Combine alerts with trend indicators, volume, or higher timeframe analysis for confirmation
- Can integrate alerts via webhooks for automated trading
Author / Credit
Arup Sarkar
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.