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. اقرأ المزيد في شروط الاستخدام.