Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Slope_MA_Confirmation

Trend indicator. The indicator displays the lines and compares direction of two moving averages: Moving Average and Slope Direction Line. If the indicator lines coincide, the price chart displays colored candles.

It has six input parameters:

  • MA period - Moving Average calculation period
  • MA method - Moving Average calculation method
  • MA applied price - Moving Average calculation price
  • SDL period - Slope Direction Line calculation period
  • SDL method - Slope Direction Line calculation method
  • SDL applied price - Slope Direction Line calculation price
  • If Moving Average and Slope Direction Line are directed upwards:
    • If the candle is bullish, it is colored in green.
    • If the candle is bearish, it is colored in light-green
  • If Moving Average and Slope Direction Line are directed downwards:
    • If the candle is bearish, it is colored in red.
    • If the candle is bullish, it is colored in light-red
  • In any other case, colored candles are not drawn.

MetaTrader Experts, Indicators, Scripts and Libraries

22945