AI Reversal Pattern Scanner
- Indicators
- Version: 1.0
- Activations: 5
AI Reversal Pattern Scanner
AI Reversal Pattern Scanner automatically detects the most reliable candlestick reversal patterns - engulfing, pin bar and three-candle reversals - and scores each occurrence with an AI-inspired confidence rating. It focuses on patterns that form near real swing highs and lows, where reversals are statistically more meaningful.
How it works
- Engulfing patterns: detects bullish/bearish engulfing candles with a body size filtered by ATR
- Pin bars: detects hammer/shooting-star style rejection candles based on wick-to-body ratio
- Three-candle reversals: detects morning-star / evening-star style reversal sequences
- Checks whether the pattern formed at a genuine swing high/low for extra context
- Calculates an AI-style confidence score from pattern size (ATR-normalized), swing-location and wick/body ratio
- Marks each confirmed pattern with an arrow and a label showing the pattern name and confidence percentage, with an optional alert
Inputs
- InpSwingLookback - bars used to define a swing high/low
- InpAtrPeriod - ATR period used to normalize pattern size
- InpMinBodyAtrRatio - minimum candle body/range size, in ATR multiples, to qualify
- InpPinWickRatio - minimum wick-to-body ratio for a pin bar
- InpMinConfidence - minimum AI confidence required to mark a signal
- InpDetectEngulfing, InpDetectPinBar, InpDetectThreeBar - enable/disable each pattern type
- InpAlertOnSignal - alert when a new pattern is confirmed
Why traders like it
- Non-repainting: patterns are confirmed only on closed candles
- Combines classic price-action patterns with an objective, ATR-based confidence score
- Swing-location filter helps avoid low-quality signals in the middle of a range
- Works on any symbol and timeframe
Free indicator - spot high-probability reversal candlestick patterns with an AI-assisted confidence filter.
