OPEN-SOURCE SCRIPT
업데이트됨

VWAP Suite {Phanchai}

577
VWAP Suite {Phanchai}
Compact, readable, TradingView-friendly.

What is VWAP?
The Volume Weighted Average Price (VWAP) is the average price of a period weighted by traded volume. It’s used as a fair-value reference (mean) and resets at the start of each new period.

Included VWAP Modes
  • Session — resets each trading day (current session).
  • Week / Month / Quarter / Year — current calendar periods.
  • Anchored Week / Month / Quarter / Year — starts at the beginning of the previous completed period.
  • Rolling 7D / 30D / 90D — rolling windows: today + last 6/29/89 daily sessions.


Important
This suite does not generate buy/sell signals. It provides structure and confluence; decisions remain yours.

Use Cases
  • Identify fair-value zones / mean-reversion areas.
  • Plan TP / SL around periodic VWAPs.
  • Define DCA levels (e.g., anchored to prior week/month).
  • Gauge trend bias via VWAP slope and reactions.


How to Use
  • Inputs → VWAP 1..5: Choose the period per slot (Session, Anchored, Rolling, etc.) and toggle Show.
  • Sources: Select the price source for all VWAPs (default: HLC3).
  • Global:Line offset (bars) shifts plots visually (does not affect calculations).
  • Style tab: Adjust per-line colors, thickness, and line style.


Alerts
  • Price crosses a VWAP (per slot).
  • VWAP slope turns UP or DOWN (per slot).


Tips & Notes
  • Volume required: Poor/absent volume (e.g., some FX tickers) can degrade accuracy.
  • Anchored modes: Start at the prior period’s open; values appear only after that timestamp.
  • Rolling modes: Use completed daily sessions (including today).
  • Clutter control: If labels crowd, increase Line offset or hide unneeded slots.
  • Confluence: Combine with market structure, liquidity zones, or momentum filters for stronger context.


Built for clear VWAP workflows. Trade safe!
릴리즈 노트
More Rolling VWAPs + some small improvements
릴리즈 노트
Update
릴리즈 노트
I have added 3 more Alerts:
* VWAP — All Active Same Slope, All active VWAPs are either ALL POSITIVE or ALL NEGATIVE (slope)
* VWAP — All Active Positive, All active VWAPs are POSITIVE (slope).
* VWAP — All Active Negative, "All active VWAPs are NEGATIVE (slope).

I hope, it will be usefull for someone.
Feedback welcome.
릴리즈 노트
Hotfix
릴리즈 노트
I added some more rolling VWAPs.

-> Please remember that Higher TF VWAPs will not be calculated on a 1m TF for example from Tradingview. It is not a fault from the indicator, it is just normal from Tradingview.
So, they will not be shown in the table.
You just must switch to a higher TF for example 1h or 4h.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.