买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
指导:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);
界:=MA(CLOSE,27);
ZT:=C/REF(C,1) 1.0993 AND C=H;
STICKLINE(ZT,O,C,2,0),COLORRED;
DT:=C/REF(C,1) 0.913 AND C=L;
STICKLINE(DT,O,C,2,0),COLORGREEN;
MA3:MA(C,3),COLORRED,LINETHICK1;
MA7:MA(C,7),COLORYELLOW,LINETHICK1;
MA10:MA(C,10),COLORGREEN,LINETHICK1;
YCX:=MA3 =REF(MA3,1);
H1:=MAX(MAX(MA3,MA7),MA10);
L1:=MIN(MIN(MA3,MA7),MA10);
一阳穿三线:= H1 C AND O L1 AND YCX AND MA3 REF(MA3,1);
ZTT:=C REF(C,1)*1.091 AND C=H;
XG:=REF(ZTT,5) AND REF(ZTT,4) AND C O AND C REF(C,1) AND C REF(O,5) AND REF(ZTT,6)=0;
DRAWICON(XG,LOW-0.2,1);
DRAWICON(XG,LOW-0.5,9);