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
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.