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 4 Indicator | Slope Direction Line

The trend indicator, used by the Hammering EA from the Market section.

Input Parameters:

  • period = 32 — The indicator period for the subsequent moving average calculations.
  • FilterNumber = 2 — Applied filter size.
  • ma_method = 3 — Averaging method. Can be any of the Moving Average method values: 0 — SMA (Simple Moving Average), 1 — EMA (Exponential Moving Average), 2 — SMMA (Smoothed Moving Average), 3 — LWMA (Linear-weighted Moving Average).
  • applied_price = 0 — Used price. Can be any of price constants: 0 — CLOSE, 1 — OPEN, 2 — HIGH, 3 — LOW, 4 — MEDIAN ((high+low)/2), 5 — TYPICAL ((high+low+close)/3), 6 — WEIGHTED ((high+low+close+close)/4).

MetaTrader Experts, Indicators, Scripts and Libraries

13017

Best MetaTrader Indicators + Profitable Expert Advisors