charting
Open chart
DoveeDocumentation
LanguageFunction reference

Home/Dovee/Function reference

williamsr

Williams %R

Reference/Oscillators/Function

williamsr(length)

Stochastic flipped: 0 to −100. Overbought near 0, oversold near −80. Alias: willr.

Parameters

NameTypeDescription
lengthint
default 14
Lookback in bars. Default 14.

Return value

series

Also accepted: willr.

Example

oscillator
w = williamsr(14)
plot w as "%R"
level -20 as "OB" red
level -80 as "OS" green

See also

  • rsi
  • macdline
  • macdsignal
  • macdhist
  • stoch
  • stochrsi
  • stochrsid
  • cci
← stochstochrsi →