OPEN-SOURCE SCRIPT
Higher / Lower Close Count PRO+ (Daily close counts)

Simply counts the number of days closed higher or lower as a reference point to gauge where you are versus historical runs
Displays in table the historical days closed higher or lower on the instrument regardless of weekly or monthly display wanted to display the max up and down days to put rallies into historical context
user can switch off table display, or change number of run events.
need to look at it in daily view to see current set up and compare to historical to see if an instrument is at a potential inflection point or the rally is long in the tooth
I hope you have successful trading and you find this useful at extreme runs to see how rare an event this is or can the market carry the instrument further.
It may be useful tool to go back an analyse the count runs in stocks quickly in bear (or bull) market rallies. You could code that, so this is open for anyone to take it further. If you find it useful please drop a note to say so and make my day happier, that I was able to help.
Displays in table the historical days closed higher or lower on the instrument regardless of weekly or monthly display wanted to display the max up and down days to put rallies into historical context
user can switch off table display, or change number of run events.
need to look at it in daily view to see current set up and compare to historical to see if an instrument is at a potential inflection point or the rally is long in the tooth
I hope you have successful trading and you find this useful at extreme runs to see how rare an event this is or can the market carry the instrument further.
It may be useful tool to go back an analyse the count runs in stocks quickly in bear (or bull) market rallies. You could code that, so this is open for anyone to take it further. If you find it useful please drop a note to say so and make my day happier, that I was able to help.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.