D:SMA(K,5,1),LINETHICK2,COLORFFFF00;
J:4*K-3*D,LINETHICK2,COLORFF00FF;
DRAWICON(FILTER(J REF(J,1) AND J REF(J,3) AND J K AND VAR4 REF(VAR4,1)
AND K =REF(K,1) AND J 40 OR CROSS(J,K) AND CROSS(J,D) AND J 40 OR J REF
(J,1) AND J -20,7),J*0.8,6);
DRAWICON(FILTER(J =REF(J,1) AND J 80,8),J*1.2,5);
AA:=CROSS(J,D);
DRAWICON(AA,LOW,1);
VAR1M:=REF(CLOSE,1);
VAR2M:=(SMA(MAX(CLOSE-VAR1M,0),6,1))/(SMA(ABS(CLOSE-VAR1M),6,1))*100;
短期顶部:CROSS(80,VAR2M)*100,COLORFF0000;
DRAWTEXT(CROSS(80,VAR2M),100,'★顶'),COLORFFFF00;
VAR3M:=(SMA(MAX(CLOSE-VAR1M,0),7,1))/(SMA(ABS(CLOSE-VAR1M),7,1))*100;
VAR4M:=(SMA(MAX(CLOSE-VAR1M,0),13,1))/(SMA(ABS(CLOSE-VAR1M),13,1))*100;
VAR5M:=BARSCOUNT(CLOSE);
短期底部:=VAR3M 20 AND VAR4M 25 AND VAR5M 50*100;
DRAWTEXT(CROSS(100,短期底部),100,'短 '),COLORFFFF00;
AM:=IF(DATE =1091231,1,0);
AAM:=CLOSE/REF(CLOSE,1) =1.099;
AB:=VOL/REF(VOL,1);
涨停预警:IF(CLOSE/REF(CLOSE,1) =1.03 AND AB 1,33,0),COLORFF0000;
目标出现:(IF(AAM AND AB 1,55,0))*AM,LINETHICK2,COLORFFFF00;