VanHe1sing

Cumulative Volume Price

VanHe1sing ที่อัปเดต:   
Cumulative Volume Price

Purpose:
The indicator aims to display a weighted average price based on cumulative volume and cumulative price within defined lengths.

How it works
  • Calculation Steps:
    Cumulative Volume (cumvol): the cumulative total volume.
    Cumulative Price (cumprice): the cumulative closing price.
    Net Value (net): Calculates the weighted average price by dividing the cumulative price by the cumulative volume.

  • Formula:
    net = (cumulative price * volume) / cumulative volume

  • Check for Rising Trend:
    Utilizes a simple moving average to detect rising trends.
    Uses the ta.rising() function to identify if the simple moving average is rising.
    If the condition is met, the net value is retained; otherwise, it is inverted.

Interpretation:
Positive Values (Green): Indicates a positive weighted volume average price, potentially suggesting upward price momentum or buying pressure.
Negative Values (Red): Represents a negative weighted volume average price, possibly signaling downward price momentum or selling pressure.

Usage:
Trend Confirmation: Helps confirm trends based on changes in the weighted average price.
Volume-Price Relationship: Illustrates the relationship between cumulative volume and price movement.
เอกสารเผยแพร่:
Added types of moving average and linear regression curve. In case of using linear regression curve length must be around 50

สคริปต์โอเพนซอร์ซ

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

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

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

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