资金强弱分界:84,COLORYELLOW;
资金关注:74,COLORRED,LINETHICK2;
资金饱和度:WINNER(CLOSE)*100,COLORRED,LINETHICK2;
A:=IF((BARSCOUNT(C)>7),100*((MA(C,7))/(LLV(MA(C,7),7))-1),1);
N:=IF(A>0.35,6,65);
HSL:=vol/CAPITAL*100;
B:=((-((100)*(HHV(H,N)-C))/(HHV(HIGH,N)-LLV(L,N))));
停板:=crOSS(B,-2);
ZDF:=(C/REF(C,1)-1)*100;
VAR11:=0-((100)*(HHV(HIGH,3)-CLOSE))/(HHV(HIGH,3)-LLV(LOW,3));
涨停:=(VAR11=0) AND ((HHV(HIGH,3))/(LLV(LOW,3))>1+(15)/(100)) AND ((HHV(HIGH,3))/(LLV(LOW,3))<1+25/100);
DRAWTEXT((停板 AND HSL>4) AND 资金饱和度>84,67,'【攻击】'),COLOR00EEFF;
DRAWTEXT((涨停 OR ZDF>9.9) AND 资金饱和度>84,82,'【涨停】'),COLOR00EE00;
Y:=CLOSE/REF(CLOSE,1)>1.07;
X:=VOL>MA(VOL,5);
攻击涨停:=Y AND X;
STICKLINE(攻击涨停 AND 资金饱和度>84,84,资金饱和度,1,0),COLORRED;
K1:=BARSLAST(L>REF(H,1) AND C/O>1.05);
K2:=L<REF(H,K1+1) AND COUNT(L<REF(H,K1+1),K1)=1;
STICKLINE(K2 AND 资金饱和度>84,84,资金饱和度,3,0),COLORYELLOW;