TradingView
Duyck
10 lip 2019 13:25

Range Candles - JD 

Bitcoin / TetherUSBinance

Opis

This tool takes a "RANGE" chart and transforms it into "NORMAL" or "HEIKEN-ASHI" candles.
Instantly giving you a much better visual interpretation of the "range" information!!!

NOTE: due to the nature of Pinescript and how range charts are constructed it's possible the candles are not formed on every tick!!!
When formed though, they don't repaint and are calculated differently for every bar so you get approximately the most accurate view at the price action that Tradingview can offer you!

For compasrison:
this is a view of the "1 minute" chart:


this is the normal "1 range" chart without the candles


this is the same "1 range" chart with Heiken-Ashi candles


this is the normal "1000 range" chart (+/- equal to the 1 minute) without the candles


this is the same "1000 range" chart with Heiken-Ashi candles



JD.

#NotTradingAdvice #DYOR

Disclaimer.
I AM NOT A FINANCIAL ADVISOR.
THESE IDEAS ARE NOT ADVICE AND ARE FOR EDUCATION PURPOSES ONLY.
ALWAYS DO YOUR OWN RESEARCH!

I build these indicators for myself and provide them open source, to use for free to use and improve upon,
as I believe the best way to learn is toghether.

Informacje o Wersji

update to v4.

Informacje o Wersji

Corrected the 'Heikin Ashi close' calculation, I forgot to adjust it and never noticed it!

Thanks @Nuno_R for pointing it out!

Gr, JD.
Komentarze
perx
Very nice work there buddy! tnx
Duyck
@perx, Thanks
Nuno_R
Awesome Great work.

One question : at line 36 you write
close_range_HA:=(open_range_HA+close)/2
but with heiken Ashi
Close= (Open+High+Low+Close)/4
it it correct?
Duyck
@Nuno_R, Oh yeah, you're totally right, I copied the 'ha open' code and never noticed I forgot to adjust it for the 'ha close',...

Thx.

I'll update!

Gr, JD.
allthingschange2019
Thank you much!
Duyck
@allthingschange2019, My pleasure.
LTH75
Really nice ! Thanks a lot
Duyck
@LTH75, ty!
AltJams
Very interesting, thanks!
Duyck
@wroclai, TY
Więcej