OPEN-SOURCE SCRIPT

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 :)
chartrealtimetimeframetools

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité