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_Direction_Line

The Slope Direction Line indicator is displayed as a colored moving average line indicating the average market movement direction.

The indicator has three input parameters:

  • Period - calculation period;
  • Method - calculation method;
  • Applied price - price used for calculations.

Calculations:

SDL = MA(Vector, Sqrt(Period), Method)

where:

Vector = 2*MA2 - MA  MA2 - MA(Applied price, Period/2, Method)  MA - MA(Applied price, Period, Method)  

MetaTrader Experts, Indicators, Scripts and Libraries

21674