PROTECTED SOURCE SCRIPT
WMB Oscillator | [DeV]

The "WMB Oscillator" indicator is a multi-factor momentum and volatility indicator designed to give traders a dynamic edge in identifying trend strength, market pressure, and potential turning points. By combining three powerful tools—Williams %R, Money Flow Index, and Bollinger Band Width—this oscillator presents a single histogram that visually represents the interplay between overbought/oversold levels, volume-weighted pressure, and volatility expansion. Use it to anticipate trend shifts, confirm entries, or avoid traps in ranging markets.
Williams %R:
Williams %R measures the closing price's position relative to the recent high-low range over a defined period. It outputs a value between 0 and -100, where values closer to -100 suggest oversold conditions, and those near 0 indicate overbought. In this oscillator, the raw %R is normalized between your defined overbought and oversold thresholds, allowing it to integrate seamlessly into the combined signal without distortion from price scale differences.
Money Flow Index (MFI):
The MFI gauges buying and selling pressure using both price and volume. It calculates the typical price for each bar, multiplies it by volume, and compares positive versus negative money flows over time. Normalized between your custom thresholds, the MFI component helps highlight when a move is driven by real conviction (volume) rather than weak price fluctuation, enhancing the signal’s reliability.
Bollinger Band Width (BB Width):
BB Width quantifies volatility by measuring the percentage difference between the upper and lower Bollinger Bands relative to their moving average. When volatility contracts, BB Width narrows—often preceding explosive moves. When it expands, volatility is peaking. Here, the raw BB Width is detrended using its moving average and scaled with a user-defined multiplier to reflect its deviation strength.
Why Combine These:
Each of these three metrics captures a unique dimension of market behavior: %R tracks momentum in price extremes, MFI confirms the move’s strength through volume, and BB Width anticipates volatility surges. Combined, they form a balanced oscillator that reacts fluidly to market changes while filtering out noise. The result is a nuanced, multi-angle view of the market's internal dynamics, enabling smarter, more confident trading decisions.
Williams %R:
Williams %R measures the closing price's position relative to the recent high-low range over a defined period. It outputs a value between 0 and -100, where values closer to -100 suggest oversold conditions, and those near 0 indicate overbought. In this oscillator, the raw %R is normalized between your defined overbought and oversold thresholds, allowing it to integrate seamlessly into the combined signal without distortion from price scale differences.
Money Flow Index (MFI):
The MFI gauges buying and selling pressure using both price and volume. It calculates the typical price for each bar, multiplies it by volume, and compares positive versus negative money flows over time. Normalized between your custom thresholds, the MFI component helps highlight when a move is driven by real conviction (volume) rather than weak price fluctuation, enhancing the signal’s reliability.
Bollinger Band Width (BB Width):
BB Width quantifies volatility by measuring the percentage difference between the upper and lower Bollinger Bands relative to their moving average. When volatility contracts, BB Width narrows—often preceding explosive moves. When it expands, volatility is peaking. Here, the raw BB Width is detrended using its moving average and scaled with a user-defined multiplier to reflect its deviation strength.
Why Combine These:
Each of these three metrics captures a unique dimension of market behavior: %R tracks momentum in price extremes, MFI confirms the move’s strength through volume, and BB Width anticipates volatility surges. Combined, they form a balanced oscillator that reacts fluidly to market changes while filtering out noise. The result is a nuanced, multi-angle view of the market's internal dynamics, enabling smarter, more confident trading decisions.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.