williamsr
Williams %R
Reference/Oscillators/Function
williamsr(length)
Stochastic flipped: 0 to −100. Overbought near 0, oversold near −80. Alias: willr.
Parameters
| Name | Type | Description |
|---|---|---|
length | int 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