OPEN-SOURCE SCRIPT
Renko Size Table

Suggested Renko brick sizes at a glance, across four timeframes at once — no chart switching, no one indicator per interval.
Each row shows half of the timeframe's ATR (the common brick-size rule of thumb) in both price and ticks, over its own lookback in days. Two reads sit side by side:
- ATR / Half ATR / Ticks — the live, EMA-smoothed average true range. Reacts to the current session.
- Med ATR / Med Half ATR / Med Ticks — the median of each recent day's mean true range. It holds steady through an outlier session (one hot news day out of ten barely moves it), so it's the more stable pick on volatile instruments.
The suggested brick size is the Ticks (or Med Ticks) column.
Options: four timeframes with individual ATR-in-days lookbacks, an "ignore gaps" toggle to exclude the session-open gap, decimals, table position, text size, and colors.
Important: place it on a chart timeframe at or below the smallest row — a 1-minute chart for the 1/5/15/60 defaults. TradingView can only feed a higher-or-equal timeframe into each row; a row below the chart timeframe is flagged rather than shown wrong. Give it a couple of sessions to settle, since the ATR period is learned from how many bars each session holds.
Each row shows half of the timeframe's ATR (the common brick-size rule of thumb) in both price and ticks, over its own lookback in days. Two reads sit side by side:
- ATR / Half ATR / Ticks — the live, EMA-smoothed average true range. Reacts to the current session.
- Med ATR / Med Half ATR / Med Ticks — the median of each recent day's mean true range. It holds steady through an outlier session (one hot news day out of ten barely moves it), so it's the more stable pick on volatile instruments.
The suggested brick size is the Ticks (or Med Ticks) column.
Options: four timeframes with individual ATR-in-days lookbacks, an "ignore gaps" toggle to exclude the session-open gap, decimals, table position, text size, and colors.
Important: place it on a chart timeframe at or below the smallest row — a 1-minute chart for the 1/5/15/60 defaults. TradingView can only feed a higher-or-equal timeframe into each row; a row below the chart timeframe is flagged rather than shown wrong. Give it a couple of sessions to settle, since the ATR period is learned from how many bars each session holds.
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.