OPEN-SOURCE SCRIPT
Cập nhật Current Candle

### Overview
The **Current Candle** indicator displays live information about the active bar. It shows the price change, percentage change, and candle range (high–low), conveniently placed to the right of the current candle.
### Features
• Shows absolute price change from the previous close
• Shows percentage change (%)
• Shows candle range (high–low)
• Customizable bull and bear colors (default TradingView candle colors: green = rgb(8,153,129), red = rgb(242,54,44))
• Toggle on/off Value, Percentage, and Range individually
• Always updates on the latest candle only, keeping charts clean
### How to Use
1. Add the indicator to your chart.
2. Adjust the “Right offset (bars)” to position the label.
3. Enable or disable Value, Percentage, or Range via checkboxes.
4. Customize bull/bear colors to match your chart theme if desired.
### Notes
• Label is plotted only on the latest candle (`barstate.islast`) to avoid clutter.
• Colors cannot be automatically synced to your TradingView chart theme — use the color inputs to match them manually.
• This script is designed for clarity and quick reference without altering your chart’s candles.
---
*Stay focused on the current candle — see change, percentage, and range at a glance.*
The **Current Candle** indicator displays live information about the active bar. It shows the price change, percentage change, and candle range (high–low), conveniently placed to the right of the current candle.
### Features
• Shows absolute price change from the previous close
• Shows percentage change (%)
• Shows candle range (high–low)
• Customizable bull and bear colors (default TradingView candle colors: green = rgb(8,153,129), red = rgb(242,54,44))
• Toggle on/off Value, Percentage, and Range individually
• Always updates on the latest candle only, keeping charts clean
### How to Use
1. Add the indicator to your chart.
2. Adjust the “Right offset (bars)” to position the label.
3. Enable or disable Value, Percentage, or Range via checkboxes.
4. Customize bull/bear colors to match your chart theme if desired.
### Notes
• Label is plotted only on the latest candle (`barstate.islast`) to avoid clutter.
• Colors cannot be automatically synced to your TradingView chart theme — use the color inputs to match them manually.
• This script is designed for clarity and quick reference without altering your chart’s candles.
---
*Stay focused on the current candle — see change, percentage, and range at a glance.*
Phát hành các Ghi chú
### OverviewThe **Current Candle** indicator displays live information about the active bar. It shows the price change, percentage change, and candle range (high–low), conveniently placed to the right of the current candle.
### Features
• Shows absolute price change from the previous close
• Shows percentage change (%)
• Shows candle range (high–low)
• Customizable bull and bear colors (default TradingView candle colors: green = rgb(8,153,129), red = rgb(242,54,44))
• Toggle on/off Value, Percentage, and Range individually
• Always updates on the latest candle only, keeping charts clean
### How to Use
1. Add the indicator to your chart.
2. Adjust the “Right offset (bars)” to position the label.
3. Enable or disable Value, Percentage, or Range via checkboxes.
4. Customize bull/bear colors to match your chart theme if desired.
### Notes
• Label is plotted only on the latest candle (`barstate.islast`) to avoid clutter.
• Colors cannot be automatically synced to your TradingView chart theme — use the color inputs to match them manually.
• This script is designed for clarity and quick reference without altering your chart’s candles.
---
*Stay focused on the current candle — see change, percentage, and range at a glance.*
Phát hành các Ghi chú
### OverviewThe **Current Candle** indicator displays live information about the active bar. It shows the price change, percentage change, and candle range (high–low), conveniently placed to the right of the current candle.
### Features
• Shows absolute price change from the previous close
• Shows percentage change (%)
• Shows candle range (high–low)
• Customizable bull and bear colors (default TradingView candle colors: green = rgb(8,153,129), red = rgb(242,54,44))
• Toggle on/off Value, Percentage, and Range individually
• Always updates on the latest candle only, keeping charts clean
### How to Use
1. Add the indicator to your chart.
2. Adjust the “Right offset (bars)” to position the label.
3. Enable or disable Value, Percentage, or Range via checkboxes.
4. Customize bull/bear colors to match your chart theme if desired.
### Notes
• Label is plotted only on the latest candle (`barstate.islast`) to avoid clutter.
• Colors cannot be automatically synced to your TradingView chart theme — use the color inputs to match them manually.
• This script is designed for clarity and quick reference without altering your chart’s candles.
---
*Stay focused on the current candle — see change, percentage, and range at a glance.*
Phát hành các Ghi chú
### OverviewThe **Current Candle** indicator displays live information about the active bar. It shows the price change, percentage change, and candle range (high–low), conveniently placed to the right of the current candle.
### Features
• Shows absolute price change from the previous close
• Shows percentage change (%)
• Shows candle range (high–low)
• Customizable bull and bear colors (default TradingView candle colors: green = rgb(8,153,129), red = rgb(242,54,44))
• Toggle on/off Value, Percentage, and Range individually
• Always updates on the latest candle only, keeping charts clean
### How to Use
1. Add the indicator to your chart.
2. Adjust the “Right offset (bars)” to position the label.
3. Enable or disable Value, Percentage, or Range via checkboxes.
4. Customize bull/bear colors to match your chart theme if desired.
### Notes
• Label is plotted only on the latest candle (`barstate.islast`) to avoid clutter.
• Colors cannot be automatically synced to your TradingView chart theme — use the color inputs to match them manually.
• This script is designed for clarity and quick reference without altering your chart’s candles.
---
*Stay focused on the current candle — see change, percentage, and range at a glance.*
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.