Williams %R

wproscillatorsForge API 1

Where the close sits in the recent range, from 0 down to -100.

Inputs

NameTypeDefaultRange
periodint141 to 5000

Outputs

NameTypeRequiredDescription
wprvalueOptionalcolor 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.