cooltoyz: ghost candle

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 :)
Open-source Skript

Ganz im Sinne von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es verstehen und überprüfen können. Ein Hoch auf den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Publikation unterliegt den Hausregeln. Sie können das Skript den Favoriten hinzufügen, um es auf dem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?


How do I download this thing?
+4 Antworten
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