ZT:=(CLOSE>=ZTPRICE(REF(CLOSE,1),0.1)); { 以涨停收盘 }
ZTO:=EXIST(ZT,10);
TYP:=(HIGH+LOW+CLOSE)/3;
龙线:=(TYP-MA(TYP,4))/(0.015*AVEDEV(TYP,4)),NODRAW,COLORYELLOW;
LC:=REF(CLOSE,1);
凤线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(Abs(CLOSE-LC),2,1)*100,NODRAW,COLORMAGENTA;
裤衩:=龙线<=-120 AND 凤线<=20;
RSV:=(C-LLV(L,2))/(HHV(H,2)-LLV(L,2))*100;
K:=SMA(RSV,2,1),COLORFFFFFF;
D:=SMA(K,2,1),COLOR00FFFF;
J:=3*K-2*D,COLORFF00FF,LINETHICK2;
wr:=100-100*(HHV(HIGH,2)-CLOSE)/(HHV(HIGH,2)-LLV(LOW,2)),LINETHICK2,COLORYELLOW;
阴线背驰:=REF(WR,1)<50 AND WR>REF(WR,1) AND C
量能:=(vol
PSY:=COUNT(CLOSE>REF(CLOSE,1),2)/2*100;
psyMA:=MA(PSY,2);
XG:ZTO AND 裤衩 AND PSYMA=0 AND 阴线背驰;