Skip to content

Documentation / @finchart/indicators / ultimateOscillator

Function: ultimateOscillator() ​

ultimateOscillator(source, options?): UltimateOscillator

Defined in: indicators/src/factories.ts:1265

Ultimate Oscillator — buying pressure over true range, averaged over three windows and weighted 4/2/1 toward the shortest. Buying pressure is close − min(low, previous close), true range max(high, previous close) − min(low, previous close); the first bar has no previous close and is null (the Wilder habit of seeding the first true range with high − low is not this indicator's). A window whose true range sums to 0 is null.

Parameters ​

source ​

Source<OHLC>

options? ​

UltimateOscillatorOptions = {}

Returns ​

UltimateOscillator