Williams Percent Range — the distance from the window's high down to the
close, as a percentage of the window. The sign convention is the whole point:
a close at a fresh window high is exactly 0 and one at the window low is
exactly -100, so the scale runs -100..0 rather than 0..100.
The high and low come from high and low (the reference single-argument
highest/lowest), while the numerator reads the source input, so
the three do not have to agree.
Williams Percent Range — the distance from the window's high down to the close, as a percentage of the window. The sign convention is the whole point: a close at a fresh window high is exactly 0 and one at the window low is exactly -100, so the scale runs -100..0 rather than 0..100.
The high and low come from
highandlow(the reference single-argumenthighest/lowest), while the numerator reads thesourceinput, so the three do not have to agree.