OPEN-SOURCE SCRIPT
Daily & Weekly Closing Range % (Screener Compatible)

Overview
This indicator calculates the Daily Closing Range (DCR) and Weekly Closing Range (WCR) as a percentage. It measures where the price finishes relative to the session's high and low.
This is a staple metric for trend followers and "CANSLIM" style traders (popularized by platforms like Deepvue and MarketSmith) to identify institutional support. A high closing range (e.g., >80%) indicates that despite intraday volatility, buyers were aggressive enough to hold price near the highs.
Key Features
Screener Integration:
Designed specifically to work with the TradingView Stock Screener (Beta). You can now filter your universe for stocks closing in the top 10% or 25% of their range.
Dual Timeframe: Pulls both Daily and Weekly data regardless of the timeframe you are currently viewing.
Clean Visuals: Includes a histogram at the bottom of your chart for quick visual confirmation of price "tightness."
How to use for Screening:
Add this script to your chart.
Open the Stock Screener (Beta).
Add a filter and search for "Closing Range Tracker".
Select Daily Closing Range and set the value to Greater than 90 to find stocks finishing at the dead-highs.
This indicator calculates the Daily Closing Range (DCR) and Weekly Closing Range (WCR) as a percentage. It measures where the price finishes relative to the session's high and low.
This is a staple metric for trend followers and "CANSLIM" style traders (popularized by platforms like Deepvue and MarketSmith) to identify institutional support. A high closing range (e.g., >80%) indicates that despite intraday volatility, buyers were aggressive enough to hold price near the highs.
Key Features
Screener Integration:
Designed specifically to work with the TradingView Stock Screener (Beta). You can now filter your universe for stocks closing in the top 10% or 25% of their range.
Dual Timeframe: Pulls both Daily and Weekly data regardless of the timeframe you are currently viewing.
Clean Visuals: Includes a histogram at the bottom of your chart for quick visual confirmation of price "tightness."
How to use for Screening:
Add this script to your chart.
Open the Stock Screener (Beta).
Add a filter and search for "Closing Range Tracker".
Select Daily Closing Range and set the value to Greater than 90 to find stocks finishing at the dead-highs.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。