vWap Close
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © talby211

//@version=5
indicator('vWap Close', overlay=true)
newDay = ta.change(time('D')) != 0
vwapClose = ta.valuewhen(newDay, ta.vwap[1], 0)

plot(ta.vwap, color=color.new(color.blue, 0))
plot(vwapClose, color=color.new(color.orange, 0))


