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 | Advance Decline Line

Indicator ADL (Advances/Declines Line) shows the ratio of positive and negative price increments over a specified time interval.

It has two input parameters:

  • Period - calculation period;
  • Use Cumulative mode - use the "cumulative" algorithm of calculations (Yes/No).

Calculations:

ADL = (Up - Dn)

If Use Cumulative mode = Yes, then:

ADL = (Up - Dn) + ADL of the previous day

where:

Up = Up(Period)  Dn = Dn(Period)  
  • Up - number of bullish candlesticks over the period;
  • Dn - number of bearish candlesticks over the period.

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.1 Use Cumulative mode = Yes

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.2 Use Cumulative mode = No

20796

Best MetaTrader Indicators + Profitable Expert Advisors