copesprings

Volume Density Candle

copesprings ที่อัปเดต:   
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.
เอกสารเผยแพร่:
Added "Max Transparency" setting to avoid invisible candle.
Fixed a bug when the price range is 0.
เอกสารเผยแพร่:
Removed candles with no price change from average calculation.
เอกสารเผยแพร่:
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.
เอกสารเผยแพร่:
Added an option to change the max deviation rate.
เอกสารเผยแพร่:
Minor fix.
เอกสารเผยแพร่:
Fixed max deviation rate option.
สคริปต์โอเพนซอร์ซ

ด้วยจิตวิญญาณของ TradingView อย่างแท้จริง ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้ผู้ค้าสามารถเข้าใจและตรวจสอบได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ได้ฟรี แต่การใช้รหัสนี้ซ้ำในสิ่งพิมพ์อยู่ภายใต้กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?