OPEN-SOURCE SCRIPT
Renko Guppy

I like renko blocks and I like guppy mma's so I decided to put together a study for using them with each other while I'm using other bar types.
Additionally, I added two line plots for two different renko sizes of your choice. This has a nice benefit of being able to see how price appears to be ranging between the "block sizes".
Being able to see the lines contract, especially within these "ranging" zones, gives you a great indication of an impending breakout.
The example you see above shows the guppy block size set to 15, the white line is 50 and the blue is 100. It should hopefully illustrate the idea.
The current close price (red line) can also be optionally plotted as a separate moving average, or simply the close price. I defaulted it to a 3 period EMA to smooth it out a bit so it flows a bit better with the guppy ma's. It's helpful to see how price is actually moving around within these Renko blocks.
Pick either Traditional or ATR block sizes.
There are the fast (5) / slow (5) moving averages.
Pick your poison: EMA (default), SMA, WMA, SMMA, DEMA, TEMA, HullMA, ZEMA, TMA, SSMA
There's some options to disable/enable things as you see fit.
The defaults are set to my own needs so you'll probably want to change block sizes for you preferences/symbols/timeframes.
Note: This is presumably only usable for those of you with access to Renko charts on here.
Additionally, I added two line plots for two different renko sizes of your choice. This has a nice benefit of being able to see how price appears to be ranging between the "block sizes".
Being able to see the lines contract, especially within these "ranging" zones, gives you a great indication of an impending breakout.
The example you see above shows the guppy block size set to 15, the white line is 50 and the blue is 100. It should hopefully illustrate the idea.
The current close price (red line) can also be optionally plotted as a separate moving average, or simply the close price. I defaulted it to a 3 period EMA to smooth it out a bit so it flows a bit better with the guppy ma's. It's helpful to see how price is actually moving around within these Renko blocks.
Pick either Traditional or ATR block sizes.
There are the fast (5) / slow (5) moving averages.
Pick your poison: EMA (default), SMA, WMA, SMMA, DEMA, TEMA, HullMA, ZEMA, TMA, SSMA
There's some options to disable/enable things as you see fit.
The defaults are set to my own needs so you'll probably want to change block sizes for you preferences/symbols/timeframes.
Note: This is presumably only usable for those of you with access to Renko charts on here.
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.