OPEN-SOURCE SCRIPT

PCSPL

Type A Candle:

This candle is labeled "A" if its high price is higher than the high price of the previous candle, and its low price is also higher than the low price of the previous candle.
In simpler terms, the entire candle (both the top and bottom) is above the previous candle.
Type B Candle:

This candle is labeled "B" if its high price is lower than the high price of the previous candle, and its low price is also lower than the low price of the previous candle.
In simpler terms, the entire candle (both the top and bottom) is below the previous candle.
Type C Candle:

This candle is labeled "C" if its high price is higher than the high price of the previous candle, and its low price is lower than the low price of the previous candle.
In simpler terms, this candle has a higher high and a lower low compared to the previous candle, indicating a larger range or volatility.
Type D Candle:

This candle is labeled "D" if its high price is lower than the high price of the previous candle, and its low price is higher than the low price of the previous candle.
In simpler terms, this candle has a lower high and a higher low compared to the previous candle, indicating a smaller range or consolidation.
Candlestick analysis

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal