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
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.