Indicators
Check Williams %R against the unsmoothed stochastic

Choose a common range
On a closed bar, write down the highest high and lowest low over the last five bars, including the bar you are measuring. Use the same five highs and lows for both calculations. A stochastic set to a close/close range will not describe the same interval. Start with the raw stochastic before any slowing or signal-line average.
Place the close on two scales
With a high of 120, low of 100 and close of 115, the close is three quarters of the way up the range. Raw stochastic is 75. Williams measures from the top and uses a negative scale, so it reads negative 25. Subtracting 100 from raw stochastic reproduces Williams. At the range high the readings are 100 and zero respectively.
%R = raw %K − 100
Eliminate an apparent mismatch
In MT5 choose identical periods, the high/low price field on Stochastic, and slowing of 1. Compare the main stochastic line, not its signal line. Use the same completed candle in the Data Window. If one line looks smoother across a run of bars, inspect the slowing and signal settings before changing the calculation.
Try a range of zero
Give every bar the same high, low and close. The shared fraction now has a zero denominator. Exclude this row from an equivalence test unless both implementations document the same fallback. On a valid range, matching signals from these two aligned settings are the same numerical observation on different scales.

















