Trend Indicator based on different combination of Moving Averages and highly customizable.

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

Please Note: I provide the above MT4 indicator for free and I neither hold nor claim any copyright over the code. If this indicator is the result of your hard work and you would prefer it be removed from this site then please contact me via my contact page HERE and I will action your request.