Williams %R
Where the close sits in the recent range, from 0 down to -100.
Inputs
| Name | Type | Default | Range |
|---|---|---|---|
| period | int | 14 | 1 to 5000 |
Outputs
| Name | Type | Required | Description |
|---|---|---|---|
| wpr | value | Optional | color theme.accent, style line, width 1 |
- Warm-up
- period - 1 bars (13 at the defaults)
- Repaints
- No
- Parity
- TA-Lib, within 1e-9
Formula
%R = -100 * (highest high - close) / (highest high - lowest low) over the last period bars
A window with no range reads -50.