AI Reversal Pattern Scanner
- Indicators
-
Fadi Hassan Khaled Ghanem
MQL4/MQL5 developer based in Jordan. I have published 169 MetaTrader 5 products on the MQL5 Market (about 8,800 downloads in total).
What I build:
- Custom Expert Advisors from your own trading rules
- Indicators, alerts and multi-timeframe dashboards - Version: 1.0
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
An indicator to spot high-probability reversal candlestick patterns with an AI-assisted confidence filter.
Custom Version
Need a custom version? I can adapt this indicator to your own rules - extra filters, different signal conditions, push/email alerts, a multi-timeframe view, an MT4 version, or a full Expert Advisor that trades its signals. Send me a private message here on MQL5 (or offer me a personal order via MQL5 Freelance) with your requirements, and I'll reply within 24 hours with whether it's doable and the estimated scope. Please test it in the Strategy Tester first, and message me first if you have any question about the settings.

telefona bildirim seçeneği olacak mı