Fresh MQL5 code release – perfect for enhancing your MT4/MT5 strategies.
Triple Exponential Average (TRIX) was developed by Jack Hutson as an oscillator of the overbought/oversold market conditions.
It can also be used as the Momentum indicator. Triple smoothing is used for removing the cyclic components in price movements with the period less than that of TRIX.
The zone is used as the indicator of overbought or oversold state (positive and negative respectively). The signal to by is crossing of the zero line from below, or "bulls'" divergence; the signal to sell is the indicator's crossing the zero line from above, or "bears'" divergence with prices. The distinctive feature of the indicator is the perfect filtration of price noises and absence of lag that is so typical of most moving averages.
Never miss news-driven moves – use the News OCO Expert Advisor to place pending orders safely around economic releases. Find out more.

Triple Exponential Average Indicator
Calculation:
First the Exponential Moving Average of a price is calculated:- Price(i) - current price;
- N - EMA period;
- EMA1(i) - current value of the Exponential Moving Average.
Build better strategies with RobotFX professional tools – check them out.
76