OPEN-SOURCE SCRIPT
Put/Call Volume Ratio (Sentiment Zones)

Creates a real-time visual indicator that tracks market sentiment based on options volume, using the Put/Call Volume Ratio:
Put/Call Ratio = (Put Volume) / (Call Volume)
A low ratio (e.g. < 0.7) suggests bullish sentiment, meaning more call options are being bought than puts — traders expect price to rise.
A high ratio (e.g. > 1.2) suggests bearish sentiment, meaning more puts are being bought — traders are hedging or betting on a drop.
📈 What the Script Plots:
A line chart of the real-time Put/Call Volume Ratio.
Colored thresholds to identify sentiment zones:
🟢 Bullish zone: Ratio below 0.7 (green background)
🔴 Bearish zone: Ratio above 1.2 (red background)
🟠 Neutral zone: Between 0.7 and 1.2 (no background color)
Horizontal lines for the bullish and bearish zone boundaries.
🛠️ Use Cases for Traders:
Confirm sentiment before entering a trade.
Spot potential reversals when sentiment extremes are reached.
Combine with price action or Strat setups to increase trade confidence.
Put/Call Ratio = (Put Volume) / (Call Volume)
A low ratio (e.g. < 0.7) suggests bullish sentiment, meaning more call options are being bought than puts — traders expect price to rise.
A high ratio (e.g. > 1.2) suggests bearish sentiment, meaning more puts are being bought — traders are hedging or betting on a drop.
📈 What the Script Plots:
A line chart of the real-time Put/Call Volume Ratio.
Colored thresholds to identify sentiment zones:
🟢 Bullish zone: Ratio below 0.7 (green background)
🔴 Bearish zone: Ratio above 1.2 (red background)
🟠 Neutral zone: Between 0.7 and 1.2 (no background color)
Horizontal lines for the bullish and bearish zone boundaries.
🛠️ Use Cases for Traders:
Confirm sentiment before entering a trade.
Spot potential reversals when sentiment extremes are reached.
Combine with price action or Strat setups to increase trade confidence.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。