MA Relative Candles

MA Relative Candles

Overview

MA Relative Candles displays the chart’s candlesticks in a separate window with a moving average as the zero line. Each candle retains its original body and wick size in price units, so you can see how far its open, high, low, and close sit above or below the reference.

The indicator is designed for traders who already use a moving average as a reference. By making each candle’s distance from the MA explicit, it aims to reduce judgment bias and help traders apply the same reference consistently when making decisions.

The default setup uses EMA 50 Close as the reference and EMA 14 Close as the Fast MA. An optional percentage envelope grid and experimental swing reversal markers provide additional context.

Visual Elements

Element Meaning
Green, red, and silver candles Bullish candles, bearish candles, and dojis, respectively. Color follows the candle’s open and close.
Zero line Represents the Reference MA on each bar. Its style and thickness are configurable.
Gold line Shows the difference between the Fast MA and the Reference MA.
Dashed grid Marks percentage distances above and below zero, based on the latest Reference MA value.
Blinking gold dot Marks a potential swing reversal while the current candle is forming.
Green up arrow / red down arrow Marks a bullish or bearish swing setup that meets the confirmation rules at candle close.

Inputs

Moving Averages and Zero Line

Input Default Description
ReferenceMethod / FastMethod EMA / EMA Selects SMA, EMA, SMMA, or LWMA independently for each MA.
ReferencePrice / FastPrice Close / Close Selects the applied price for each MA.
ReferencePeriod / FastPeriod 50 / 14 Sets the period for each MA.
ZeroLineStyle Dotted Selects the zero-line style.
ZeroLineWidth 1 Sets the zero-line thickness from 1 to 5.

Reference Envelope

Input Default Description
ReferenceEnvelope true Shows or hides the dashed percentage grid.
GridPercent 0.1 Sets the grid interval in percent. The default marks ±0.1%, ±0.2%, ±0.3%, and successive multiples within the visible range.

Swing Reversal Signals

Input Default Description
ActiveSignal true Shows or hides the blinking dots and reversal arrows.
SwingLookback 5 Sets how many preceding bars define the swing high and low.
MinSweepATR 0.10 Sets the minimum distance price must move beyond the swing level, in ATR units.
MinReboundATR 0.50 Sets the minimum distance from the candle’s extreme to its close, in ATR units.
MinBodyATR 0.20 Sets the minimum candle body size in the reversal direction, in ATR units.
RequireReclaim true Requires the candle to close back across the swing level it breached.

Interpretation

  • A candle entirely above zero has its low above that bar’s Reference MA. A wick crossing zero shows that the candle’s range spans the reference.

  • When the gold line crosses zero, the Fast MA crosses the Reference MA.

  • Use the same Reference MA settings on the main chart to check whether the MA is rising, falling, or flat. The subwindow shows price relative to that MA.

  • A blinking dot can appear when the live candle breaches a recent swing level and starts to pull back. The dot can disappear if the setup falls short of confirmation.

  • With reclaim enabled, a bullish arrow requires price to breach the prior swing low and close back above it. A bearish arrow requires price to breach the prior swing high and close back below it. Both directions also apply the configured ATR thresholds.

Notes

  • The indicator uses the symbol and timeframe of the attached chart.

  • Swing thresholds use ATR(14) from the previous completed bar.

  • The grid updates with the latest Reference MA. When levels become too dense for the window, the display skips some multiples to keep the lines readable.

  • Swing reversal markers are experimental. Use them as additional chart context.

Disclaimer

MA Relative Candles is provided for analytical and educational purposes. Reversal markers identify setups that meet the configured rules. Future price direction remains uncertain.


More from author
Floating P/L Price Line A lightweight MT5 indicator that displays your current floating profit or loss directly on the chart, following the current price level. Features: Real-time floating P/L display Profit and loss color indicators Symbol and Magic Number filters Customizable font, colors, and position Optional swap and account currency display Adjustable refresh interval A simple way to monitor open-position performance without opening the Trade tab.
FREE
Closed P/L Dashboard A lightweight MT5 indicator that displays your realized profit or loss directly on the chart, showing both today's performance and total trading results. Features: Today's closed P/L display Total historical closed P/L display Profit and loss color indicators Magic Number filter (All: -1, Manual: 0, or Specific EA: magic;magic) Net P/L calculation including swap and commission Automatic real-time updates Compact dashboard positioned in the upper-right corner Account-wide per
FREE
Price to EMA Mean Histogram Version 1.10 for MetaTrader 4 Overview Price to EMA Mean Histogram is a separate-window oscillator that expresses the distance between price and a configurable moving-average mean as a percentage. It combines a close-price histogram, candle-extreme shadows, dynamic reference levels, and an optional fast EMA line in one compact view. The default configuration uses EMA 50 as the mean and EMA 14 as the fast reference. Visual Elements Bright bullish histogram: candle clos
Tick Volume Pressure MetaTrader 5 Indicator | Release: F2.0 Tick Volume Pressure Overview Tick Volume Pressure is a separate-window oscillator designed to visualize estimated bullish and bearish market pressure using candle movement and tick-volume activity. The indicator combines a color-coded directional histogram, relative-strength highlighting, automatic symmetric scaling, and a configurable Power Summary panel in one compact view. Its default configuration uses Hybrid calculation mode, ATR-
Filter:
No reviews
Reply to review