Rejection Candle Analyzer MT5

Rejection Candle Analyzer MT5

Measure the strength of bullish and bearish rejection candles with a score from 0 to 100.

Rejection Candle Analyzer is a price action indicator for MetaTrader 5 that identifies candles showing potential rejection of lower or higher prices.

Instead of relying on subjective candlestick pattern names, the indicator evaluates each candle using four measurable characteristics and assigns it a strength score from 0 to 100.

See not only where a rejection candle appeared, but also how strong its formation was according to its price structure.

KEY FEATURES

  • Rejection Detection — automatically identifies bullish and bearish rejection candles.

  • Strength Score (0–100) — evaluates each detected candle using four weighted components.

  • Non-Repainting Signals — signals are calculated exclusively on closed candles and remain fixed afterward.

  • Customizable Filters — adjust wick proportions, closing position, ATR requirements and minimum signal strength.

  • Visual Strength Representation — optional score labels and color intensity based on signal strength.

  • Flexible Alerts — popup, push and sound notifications with independent settings.

  • EA Integration — six indicator buffers provide signal prices, strength scores and directional flags through iCustom.

  • Efficient Calculation — incremental processing and configurable historical drawing limits.

WHAT YOU SEE ON THE CHART

  • Green arrow below a bullish rejection candle.

  • Red arrow above a bearish rejection candle.

  • Optional numerical strength score next to each arrow.

  • Optional color intensity representing signal strength.

Arrows are displayed outside the candle at a configurable distance. Historical drawing can be limited to the most recent N bars to keep the chart clean.

HOW REJECTION IS DETECTED

The indicator evaluates five candle characteristics:

  • Range — High minus Low.

  • Body — absolute distance between Open and Close.

  • Upper Wick — distance from High to the upper body boundary.

  • Lower Wick — distance from the lower body boundary to Low.

  • Close Position — relative position of the closing price within the candle range.

Bullish Rejection

A candle qualifies as a bullish rejection when all the following conditions are met:

  • Lower Wick / Range ≥ 0.50

  • Close Position ≥ 0.70

  • Lower Wick > Upper Wick

  • Range ≥ ATR × 0.50

Bearish Rejection

The conditions are mirrored:

  • Upper Wick / Range ≥ 0.50

  • Close Position ≤ 0.30

  • Upper Wick > Lower Wick

  • Range ≥ ATR × 0.50

All thresholds are configurable.

A candle must satisfy every detection condition and the minimum strength score to become a signal.

REJECTION STRENGTH SCORE

Each qualifying candle receives a score from 0 to 100.

The score is calculated using four weighted components:

Component Weight
Wick proportion 40%
Closing price position 35%
Small candle body 15%
Candle range relative to ATR 10%

The ATR component uses a bounded Gaussian curve in logarithmic scale. Its optimal value is configurable and defaults to 1.5 ATR.

Both unusually small and unusually large candles receive a lower ATR quality contribution.

The default minimum signal score is 65.

Important: The score measures candle structure only. It does not evaluate market trend, support and resistance levels, trading sessions or volume. It is not a reversal probability, win rate or trading recommendation.

NON-REPAINTING SIGNALS

Rejection Candle Analyzer processes closed candles only.

  • The currently forming candle (bar 0) never receives a signal.

  • Signals are confirmed after the candle closes.

  • Confirmed arrows, scores and signal flags do not change on subsequent ticks.

  • Historical signals remain unchanged after timeframe changes or chart reloads.

This allows you to examine historical signals without confusing developing candle formations with confirmed signals.

ALERT SYSTEM

Three independent notification options:

  • Popup alerts.

  • Push notifications.

  • Sound alerts.

Additional settings:

  • Separate bullish and bearish alert controls.

  • Independent minimum alert score.

  • Maximum one alert per newly closed candle.

  • No historical alerts when attaching or reloading the indicator.

For example, display signals scoring 65 or higher while receiving notifications only for signals scoring 75 or higher.

iCustom AND EXPERT ADVISOR INTEGRATION

The indicator provides six buffers:

Buffer Description
0 Bullish arrow price
1 Bearish arrow price
2 Bullish rejection score
3 Bearish rejection score
4 Bullish signal flag (1.0)
5 Bearish signal flag (-1.0)

When no signal is present, the corresponding price and score buffers return EMPTY_VALUE.

Use shift 1 to access the most recently closed candle.

A complete iCustom integration example is included in the documentation.

INPUT PARAMETERS

Detection

  • ATR Period.

  • Minimum Wick Ratio.

  • Minimum Close Position.

  • Maximum Close Position.

  • Minimum Range / ATR.

  • Minimum Strength Score.

  • Enable Bullish / Bearish Signals.

Score Calculation

  • Optimal ATR Multiple.

  • ATR Quality Width.

Visual Settings

  • Show Arrows.

  • Arrow Size and Distance.

  • Bullish and Bearish Colors.

  • Show Score Labels.

  • Score Font Size.

  • Strength-Based Color Intensity.

  • Historical Bars Limit.

Alerts

  • Popup, Push and Sound Notifications.

  • Sound File.

  • Bullish / Bearish Alerts.

  • Minimum Alert Score.

All parameters are documented in the user guide.

TECHNICAL INFORMATION

  • Platform: MetaTrader 5.

  • Language: MQL5.

  • Type: Custom indicator (main chart window).

  • Supported instruments: Any symbol.

  • Supported timeframes: Standard MT5 timeframes.

  • No DLL dependencies.

  • No external libraries.

  • No network requests.

  • No trading operations.

The indicator uses incremental OnCalculate processing. Normally, only newly available bars are processed. Full recalculation is performed when necessary, such as after attaching the indicator or when historical data changes.

Chart objects use a dedicated naming prefix and are removed without affecting unrelated chart objects.

RECOMMENDED SETTINGS

Start with the default parameters.

Review several weeks of historical data and compare the displayed strength scores with the actual candle formations.

For fewer, more selective signals, increase InpMinimumStrengthScore or InpMinRangeATR.

To detect more rejection candles, consider reducing these thresholds.

Optimal settings depend on the instrument, timeframe and market conditions.

DOCUMENTATION

The product documentation includes:

  • Detailed explanation of the detection algorithm.

  • Strength score formula and calculation example.

  • Description of all input parameters.

  • Indicator buffer reference.

  • Complete iCustom integration example.

  • Known limitations.

Rejection Candle Analyzer MT5 is a candle-structure analysis tool designed to help traders quantify rejection formations instead of relying exclusively on subjective visual interpretation.


More from author
TMA Reversal Signals is a technical indicator that combines a Moving Average (MA) with a Triangular Moving Average (TMA) channel to identify potential market reversal areas. The indicator monitors the relationship between the Moving Average and the upper and lower TMA bands. When the Moving Average crosses outside the channel, the indicator generates a signal: Red downward arrow (SELL): The Moving Average crosses above the upper TMA band. Green upward arrow (BUY): The Moving Average crosses belo
FREE
Trend detector Alert Trend detector Alert  is a technical indicator for MetaTrader 5 that detects crossovers between two Moving Averages and displays clear BUY and SELL signals directly on the chart. The indicator is designed for traders who use Moving Average crossover strategies and want to receive timely notifications when the market trend changes. Key Features Two Customizable Moving Averages: Configure both Moving Averages independently. BUY and SELL Signals: Displays an upward arrow when t
FREE
Broker Session Watch — an indicator that shows your broker’s trading schedule for all instruments from Market Watch in one compact chart panel. Why it is needed Each broker has its own trading schedule, and it does not coincide with the “generally accepted” London and New York hours. Indices, metals, cryptocurrencies and oil often have internal breaks, shortened Fridays and overnight sessions that cross midnight. Because of this, a trader finds out that an instrument is closed only after an orde
FREE
Filter:
No reviews
Reply to review