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
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。