OPEN-SOURCE SCRIPT

TSM PCR Auto Alerts

111
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

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.