MA2:=EMA(CLOSE,3);
MA3:=EMA(CLOSE,5);
MA4:=EMA(CLOSE,8);
MA5:=EMA(CLOSE,10);
MA6:=EMA(CLOSE,12);
MA7:=EMA(CLOSE,15);
MA8:=EMA(CLOSE,30);
MA9:=EMA(CLOSE,35);
MA10:=EMA(CLOSE,40);
MA11:=EMA(CLOSE,45);
MA12:=EMA(CLOSE,50);
MA13:=EMA(CLOSE,60);
粘合:INTPART(MAX( MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MA(C,3),MA(C,5)),MA(C,8)),MA(C,10)),MA(C,12)),MA(C,15)),MA(C,30)),MA(C,35)),MA(C,40)),MA(C,45)),MA(C,50)),MA(C,60))
/MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MA(C,3),MA(C,5)),MA(C,8)),MA(C,10)),MA(C,12)),MA(C,15)),MA(C,30)),MA(C,35)),MA(C,40)),MA(C,45)),MA(C,50)),MA(C,60))*1000)/1000,COLORGREEN,NODRAW;
共振:BARSLASTCOUNT((MA(C,8) REF(MA(C,8),1) AND MA(C,10) REF(MA(C,10),1) AND MA(C,12) REF(MA(C,12),1) AND MA(C,15) REF(MA(C,15),1) AND MA(C,30) REF(MA(C,30),1) AND MA(C,35) REF(MA(C,35),1) AND MA(C,40) REF(MA(C,40),1) AND MA(C,45) REF(MA(C,45),1) AND MA(C,50) REF(MA(C,50),1) ) ),COLORYELLOW,NODRAW;
短趋势:=FORCAST(EMA(C,16),7),COLOR00FF00,LINETHICK3;
中趋势:=FORCAST(EMA(C,55),7),DOTLINE,COLORFFFF00;{爱股网WWW.72GU.COM}
启动:BETWEEN(粘合,1.02,1.06) AND CROSS(C,MA(C,5)) AND CROSS(C,中趋势),NODRAW,COLORWHITE;
金叉:CROSS(MA(C,5),短趋势) AND C MA13,NODRAW,COLORYELLOW;
STICKLINE(启动,0,1,2,0),COLORWHITE;
STICKLINE(金叉,0,1,2,0),COLORYELLOW;