cooltoyz: ghost candle

Dilihat 4754
This is a tool. Do with it what you like :)

The ghost candle works by drawing a bigger time frame candles in ghost mode over a chart. The time frame is default of 4h, can be changed in the "format" pop-up.

What we see in a time frame as the "wick", is really a set of candles when looked at lower resolutions/timeframes, that info is crunched into the OHLC format. But, when we look at a represntation of the "internals" of a candle, the wicks are not just a single candle that "walked out of the reservation".

So, in this ghost mode, a wick makes no sense visually. In this case, the OHLC is represented as a darker area for the main candle body, and lighter zones for the wicks. Just another way to sing the same song...

Note 1: the ghost candles are skewed, due to the way that TV plots a line. It's most visible when a chart is very zoomed.
Note 2:As result of the TV real time engine, the last candle presents sometimes mixed colors. There's no easy way to fix it, so until the candle closes, if you see weird colors, well, that's life :)
Skrip open-source

Sejalan dengan semangat TradingView, penulis skrip ini telah mempublikasikannya secara open-source, sehingga para trader dapat memahami dan memverifikasinya. Salut untuk sang penulis! Anda dapat menggunakannya secara gratis, tetapi penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk dapat menggunakannya didalam sebuah chart.

Inggin menggunakan skrip ini pada chart?


How do I download this thing?
+4 Jawab
Bro are you stil with us?
and, to spread the love, there's a new cooltoy based on this ghosting idea, here :
I agree, pine script is crazy when it comes to multi time-frame, this is the weakness of pine script , but thanks for this indicator, i had the MT4 version but now i will use yours. excellent work !!
deimosaffair TRADE2020
@TRADE2020, late thanks for your like.

it would still be very hard to fix the realtime "bug" without some serious repainting hack, but i use a simple qikfix for anyone annoyed with this :)
just reload chart, or in the ghost candle settings, change the period, it redraws the whole thing clean again