Purpose of the TRIX
TRIX, developed by Jack Hutson, is the rate of change of a triple exponential moving average. The triple smoothing removes most short-term noise. Values above 0 mean the smoothed trend is rising; values below 0 mean it is falling.
How It Works
When you select TRIX in the Trade Rule block, you can configure it with the following settings:
Period of TRIX
The number of candles used for each of the three moving averages (standard: 14).
Applied Price of TRIX (What TRIX is calculated from)
Close Price: Uses the candle's closing price.
Open Price: Uses the candle's opening price.
High Price: Uses the highest price in the candle.
Low Price: Uses the lowest price in the candle.
Median Price: (High + Low) ÷ 2
Typical Price: (High + Low + Close) ÷ 3
Weighted Price: (High + Low + Open + Close) ÷ 4
Time Frame of TRIX
Sets the chart time frame for the TRIX calculation.
Can be replaced with a variable or input for quick testing and optimization.
Candle ID of TRIX
Defines which candle the calculation starts from.
0: Current candle (still forming).
1: Most recently closed candle.
Higher IDs refer to older candles.
Adjust of TRIX (Modify the Result)
Apply an adjustment to the calculated value by adding, subtracting, multiplying, or dividing by a number.
Example
If you set:
Period: 14
Applied Price: Close
Candle ID: 1
You get the TRIX value of the most recently closed candle. A value above 0 means the smoothed trend is rising.
Use Cases
Use a zero-line cross as a trend-change signal.
Detect weakening trends when TRIX moves back toward 0.
Spot divergence between price and TRIX.
⚠ Tip: TRIX values are very small numbers. Compare them with 0 or with earlier TRIX values rather than with a fixed number.

