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,COLORgreen;
买卖差:(V9+V8)-(V6+V7),COLORmagenta,stick,linethick3;
日差占流通盘比:买卖差/CAPITAL*100,COLORyellow,pointdot;
买卖总差:SUM(买卖差,60),COLORcyan,LINETHICK2;
DRAWGBKLAST(L,STRIP(RGB(0,0,205),RGB(47,79,79),0));