TriMAgen is a Triangular Moving Average generalized by J.Ehlers.
It has two input parameters:
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)

MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/23109