九毛八公式指标
公式模块:
A1:=(vol/CLOSE)/2;
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;
量比:sum(VOL,0)*240/dynainfo(38)/barscount(c),linethick0;
A7:IF((BARSTATUS=2),((100*A2)/A6),0),linethick0;
A8:=((IF((BARSTATUS=2),((100*A3)/A6),0)));
A9:=((IF((BARSTATUS=2),((100*A4)/A6),0)));
A10:=((IF((BARSTATUS=2),((100*A5)/A6),0)));
机构买盘:=A2;
机构卖盘:=A3;
机构买:crOSS(机构买盘,机构卖盘) and 量比>0.5,linethick0;
VERTLINE(机构买,1),colorgreen;
DRAWTEXT(机构买,l,'★'+'涨停王'),colorred;
A1:=(VOL/CLOSE)/2;
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);
量比:=sum(vol,0)*240/dynainfo(38)/barscount(c);
xg:(CROSS(a2,a3) and 量比>0.5);