OPEN-SOURCE SCRIPT

Renko Cloud (H-Ashi Data)

247
First, thanks to the author of the original idea - pl.tradingview.com/u/The_Peaceful_Lizard/ and his indicator
Renko Bands


The idea behind my idea is to smooth the chart as much as possible...

This script is a trend-following indicator that combines Heikin Ashi price data, Renko box logic, and ALMA (Arnaud Legoux Moving Average) smoothing to filter out market noise.

A small note at the beginning - the indicator on Japanese candles and Heiken Ashi is the same - figuratively - the calculations from Heiken Ashi are projected onto regular candles ;)
PS - The default settings are proposed for BTC/USD on the 1D interval

Here is a breakdown of what the script does:

1. Data Pre-processing (Heikin Ashi)

Instead of using standard price bars, the script fetches Heikin Ashi data. Heikin Ashi candles are already a filtering mechanism designed to reduce "sawtooth" price action and make trends easier to spot. The script specifically uses the average of the Heikin Ashi Open and Close as its main price source.

2. Dual ALMA Moving Averages

The script plots two ALMA lines on the chart:
Medium (Aggressive): A faster moving average used to detect short-term trend shifts.
Long: A slower moving average used to identify the macro trend.
Visuals: These lines change color (e.g., Green for up, Red for down) based on their slope.

3. "Synthetic" Renko Logic

Standard Renko charts discard the time axis, but this script calculates Renko logic on top of a standard time-based chart.
Brick Size Calculation: You can choose how the "brick" size is determined:
ATR: Dynamically adjusts based on volatility (using an ALMA-smoothed ATR).
Percent: Based on a percentage of the price.
Static: A fixed point/pip value.
Trend Tracking: The script only updates its "current" price level when the source price moves by at least one full "brick size." This effectively ignores minor price fluctuations that don't meet the threshold.

4. Dynamic Ribbon & Visualization

The script visualizes the trend through a "Ribbon" or "Channel":
Renko Center: The smoothed path of the Renko levels.
Bands: It plots an Upper and Lower band (one brick size away from the center).
Color Gradients: The space between the bands is filled with color. It turns Green when the Renko direction is Up and Red when the Renko direction is Down.
Barcolor: It automatically changes the color of your price bars to match the detected trend.

Summary of Use Case
This indicator is designed for trend traders who want to stay in a position as long as the momentum is strong and exit only when a significant reversal occurs. By combining Heikin Ashi and Renko logic, it aims to eliminate "fakeouts" and keep the trader focused on the primary market direction.

Happy hunting for profits!


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.