OPEN-SOURCE SCRIPT

TSM PCR Auto Alerts

69
PCR Auto Alerts (Bullish · Neutral · Bearish)

🎯 Objective of the Script

This script is designed to:

Calculate the Put–Call Ratio (PCR)

Interpret market sentiment using predefined PCR zones

Automatically generate Bullish, Neutral, and Bearish alerts

Visually display the PCR trend and current market view

📊 What is PCR (Put–Call Ratio)?

PCR = Put Open Interest ÷ Call Open Interest

It reflects market participants’ expectations:

Lower PCR → More calls → Bullish bias

Higher PCR → More puts → Bearish bias

🔧 Inputs Used in the Script

Put Open Interest (Put OI)

Manually entered value

Call Open Interest (Call OI)

Manually entered value

These inputs make the script ideal for:

Learning & teaching

Strategy explanation

Posters & educational content

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.