Skip to content

charton API


charton API / @chart-on/ta / williamsR

Function: williamsR() ​

williamsR(high, low, close, length, out?): Float64Array

Defined in: momentum.ts:334

Williams %R: where the close sits in the length-bar high-low range, from -100 at the lowest low to 0 at the highest high. A bar whose range is zero reads -50. Lookback length - 1.

Parameters ​

high ​

Series

low ​

Series

close ​

Series

length ​

number

out? ​

Float64Array<ArrayBufferLike>

Returns ​

Float64Array