Skip to content

charton API


charton API / @chart-on/ta / ultimateOscillator

Function: ultimateOscillator() ​

ultimateOscillator(high, low, close, fast, middle, slow, out?): Float64Array

Defined in: oscillators.ts:162

Ultimate oscillator, 0 to 100: buying pressure (close minus the lower of the low and the previous close) over true range, summed over three windows and weighted 4, 2 and 1 from the shortest. NaN while a window has no range. Lookback max(fast, middle, slow).

Parameters ​

high ​

Series

low ​

Series

close ​

Series

fast ​

number

middle ​

number

slow ​

number

out? ​

Float64Array<ArrayBufferLike>

Returns ​

Float64Array