PROTECTED SOURCE SCRIPT
Positive Close Ratio

The Positive Close Ratio is a simple sentiment indicator that measures the percentage of days within a chosen lookback period where the closing price finished higher than the previous day.
• Calculation:
It counts how many daily closes were positive compared to the previous day, then divides by the total number of days in the lookback window.
\text{Positive Close Ratio} = \frac{\text{Number of Up Days}}{\text{Lookback Days}} \times 100
• Calculation:
It counts how many daily closes were positive compared to the previous day, then divides by the total number of days in the lookback window.
\text{Positive Close Ratio} = \frac{\text{Number of Up Days}}{\text{Lookback Days}} \times 100
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.