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 4 Indicators | Trix | Free Download

Fresh MQL5 code release – perfect for enhancing your MT4/MT5 strategies.

When Trix is used as an impulse indicator, a positive value means that the impulse is growing, whereas a negative value will testify a sinking impulse.



Many analysts suppose it to be a signal to buy, if Trix intersects zero value from top to bottom, whereas the intersection of it from bottom to top is considered as a signal to sell. If there is a divergence between the price and indicator line, this informs about a turning point in the market trend.




Image for Trix

Unique stair-step trend trading with the Stairsteps Expert Advisor. Innovative approach for consistent results. Learn more.

Input Type Default value
Description
Price
Number Close Price type for calculations
Length Number 18 Amount of bars for calculations


Trix calculates the triple exponential moving average from the logarithmic price defined by the parameter Price for the period defined by the parameter Length. In calculations, the value of the current bar is subtracted from the value of the preceding bar – this excludes cycles, the length of which is smaller than the value of the parameter Length.

Two main advantages of Trix as compared to other trend-following indicators is its ability to filter market noises and its quicker response to the market situation. Using the triple exponential moving average, Trix filters market noises and excludes short-term cycles that may inform about changes in movements on the market. If you use Trix as your main indicator, it would be recommended to use it together with other indicators in order to prevent following false signals.

Example: In order to assign the value of indicator TRIX to a variable for High price of 14 bars, you should use the following code: Var1 = TRIX(High,14);


Build better strategies with RobotFX professional tools – check them out.

7903

Best MetaTrader Indicators + Profitable Expert Advisors