copesprings

Volume Density Candle

copesprings Diupdate   
A candle chart that indicates congestion or resistance by the color of each candle.

The transparency of each candle is based on volume density.
Volume density is calculated as follows.
Volume density = Volume / Price range
Price range uses true range "max(high - low, abs(high - close), abs(low - close))".
Since volume density varies drastically by stock or time, the transparency is calculated based on the deviation rate from the average volume density.

If the candle is shorter and the color is brighter (less transparency), there is more transactions in the narrow price range than usual, and it could mean the candle's price range is congestion or resistance.
If the price breaks through that price range or rebounds from it, the price could move further in that direction.
Catatan Rilis:
Added "Max Transparency" setting to avoid invisible candle.
Fixed a bug when the price range is 0.
Catatan Rilis:
Removed candles with no price change from average calculation.
Catatan Rilis:
Added options to exclude the first or last candle of the intraday session from the average because those two candles distort the average in some markets.
Catatan Rilis:
Added an option to change the max deviation rate.
Catatan Rilis:
Minor fix.
Catatan Rilis:
Fixed max deviation rate option.
Skrip open-source

Dalam semangat TradingView, penulis dari skrip ini telah mempublikasikannya ke sumber-terbuka, maka trader dapat mengerti dan memverifikasinya. Semangat untuk penulis! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Inggin menggunakan skrip ini pada chart?