This script drowse renkoboxes on top of candlesticks. This script does not repaint and can be used for alerts generation. If you add Renko to the same chart using security function it won't be the same (which seems to be a bug in TV). To check if my implementation is correct you can open Renko in a separate window and check timestamps.
Unlike standard implementation, when you use ATR based Renko bars, every box can have different size! The current ATR is applied after every bar. The standard implementation takes the current ATR value and applies it to the whole chart, so the chart may look totally different when you reload the page.