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;
{www.gupang.com 股旁网_飞狐指标公式}
买卖差:(V9+V8)-(V6+V7),COLORWHITE,stick,linethick3;
日差占流通盘比:买卖差/CAPITAL*100,COLOR0099FF,pointdot;
买卖总差:SUM(买卖差,60),COLORYELLOW,LINETHICK2;