OPEN-SOURCE SCRIPT
PVT Trend Channel

The PVT Trend Channel indicator is a trend-following tool based on the Price Volume Trend (PVT). PVT is a cumulative indicator that takes both price movement and trading volume into account — meaning a trend signal is only triggered when price moves with real volume behind it. This makes it significantly more reliable than indicators that rely on price alone.
How It Works
The indicator watches PVT for significant extremes:
Once a trend is confirmed, it stays active until the opposite signal appears. This keeps the indicator stable and prevents it from switching back and forth on every small move. The line is drawn using the actual price highs and lows of the lookback period, so it always reflects real price structure on your chart.
Why Volume Matters
Most trend indicators only look at price. The problem with that is that price can move on low volume — which often leads to false signals. PVT solves this by requiring volume to confirm the move. A bullish signal only fires when price rises and volume supports it. This filters out weak moves and keeps you aligned with trends that have real conviction behind them.
Settings
How It Works
The indicator watches PVT for significant extremes:
- When PVT hits its highest point within the lookback window — bullish trend is confirmed, upper line activates
- When PVT hits its lowest point within the lookback window — bearish trend is confirmed, lower line activates
Once a trend is confirmed, it stays active until the opposite signal appears. This keeps the indicator stable and prevents it from switching back and forth on every small move. The line is drawn using the actual price highs and lows of the lookback period, so it always reflects real price structure on your chart.
Why Volume Matters
Most trend indicators only look at price. The problem with that is that price can move on low volume — which often leads to false signals. PVT solves this by requiring volume to confirm the move. A bullish signal only fires when price rises and volume supports it. This filters out weak moves and keeps you aligned with trends that have real conviction behind them.
Settings
- h — How many bars back the indicator looks to detect a bullish PVT extreme (default: 29)
- l — How many bars back the indicator looks to detect a bearish PVT extreme (default: 25)
Recommended Usage- Best used on the 1D timeframe for clean and reliable trend identification
- Best used alongside other indicators — this tool identifies the trend, but should not be used alone for trade entries
- The two lookback periods are intentionally different — bullish and bearish trends often develop at different speeds, so treating them separately improves accuracy
This indicator does not repaint. All signals are confirmed on bar close.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。