# NEOTICKER DATA BEGIN ScriptType=Indicator Description=PrevDay VWAP Name=PrevDVWAP Language=Formula Links=1 MinBars=0 TimerInterval=100 EarlyBinding=0 MetaStyle=Normal ValueRange=Same as Source Placement=Smart Multiplot_num_plots=1 Multiplot_color_0=255 Multiplot_style_0=HLine Multiplot_width_0=1 Multiplot_enabled_0=1 Multiplot_breakstyle_0=0 UpdateByTick=0 TradingSystemUI=0 PrimaryLinkOnly=0 NotifyOnRemoval=0 Param_count=0 Explanation_Lines=0 # NEOTICKER DATA END ' Previous Day VWAP ' Written by Lawrence Chan ' Copyright © 2006 by TickQuest Inc. ' All rights reserved $new_day := date (0) <> date (1); $new_acvol := if ($new_day, 0, acvol (1)) + v; $new_price := (if($new_day, 0, acprice (1) * acvol (1)) + close * v) / $new_acvol; acvol := $new_acvol; acprice := $new_price; plot1 := if ($new_day, acprice (1), plot1 (1));