Created
May 11, 2020 09:05
-
-
Save princefr/2d8358850023f570ea584c013249673a to your computer and use it in GitHub Desktop.
VWAPD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ | |
// © prince_ond | |
//@version=4 | |
study("VWAPD[Liquidator]", overlay=true) | |
k = sma(vwap(close), 3) | |
d = sma(k, 3) | |
p4 = plot(k, color=color.blue, title="vwap-A", transp=100) | |
p5 = plot(d, color=color.orange, title="vwap-B", transp=100) | |
fill(p4, p5, color=k > d ? color.green : color.red, transp=10, title='VWAPB BG') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment