n1:=14; n2:=14;
TYP := (HIGH + LOW + CLOSE)/3;
SUM(IF(TYP REF(TYP,1),TYP*vol,0),N1)/
SUM(IF(TYP REF(TYP,1),TYP*VOL,0),N1),COLORFFFFFF,LINETHICK2;
LC:=REF(CLOSE,1);
SUM(IF(CLOSE LC,VOL,0),N2)/
SUM(IF(CLOSE =LC,VOL,0),N2),COLOR00FFFF,LINETHICK2;