A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A3:=SUM(IF(A1>100 AND CLOSE<REF(CLOSE,1),A1,0),0);
A4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A5:=SUM(IF(A1<100 AND CLOSE<REF(CLOSE,1),A1,0),0);
A6:=A2+A3+A4+A5;
機買(mǎi):(A2/A6)*100,LINETHICK2,COLORRED;
機賣(mài):(A3/A6)*100,LINETHICK2,COLORGREEN;
散買(mǎi):(A4/A6)*100,LINETHICK0;
散賣(mài):(A5/A6)*100,LINETHICK0;
主力差:機買(mǎi)-機賣(mài),LINETHICK2,NODRAW;
小股民差:散買(mǎi)-散賣(mài),LINETHICK0,NODRAW;
DRAWTEXT(主力差>0 AND REF(主力差,1)<=0,C*0.85,'●DRAWTEXT(主力差<0 AND REF(主力差,1)>=0,-C*0.85,'○機構'),COLORWHITE;
DRAWTEXT(小股民差>0 AND REF(小股民差,1)<=0,C*0.15,'▲小股民'),COLORCYAN;
DRAWTEXT(小股民差<0 AND REF(小股民差,1)>=0,-C*0.15,'△小股民'),COLORWHITE;(南方財富網(wǎng)SOUTHMONEY.COM)
(責任編輯:張曉軒)