Home/Dovee/Function reference

trix

TRIX

Reference/Oscillators/Function

trix(source, length)

Rate of change of a triple EMA, often around zero. Default 15. Short form `trix(15)` uses close.

Parameters

NameTypeDescription
sourceoptionalseries
default close
Series to use. Omit it when the first argument is a number — ema(9) means ema(close, 9).
lengthint
default 15
Lookback in bars. Default 15.

Return value

series

Short form: if the first argument is a number, Dovee uses close as the source.

Example

oscillator
line = trix(15)
plot line as "TRIX"
level 0 as "Zero" gray

See also