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

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian