PROTECTED SOURCE SCRIPT

PinBar + PPR + OutSide (Alerts)

26
This script is a comprehensive pattern detector for trading charts. It identifies three types of candlestick patterns: PinBar, PPR, and OutSide (Engulfing) bars.

PinBar detection uses a configurable wick factor and optional color filter to identify bullish and bearish PinBars.

PPR detection identifies bullish and bearish reversal patterns based on the relationship between the current and previous candle, including wick position and closing price.

OutSide bars detect bullish and bearish engulfing patterns, with an optional strong version that requires the engulfing candle to fully cover the previous candle’s wick and close beyond it.

Each pattern can be individually enabled or disabled, and alerts are available to notify users when any pattern occurs after the candle closes. All patterns are visually marked on the chart for easy identification.

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.