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

TriMAgen is a Triangular Moving Average generalized by J.Ehlers.

It has two input parameters:

  • Period - calculation period
  • Applied price - price used for calculations

Calculation:

TriMAgen = SUM / Len2

where:

SUM = sum of SMA(Applied price, Len1) within the Len2 range

Len1 = Floor((Period+1.0)/2)

Len2 = Ceil((Period+1.0)/2)

MetaTrader Experts, Indicators, Scripts and Libraries

23109