OPEN-SOURCE SCRIPT
Updated Williams Percent Range + MA

A modernized take on the classic Williams %R oscillator — enhanced with a configurable moving average (SMA, EMA, RMA, WMA, HMA, or KAMA) for trend confirmation. Overbought and oversold zones are fully adjustable, and background highlights appear when momentum shifts: green for bullish crosses in oversold areas, red for bearish crosses in overbought zones.
Release Notes
A modernized take on the classic Williams %R oscillator — enhanced with a configurable moving average (SMA, EMA, RMA, WMA, HMA, or KAMA) for trend confirmation. Overbought and oversold zones are fully adjustable, and background highlights appear when momentum shifts: green for bullish crosses in oversold areas, red for bearish crosses in overbought zones.Release Notes
Improved the highlighting to fill all crossed over occurrences within the defined areas.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.