Skip to content
All library documents

MACD Signal Variants with Charted Support and Resistance Levels

Article MQL5 code base

Summary

This indicator combines MACD with support and resistance levels displayed on the price chart. It offers three ways to define a signal-related color change: a MACD crossing the zero line, a change in MACD slope, or a cross between MACD and its signal line. The description says the indicator can be used with familiar MACD approaches, without prescribing a particular entry, exit, or position-sizing rule.

The plotted support and resistance references use the closing price of the bar where a signal occurs. The author suggests these levels may provide a quick visual guide to possible order entries, noting that the close tends to align more closely with sell signals and that a spread adjustment may be relevant for buys. No chart examples, backtest, or performance evidence is supplied. The levels are therefore visual references derived from signal bars, not validated support or resistance zones, and users would need to test how the display behaves across instruments and timeframes.

Key ideas

  • The indicator overlays signal-related support and resistance references on a MACD view.
  • Color and level changes can be based on the zero line, MACD slope, or signal-line crossover.
  • Each reference level uses the closing price of the bar that produces the signal.
  • The author presents levels as possible entry guides and notes that spread may affect buy entries.
  • The document offers no performance evidence or detailed trading rules.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.