charton API / @chart-on/ta / smiErgodic
Function: smiErgodic()
smiErgodic(
values,long,short,signal,out?,state?):SmiErgodic
Defined in: smi-stc.ts:46
SMI ergodic indicator: the one-bar change smoothed by an ema of long and then one of short, divided by the same double smoothing of the absolute change. It is a ratio from -1 to 1 (not scaled by 100), and 0 when nothing moved. The signal line is an ema of it over signal bars. Lookback long + short + signal - 2 (the index starts signal - 1 bars earlier).
Pass state to keep the averages for smiErgodicAt.
Parameters
values
long
number
short
number
signal
number