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, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.