skiviz

VWAP Breadth

The Concept
The volume-weighted average price (VWAP) is an indicator that gives the average price of a security based on both volume and price. VWAP is calculated by adding up the dollars traded (price*volume) and dividing it by the total volume. Generally speaking, prices above VWAP is bullish, while prices below VWAP is bearish.

VWAP can also be used as a breadth indicator, represented by the % of stocks above VWAP (orange line in above chart). However, the raw data of daily VWAP breadth is extremely noisy and hard for traders to decipher any tradable pattern.

This script aims to address this issue by adding multiple bars of VWAP breadth together, and then calculating the mean and standard deviation (STDEV) of previous accumulated VWAP breadth values.

The Signals:
20 days of accumulated VWAP breadth shows that:
1. Big market (S&P500 or Nasdaq) rallies happen when VWAP breadth is above mean.
2. Big market selloffs happen when VWAP breadth is below mean.
3. VWAP breadth above +2 STDEV is overbought but still bullish (overbought suggests strong buying interest despite the potential for a temporary pullback).
4. VWAP breadth below -2 STDEV is oversold but still bearish (oversold suggests strong selling interest despite the potential for a temporary rebound).
5. A VWAP breadth decreasing during an uptrend forms a bearish divergence.
6. A VWAP breadth increasing during a downtrend forms a bullish divergence.

The Variables:
Users can change how many bars of data to add together. I personally use 20 bars of accumulated data in daily charts.
The STDEV lookback period has a default value of 1000 bars, and does not need to be changed unless users experience lag.
보호된 스크립트입니다
이 스크립트는 클로즈 소스로 게시되며 자유롭게 사용할 수 있습니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다. 소스 코드는 보거나 수정할 수 없습니다.
면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?