OPEN-SOURCE SCRIPT
업데이트됨 X AVWAP DSO

A powerful, non-overlay momentum indicator designed to measure the relationship between current price action and key Volume Weighted Average Price (VWAP) structures. It provides traders with a refined, configurable view of momentum by combining the **magnitude of price separation** with the **trend momentum** of the volume anchor.
---
### Core Calculation and Principle
This oscillator moves beyond simple price-vs-average separation by integrating the momentum (slope) of the volume average itself. The indicator is built around two primary components:
1. **Distance (D):** This is the magnitude of separation, calculated as the difference between the **closing price** and the selected **AVWAP Anchor Source** ($D = \text{Close} - \text{AVWAP}$).
2. **Slope (S):** This represents the **trend momentum** of the VWAP, calculated as the change in the smoothed AVWAP over a defined lookback period.
The final oscillator value is determined by the selected **Combination Method**, giving the user control over how these two factors interact:
* **Addition (Baseline):** The oscillator value is $D + S$. This provides a balanced view where the price separation is slightly adjusted by the VWAP's momentum.
* **Weighted Addition:** The oscillator value is $D + (S \times \text{Weight})$. This is a powerful feature that **allows the user to prioritize the impact of the Slope (trend momentum) over the Distance (magnitude)** using a customizable multiplier called the **Slope Weight**.
---
### Customization and Flexibility
The indicator's value lies in its deep configurability, allowing it to adapt to different trading strategies and timeframes:
* **AVWAP Anchor Source:** You can toggle between two critical VWAP reset structures for context:
* **4H Session VWAP:** Uses fixed, sequential 4-hour VWAP segments (e.g., 18:00, 22:00 NY Time) for tracking short-term structural shifts.
* **Daily AVWAP (ETH 18:00):** Uses a single, continuous VWAP anchored from the Electronic Trading Hours (ETH) open at 18:00 NY Time, providing a broader, sustained volume-weighted average context.
* **VWAP Price Source:** The underlying price used to calculate the VWAP itself is selectable (options include Close, OHLC4, HLC3, Open, High, and Low).
* **Plot Style:** Toggle between a continuous **Line** plot (for tracking fine movements) and a color-coded **Histogram** (for clear magnitude and directional reading, with Blue for positive and Red for negative).
### Trading Application
The AVWAP Distance & Slope Oscillator is a sophisticated tool best used to identify:
* **Zero-Line Crosses:** Signifying price crossing the underlying volume anchor while accounting for the anchor's own momentum.
* **Momentum Confirmation:** A high positive reading indicates price is strongly above the VWAP, and the VWAP itself is actively rising (strong bullish momentum).
* **Filtered Signals:** By adjusting the **Slope Weight** (in the Weighted Addition method), traders can amplify signals when the structural trend (VWAP slope) is strong, helping to filter out minor price fluctuations that occur when the VWAP is relatively flat.
---
### Core Calculation and Principle
This oscillator moves beyond simple price-vs-average separation by integrating the momentum (slope) of the volume average itself. The indicator is built around two primary components:
1. **Distance (D):** This is the magnitude of separation, calculated as the difference between the **closing price** and the selected **AVWAP Anchor Source** ($D = \text{Close} - \text{AVWAP}$).
2. **Slope (S):** This represents the **trend momentum** of the VWAP, calculated as the change in the smoothed AVWAP over a defined lookback period.
The final oscillator value is determined by the selected **Combination Method**, giving the user control over how these two factors interact:
* **Addition (Baseline):** The oscillator value is $D + S$. This provides a balanced view where the price separation is slightly adjusted by the VWAP's momentum.
* **Weighted Addition:** The oscillator value is $D + (S \times \text{Weight})$. This is a powerful feature that **allows the user to prioritize the impact of the Slope (trend momentum) over the Distance (magnitude)** using a customizable multiplier called the **Slope Weight**.
---
### Customization and Flexibility
The indicator's value lies in its deep configurability, allowing it to adapt to different trading strategies and timeframes:
* **AVWAP Anchor Source:** You can toggle between two critical VWAP reset structures for context:
* **4H Session VWAP:** Uses fixed, sequential 4-hour VWAP segments (e.g., 18:00, 22:00 NY Time) for tracking short-term structural shifts.
* **Daily AVWAP (ETH 18:00):** Uses a single, continuous VWAP anchored from the Electronic Trading Hours (ETH) open at 18:00 NY Time, providing a broader, sustained volume-weighted average context.
* **VWAP Price Source:** The underlying price used to calculate the VWAP itself is selectable (options include Close, OHLC4, HLC3, Open, High, and Low).
* **Plot Style:** Toggle between a continuous **Line** plot (for tracking fine movements) and a color-coded **Histogram** (for clear magnitude and directional reading, with Blue for positive and Red for negative).
### Trading Application
The AVWAP Distance & Slope Oscillator is a sophisticated tool best used to identify:
* **Zero-Line Crosses:** Signifying price crossing the underlying volume anchor while accounting for the anchor's own momentum.
* **Momentum Confirmation:** A high positive reading indicates price is strongly above the VWAP, and the VWAP itself is actively rising (strong bullish momentum).
* **Filtered Signals:** By adjusting the **Slope Weight** (in the Weighted Addition method), traders can amplify signals when the structural trend (VWAP slope) is strong, helping to filter out minor price fluctuations that occur when the VWAP is relatively flat.
릴리즈 노트
added weekly오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.