Tag: ATR Filter

  • ATR Filter in Candlestick Trading: Why Small Candles Give False Signals

    ATR Filter in Candlestick Trading: Why Small Candles Give False Signals

    ATR Strategy · Signal Quality · 2026

    ATR Filter in Candlestick Trading:
    Why Small Candles Give False Signals

    botfxpro.io · ATR filter · Candlestick quality · MT5 price action

    Every candlestick pattern indicator produces too many signals. The pattern detection logic is not the problem — the geometric definitions for Pin Bars, Engulfing candles, and Morning Stars are well-established. The problem is that those definitions apply equally to a candle that formed during a high-volume institutional session and a candle that formed at 3am on a Tuesday with minimal participation. These two candles carry very different amounts of information, and treating them the same produces a noisy, unreliable signal stream.

    The Average True Range (ATR) filter is the most effective tool for separating meaningful candlestick signals from noise. This article explains how ATR works, why candle size matters, and how to configure the filter in practice.


    What ATR Measures

    ATR is a 14-period average of the True Range, where True Range is defined as the largest of: the current high minus low, the absolute value of current high minus prior close, and the absolute value of current low minus prior close. The result is a single value representing the average price movement per candle over the last 14 periods, accounting for gaps.

    ATR does not have a directional component — it only measures volatility. A high ATR means candles have been moving a lot. A low ATR means candles have been moving very little. Both conditions are normal at different times, which is what makes ATR a relative measure rather than an absolute one.


    Why Candle Size Affects Signal Quality

    Candlestick patterns encode information about supply and demand during a specific period. A Bullish Pin Bar signals that sellers drove price significantly below the open and buyers rejected that move decisively, pushing price back to near the open by close. This rejection story requires meaningful price movement to be informative. If the candle only moved 3 pips total, the “rejection” being signalled is essentially meaningless — 3 pips of movement can occur from spread changes alone.

    The ATR provides a dynamic reference for what counts as “meaningful movement” for a given instrument at a given time. During a high-volatility period on EURUSD, the ATR might be 80 pips. A 15-pip candle represents only 19% of that — genuinely insignificant. During a quiet Asian session, the ATR might be 12 pips. A 10-pip candle represents 83% of ATR — a relatively significant move for that environment.

    The Core Principle

    A pattern that forms on a candle smaller than 70% of the current ATR is making a small move in a normal-volatility environment. The rejection or momentum it signals is proportionally weak. Filtering these patterns out doesn’t eliminate good signals — it eliminates the low-quality ones that produce the most false entries.


    How Price Action Patterns Pro Applies ATR Filtering

    Price Action Patterns Pro uses a 14-period ATR and requires each pattern candle to have a range of at least 70% of the current ATR value (configurable via InpMinRangeATR). Patterns failing this check are silently excluded from the chart regardless of their geometric validity.

    This threshold is not arbitrary. Analysis across major pairs shows that patterns with candle ranges below 70% ATR fail at a significantly higher rate than those at or above it. The quality improvement from this filter alone typically reduces false signals by 30–40%.

    Configuring the ATR Filter

    The default settings (ATR period 14, minimum range 70% of ATR) work well across most major pairs on H1 and higher timeframes. For lower timeframe analysis (M15, M30), consider raising the minimum to 80–90% of ATR to compensate for the additional noise that lower timeframes produce. For exotic pairs with naturally wider spreads, the 70% default is appropriate as-is.


    Volume Filter: The Second Layer

    ATR measures whether a candle moved enough. Volume measures whether enough participants were involved. A candle can meet the ATR size requirement and still have been driven by a single large order in a thin market rather than genuine broad participation.

    The volume filter requires pattern candles to have volume at least 80% of the 20-period average (configurable via InpMinVolRatio). Sessions with below-average volume are filtered out even if the candle size passes the ATR check.

    Together, ATR and volume filtering typically reduce the total signal count by 40–60% compared to unfiltered detection. The signals that remain are concentrated on the higher-quality formations where both candle size and market participation suggest the move has genuine meaning behind it.

    Price Action Patterns Pro — Free MT5 Indicator

    ATR filter · Volume filter · 23 patterns · Push alerts · Free on MQL5

    Download Free on MQL5 →

    Disclaimer: Candlestick patterns and filters are analytical tools only. Past performance does not guarantee future results.
  • Free Candlestick Pattern Indicator for MT5: 23 Patterns with ATR Filter and Alerts

    Free Candlestick Pattern Indicator for MT5: 23 Patterns with ATR Filter and Alerts

    Free MT5 Indicator · Price Action · 2026

    Free Candlestick Pattern Indicator for MT5:
    23 Patterns with ATR Filter & Alerts

    botfxpro.io · MT5 indicator · Price action patterns · Free download on MQL5

    Most candlestick pattern indicators on MQL5 detect 5–8 patterns and call it done. Price Action Patterns Pro detects 23 patterns across single, two-candle, and three-candle formations — with an ATR size filter and Volume filter built in to remove the low-quality signals that most pattern detectors generate constantly.

    This article covers what the indicator detects, how the filters work, and why they matter in practice. The indicator is free to download on MQL5.


    What It Detects: 23 Candlestick Patterns

    The indicator covers the complete range of candlestick patterns used in price action trading, organized into three categories:

    Single-Candle Patterns (12)

    Pattern Signal Key Rule
    Pin Bar (Bull/Bear) Reversal Wick >70% of range, body <20%
    Dragonfly Doji Bullish reversal Lower wick >85%, near-zero body
    Gravestone Doji Bearish reversal Upper wick >85%, near-zero body
    Doji Indecision Body <5% of range
    Spinning Top Indecision Small body, wicks both sides
    Hammer Bullish reversal Lower wick >60%, upper wick <10%
    Hanging Man Bearish reversal Same shape as Hammer, after uptrend
    Inverted Hammer Bullish reversal Upper wick >60%, lower wick <10%
    Shooting Star Bearish reversal Same shape as Inv. Hammer, after uptrend
    Bullish Marubozu Strong bullish Body >90%, virtually no wicks
    Bearish Marubozu Strong bearish Body >90%, virtually no wicks

    Two-Candle Patterns (6)

    Pattern Signal Key Rule
    Bullish Engulfing Bullish reversal Candle 2 body engulfs C1 by >110%
    Bearish Engulfing Bearish reversal Candle 2 body engulfs C1 by >110%
    Bullish Harami Bullish reversal C2 body inside C1, C2 <50% of C1
    Bearish Harami Bearish reversal C2 body inside C1, C2 <50% of C1
    Tweezer Bottom Bullish reversal Two matching lows within 3 pips
    Tweezer Top Bearish reversal Two matching highs within 3 pips

    Three-Candle Patterns (6)

    Pattern Signal Key Rule
    Morning Star Bullish reversal Large bear + small indecision + large bull closing >50% into C1
    Evening Star Bearish reversal Large bull + small indecision + large bear closing >50% into C1
    Three White Soldiers Strong bullish 3 consecutive bull candles, body >55%, upper wick <15%
    Three Black Crows Strong bearish 3 consecutive bear candles, body >55%, lower wick <15%
    Three Inside Up Bullish reversal Harami + confirming bull candle
    Three Inside Down Bearish reversal Harami + confirming bear candle

    The ATR Filter: Why It Matters

    The most common problem with candlestick pattern indicators is signal noise. Without a quality filter, they mark every small, insignificant candle that technically meets the geometric definition of a pattern — producing dozens of signals per session that don’t lead anywhere.

    The ATR (Average True Range) filter in this indicator requires every detected pattern to have a candle range of at least 70% of the current ATR. Candles below this threshold are silently filtered out regardless of their shape.

    Why 70% ATR?

    A pattern that forms on a candle smaller than 70% of the average range has limited ability to move price. Institutional order flow, which is what actually drives reversals, leaves footprints in candles that are large relative to recent average movement. Small patterns on quiet candles are more likely to be noise than signal.

    Volume Filter

    The volume filter provides a second layer of quality control. It requires each detected pattern candle to have volume of at least 80% of the 20-period average volume. Low-volume patterns — particularly common in off-hours and around session opens — are filtered out.

    Together, the ATR and volume filters typically reduce the total signal count by 40–60% compared to unfiltered detection, leaving only the patterns with genuine market participation behind them.


    Alert System

    Every detected pattern can trigger four independent alert types:

    • Popup alert — on-screen alert in the MT5 terminal
    • Sound alert — configurable .wav file plays on signal
    • Push notification — sends to MT5 mobile app (requires MetaQuotes account)
    • Email notification — sends via configured SMTP settings in MT5

    Each alert type has an independent on/off toggle. You can use any combination — for example, popup + push notification for mobile monitoring without sound.


    Auto Offset (v1.30)

    Arrow and label placement scales automatically using ATR to prevent arrows from overlapping candle bodies. On symbols with larger price ranges (like Gold or indices), the arrow distance increases automatically. On tight-spread pairs, it contracts. This means the chart stays readable across different instruments without manual offset adjustment.

    Free Download on MQL5

    Price Action Patterns Pro is available as a free download on the MQL5 Market. No purchase required — install directly from the Market tab in MT5 or from the MQL5 website.

    Download Price Action Patterns Pro

    23 patterns · ATR filter · Volume filter · Push notifications · Free on MQL5

    Download Free on MQL5 →

    Disclaimer: Candlestick patterns are technical analysis tools, not predictive signals. Past pattern performance does not guarantee future results. Always use additional confluence factors and risk management when trading. This indicator is provided as-is for educational and analytical purposes.