TheYangGuizi

VWAP Candles

Tried making candles of Vwap instead of normal price to see if something interesting would happen. Something interesting did happen as you can see.

Looks best in 4h because of reasons unknown. In lower timeframes it looks kinda stupid (moves the same as nrmal vwap). Day or above it looks the same as normal candles.

Gaps seem to work as s/r? or at least I've seen price react to those levels.

I've also seen a vwap reversal candles show (like dojis, pin bar), while price candles look normal. Could potentially give you a reversal warning?

You can also plot indicators like bollinger bands etc on the vwap candles. Just press the little plus.
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

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

차트에 이 스크립트를 사용하시겠습니까?
study(title="VWAP Candles", shorttitle="VWAP Candles", overlay=true)


//------------------------------------------------

//------------------------------------------------
NormalVwap=vwap(hlc3)
H = vwap(high)
L = vwap(low)
O = vwap(open)
C = vwap(close)

left = input(title="# bars to the left", type=integer, defval=30)

left_low = lowest(left)
left_high = highest(left)
newlow = low <= left_low
newhigh = high >= left_high

q = barssince(newlow)
w = barssince(newhigh)
col2 = q < w ?  #8B3A3A : #9CBA7F
col2b=O > C?red:lime


AVGHL=avg(H,L)
AVGOC=avg(O,C)
col=AVGHL>AVGOC?lime:red
col3=open > AVGOC?lime:red
plotcandle(O,H,L,C,color=col2b)
//plot(H, title="VWAP", color=red)
//plot(L, title="VWAP", color=lime)
//plot(O, title="VWAP", color=blue)
//plot(C, title="VWAP", color=black)

plot(NormalVwap, color=col2b)