OPEN-SOURCE SCRIPT

NG - Final - Uday

This is a comprehensive candlestick pattern detector that identifies seven key patterns:

Shooting Star - Bearish reversal pattern with a long upper wick at market highs
Gravestone Doji - Bearish pattern with very small body and long upper wick at highs
Inverted Hammer - Bullish reversal pattern with long upper wick at market highs
Hammer - Bullish reversal pattern with long lower wick at market lows
Bearish Pinbar - Bearish pattern with long lower wick at market lows
Bearish Engulfing - Two-candle bearish reversal pattern, requires new 15-bar high
Bullish Engulfing - Two-candle bullish reversal pattern, requires new 15-bar low

The indicator filters for high-quality setups by requiring patterns to form at significant price levels (local highs/lows). For engulfing patterns specifically, it looks for stronger candles (1.5x size) and requires them to occur at new 15-bar extremes, reducing false signals.
Alerts are generated when any of these patterns are detected, and patterns are visually marked on the chart with different shapes and colors (red for bearish, green for bullish).
Candlestick analysisChart patternsoptions

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità