OPEN-SOURCE SCRIPT
Cập nhật Renko Box Chart Overlay by BD

This is Renko chart overlay for Candles chart. You can use it to identify market direction and potential key points.
To use it simply select box size and any timeframe you want.
With this overlay you can be sure that you'll see every brick on a chart showing general market direction with all the details of a candles chart.
Alternatives Renko overlay charts:

If you don't have access to 1s timeframe or you don't want to use low TF here is the situation with built in Renko chart on 5m TF:

This Renko boxes are linked to chart by time(candle) and price. It will draw a box even if price didn't close above(or below) of box level:

But be careful when setting box size too small because it will produce bad results:

The issue is known and I'll work on fixing it in next update, for now use box size at least the size of a body of a candle, after all renko is for general market movement and not for marking up every tick.
Let me know if you want to see any additions.
To use it simply select box size and any timeframe you want.
With this overlay you can be sure that you'll see every brick on a chart showing general market direction with all the details of a candles chart.
Alternatives Renko overlay charts:
If you don't have access to 1s timeframe or you don't want to use low TF here is the situation with built in Renko chart on 5m TF:
This Renko boxes are linked to chart by time(candle) and price. It will draw a box even if price didn't close above(or below) of box level:
But be careful when setting box size too small because it will produce bad results:
The issue is known and I'll work on fixing it in next update, for now use box size at least the size of a body of a candle, after all renko is for general market movement and not for marking up every tick.
Let me know if you want to see any additions.
Phát hành các Ghi chú
Good news, everyone! With this major update I'm offering you the most accurate Renko chart overlay on the market today. Now you can set any Box size on any TF you like and be sure that every brick will be plotted on a chart! *Limitations of chart resolution still apply*
Minor updates:
Added label text color setting
Added "Display Until" feature - use this if you can't see all boxes on a chart (because of max box limit)
Phát hành các Ghi chú
*Updated screen picturePhát hành các Ghi chú
- Minor improvement
- Bug fix
- Added Alerts (on next box level)
Phát hành các Ghi chú
- Minor productivity improvement
- Added Box border color input
Phát hành các Ghi chú
Improvement:- Removed max bars back limitation when selected large box value and low TF
Phát hành các Ghi chú
Update:- Added candles repainting based on closing price above/below/within Box's high/low.
- Added "Anchored" option. With this feature you can set start time and initial high/low of a box yourself.
https://www.tradingview.com/x/DtcGJkAH/
Phát hành các Ghi chú
- Reworked "Anchored" option.
- Added "Reset Daily" option.
- Added options to set initial price.
- Added optional selection for labels.
- Added option to update labels (so they are always at the rightmost bar).
- Added Remainder calculation (to next box level).
- Added "Projected Box" option.
- Significantly improved performance.
Phát hành các Ghi chú
Minor improvements.Phát hành các Ghi chú
Performance improvements and fixesPhát hành các Ghi chú
added Once Per Bar setting for alertsPhát hành các Ghi chú
- performance improvement
Phát hành các Ghi chú
- Fixed a bug when box wasn't drawn when current price was equal to next box level on symbols with price close to or below 1 (like EUR/USD). *The issue is due to the way Pinescript works.
- Fixed a bug when drawing too wide box on low TF (1s-5s TF).
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.