var: V_today(0),
VPMO(0);
V_today = ticks * ( close - close[1] );
VPMO = avglist( V_today, V_today[1], V_today[2] );
if VPMO > VPMO [1] then SetPlotColor(1, blue)
else
SetPlotColor(1, red);
Plot1(VPMO, "VPMO");
plot2(0, "Zero");
note: I am using a simple average...