Z:=2.5;S:=8;
买:C,COLORFFFFFF,NODRAW;
止:买/(1+0.005+Z/100-S/1000),COLOR00FF00,NODRAW;
平:买*(1+S/1000),COLORYELLOW,NODRAW;
二:=买*(1.02+S/1000),COLORFFFFFF,NODRAW;
三:买*(1.03+S/1000),COLORRED,NODRAW;
四:=买*(1.04+S/1000),COLOR00FF00,NODRAW;
五:买*(1.05+S/1000),COLORFFFFFF,NODRAW;
十:买*(1.10+S/1000),COLOR00FF00,NODRAW;
最高:=H,COLORMAGENTA,NODRAW;
逃命:H/1.11,COLORFFFFFF,NODRAW;
MA20:=MA(C,20);
TE1:=MA20>REF(MA20,1) OR (C>MA20 AND MA20>REF(MA20,1)*0.995),;
TE2:=crOSS(EMA(CLOSE,1),EMA(CLOSE,10));
E10:=(TE1 AND TE2)*50,;
出击:IF(E10=50,50,5),COLORRED;
警:95,COLORGREEN;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),COLORYELLOW,LINETHICK1;
D:SMA(K,3,1)COLORYELLOW,LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK1;