WJ:=(HIGH+LOW+CLOSE)/3;
V1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
V2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);
V3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
V4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));
V5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
買入量:(V9+V8),STICK,LINETHICK7,COLORRED;
賣出量:-(V6+V7),STICK,LINETHICK7,COLORBLUE;
買賣差:(V9+V8)-(V6+V7),COLORWHITE,STICK,LINETHICK3;
日差佔流通盤比:買賣差/CAPITAL*100,COLOR0099FF,POINTDOT;
買賣總差:SUM(買賣差,60),COLORYELLOW,LINETHICK2;