TA Pressure Gauge

The UDVR histogram measures the ratio of buying volume to selling volume. Specifically, if the current close is greater than the previous close, the volume for that bar is classified as up volume. If the current close is lower than the previous close, it’s classified as down volume. Over a 50-bar rolling window (or fewer if limited history exists), the sum of up volume is divided by the sum of down volume to calculate the UDVR. The result is normalized and plotted as vertical bars centered around a baseline value of 50. A UDVR value greater than 1 indicates bullish dominance—more buying than selling—while a value less than 1 indicates bearish pressure. The histogram bars are dynamically color-coded:
Lime or Green when the UDVR is rising and remains above 1, signaling increasing buying strength.
Red or Maroon when the UDVR is falling and below 1, indicating growing selling pressure.
The second component is the Relative Strength Score (RS Score), plotted as a line graph overlaid on the oscillator. This is calculated by dividing the current closing price of the selected asset by the closing price of a benchmark index (e.g., SPX). The result is normalized over a selectable lookback period—63 bars (3 months), 126 bars (6 months), or 251 bars (12 months)—and then converted into a value between 1 and 99. This RS line reflects how well the asset is performing compared to the broader market. When the RS Score is above 70, it indicates strong outperformance and leadership; below 30 suggests underperformance.
The true value of Oscillator Mode is in its ability to combine these two readings visually. When both the UDVR histogram is green and elevated, and the RS line is rising and above 70, it often indicates strong institutional accumulation and momentum—key ingredients for high-probability breakout or trend-following trades. This dual-layered confirmation system enables traders to cut through noise and focus on setups that align both in volume strength and market relative performance. The oscillator can be fully customized within the script to change colors, sizing, and input periods, making it flexible for various trading styles and timeframes.
Look at this textbook flag forming on ticker symbol WGS. The setup was clean, and the Pressure Gauge was already showing bullish signals.
Following the breakout, you can see how the move confirmed what the Pressure Gauge was indicating early on—strong buying pressure and clear relative strength.
Script su invito
Solo gli utenti autorizzati dall'autore hanno accesso a questo script e ciò richiede solitamente un pagamento. Puoi aggiungere lo script ai tuoi preferiti, ma potrai utilizzarlo solo dopo aver richiesto l'autorizzazione e averla ottenuta dal suo autore - per saperne di più leggi qui. Per maggiori dettagli, segui le istruzioni dell'autore qui sotto o contatta direttamente Traders-Agency.
TradingView NON consiglia di pagare o utilizzare uno script a meno che non ci si fidi pienamente del suo autore e non si comprenda il suo funzionamento. Puoi anche trovare alternative gratuite e open-source nei nostri script della comunità.
Istruzioni dell'autore
Attenzione: prima di richiedere l'accesso, leggi la nostra guida per gli script su invito.
Declinazione di responsabilità
Script su invito
Solo gli utenti autorizzati dall'autore hanno accesso a questo script e ciò richiede solitamente un pagamento. Puoi aggiungere lo script ai tuoi preferiti, ma potrai utilizzarlo solo dopo aver richiesto l'autorizzazione e averla ottenuta dal suo autore - per saperne di più leggi qui. Per maggiori dettagli, segui le istruzioni dell'autore qui sotto o contatta direttamente Traders-Agency.
TradingView NON consiglia di pagare o utilizzare uno script a meno che non ci si fidi pienamente del suo autore e non si comprenda il suo funzionamento. Puoi anche trovare alternative gratuite e open-source nei nostri script della comunità.
Istruzioni dell'autore
Attenzione: prima di richiedere l'accesso, leggi la nostra guida per gli script su invito.