VAR2:=(HIGH+LOW+CLOSE*2)/4;
VAR3:=EMA(VAR2,21);
VAR4:=STD(VAR2,21);
VAR5:=((VAR2-VAR3)/VAR4*100+200)/4;
VAR6:=(EMA(VAR5,5)-25)*1.56;
AK:EMA(VAR6,2)*1.22;
AD1:EMA(AK,2);
AJ:3*AK-2*AD1;
A:100;
B:0;
E:80;
买进:IF(CROSS(AK,AD1),58,20),LINETHICK2, COLORRED ;
卖出:IF(CROSS(AD1,AK),58,20),LINETHICK2, COLORGREEN ;
DRAWTEXT(CROSS(AD1,AK),AD1,"终");