A bundle of two lines around zero: trix (the rate-of-change line) and signal (its EMA).
TRIX is the percentage rate of change of a triple-smoothed EMA. The triple smoothing filters out most short-lived noise, so a TRIX zero-line or signal-line cross tends to flag only the moves that survived three rounds of averaging.
How it works
Price is smoothed by an EMA of length period, that result by a second EMA, and that by a third. TRIX is the 1-bar percentage change of the third EMA (x100), so it swings around zero: positive while the smoothed trend rises, negative while it falls. A signal line - an EMA of TRIX over signal_period bars - gives cross-based triggers.
Configuration
periodscalar
EMA length used for all three smoothing passes (classic 15).
signal_periodscalar
EMA length of the signal line drawn over TRIX (classic 9).
Connects to
Feeds into
Examples
Trend gate: only allow longs while trix is above zero (the triple-smoothed trend is rising).
Cross trigger: wire trix and signal into calc.cross for momentum turn signals.
Common mistakes
Triple smoothing means real lag - TRIX confirms turns late; do not treat a cross as a bottom tick.
TRIX values are tiny percentages (fractions of 1). Compare it with zero or its signal line, never with price levels.