Slope Direction Line – indicator MetaTrader 4

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).


πŸ“ˆ ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks