TradingView
deimosaffair
26 dic 2016 19:43

cooltoyz: ghost candle 

Bitcoin / United States dollarOKCoin

Descrizione

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 :)
Commenti
Saffekaffe
How do I download this thing?
iera
Bro are you stil with us?
deimosaffair
and, to spread the love, there's a new cooltoy based on this ghosting idea, here : tradingview.com/script/TZGGGT4X-cooltoyz-shadow-candles/
TRADE2020
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, 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
Altro