Documentation / @finchart/indicators / trix
Function: trix()
trix(
source,options?):Trix
Defined in: indicators/src/factories.ts:1708
TRIX — the one-bar percent change of a triple-smoothed ema of the close, and an sma of that as its signal. Each ema seeds with an sma, as the canonical does. Two places are null: the first triple-ema value, which has no predecessor (the canonical writes 0 there), and a bar whose predecessor is exactly 0 (the canonical divides by it — Infinity or NaN); a percent change from 0 has no finite value.
Parameters
source
Source<OHLC>
options?
TrixOptions = {}