INVITE-ONLY SCRIPT
TA Pressure Gauge

The Pressure Gauge indicator is composed of two main plotted elements in Oscillator Mode: the Up/Down Volume Ratio (UDVR) as a histogram, and the Relative Strength (RS) Score as a continuous line. These two metrics work together to provide real-time insights into both volume momentum and relative performance.
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.

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.
僅限邀請腳本
只有經作者授權的使用者才能訪問此腳本,且通常需付費。您可以將此腳本加入收藏,但需先向作者申請並獲得許可後才能使用 — 點擊此處了解更多。如需更多詳情,請依照作者說明或直接聯繫Traders-Agency。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
We use the Pressure Gauge as a confirmation tool, not a signal in isolation. It helps us validate setups by combining volume behavior, relative strength, and chart patterns. When the Up/Down Volume Ratio is strong and the Relative Strength score is above
提醒:在請求訪問權限之前,請閱讀僅限邀請腳本指南。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
僅限邀請腳本
只有經作者授權的使用者才能訪問此腳本,且通常需付費。您可以將此腳本加入收藏,但需先向作者申請並獲得許可後才能使用 — 點擊此處了解更多。如需更多詳情,請依照作者說明或直接聯繫Traders-Agency。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
We use the Pressure Gauge as a confirmation tool, not a signal in isolation. It helps us validate setups by combining volume behavior, relative strength, and chart patterns. When the Up/Down Volume Ratio is strong and the Relative Strength score is above
提醒:在請求訪問權限之前,請閱讀僅限邀請腳本指南。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。