Skip to content

charton API


charton API / @chart-on/ta / fisher

Function: fisher() ​

fisher(high, low, length, out?, state?): Fisher

Defined in: fisher-rvi.ts:55

Fisher transform. The median price (high + low) / 2 is placed in its range over the last length bars (-0.5 to 0.5), smoothed as 0.33 * 2 * position + 0.67 * previous, snapped to ±0.999 beyond ±0.99, then transformed as 0.5 * ln((1 + v) / (1 - v)) + 0.5 * previous fisher. A zero range counts as the middle of the range. Both recursions start from 0 on the first bar with a full window, and again after a NaN. The trigger is the previous bar's transform, NaN where the transform is. Lookback length (the transform itself starts one bar earlier).

Pass state to keep the smoothed position for fisherAt.

Parameters ​

high ​

Series

low ​

Series

length ​

number

out? ​

Fisher

state? ​

FisherState

Returns ​

Fisher