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 | TMACD

Triangular Moving Average Convergence/Divergence oscillator - MACD based on TriMA.

It has four inputs:

  • Fast TriMA period - fast TriMA period
  • Slow TriMA period - slow TriMA period
  • Signal period - signal line period
  • Applied price

Calculation:

TMACD = SMA(FastMA, PeriodFast) - SMA(SlowMA, PeriodSlow))

Signal = SMA(TMACD, Signal period)

where:

FastMA = SMA(Applied price, PeriodFast)

SlowMA = SMA(Applied price, PeriodSlow)

PeriodFast = Floor(Fast TriMA period/2)+1

PeriodSlow = Floor(Slow TriMA period/2)+1

MetaTrader Experts, Indicators, Scripts and Libraries

22612