OPEN-SOURCE SCRIPT
A candle counter

Candle Counter
A study indicator that allows you to set a starting point on the chart via date input and automatically count the subsequent candles.
Main features:
Dashed vertical bar positionable via date input
Automatic candle numbering (default 13, customizable)
Highlight of the candle with the lowest low (red box)
Spike detection: red arrow below candles whose low is below the first candle, green arrow above candles whose high is above the first candle
All colors, sizes and positions are fully customizable
How to use:
Add the indicator to the chart
Set the start date in the settings
Candles are automatically numbered from the selected bar
A study indicator that allows you to set a starting point on the chart via date input and automatically count the subsequent candles.
Main features:
Dashed vertical bar positionable via date input
Automatic candle numbering (default 13, customizable)
Highlight of the candle with the lowest low (red box)
Spike detection: red arrow below candles whose low is below the first candle, green arrow above candles whose high is above the first candle
All colors, sizes and positions are fully customizable
How to use:
Add the indicator to the chart
Set the start date in the settings
Candles are automatically numbered from the selected bar
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.