This is a simple trend identification script which is based on the current vwap (Cvwap) and previous vwap (Pvwap).
Pvwap in the sense; previous day vwap closing value.
Bullish: price is closing above the current day vwap and previous day vwap(pvwap). Bearish : Price is closing below the current day vwap and previous day vwap (pvwap).
Made a change to the barcolors as well :)
Bullish Green Bar: close is above Pvwap and Cvwap. Blue bar: close is above Pvwap but below Cwap.
Bearish Red bar: close is below Pvwap and Cvwap. Purple bar: close is below Pvwap but above Cvwap.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.