启动线:=1.02,DOTLINE,COLORFF9900;
粘合:INTPART(MAX(MAX(MA(CLOSE,5),MA(CLOSE,10)),MA(CLOSE,20))/MIN(MIN(MA(CLOSE,5),MA(CLOSE,10)),MA(CLOSE,20))*1000)/1000,COLORGREEN,LINETHICK2;
共振:BARSLASTCOUNT(MA(CLOSE,5) REF(MA(CLOSE,5),1) AND MA(CLOSE,10) REF(MA(CLOSE,10),1) AND MA(CLOSE,20) REF(MA(CLOSE,20),1)),NODRAW,COLORYELLOW;
多头:BARSLASTCOUNT(MA(CLOSE,5) MA(CLOSE,10) AND MA(CLOSE,10) MA(CLOSE,20)),NODRAW,COLORRED;
多头共振:BARSLASTCOUNT(多头 AND 共振),NODRAW,COLORMAGENTA;
信号:共振 OR 多头,NODRAW;{九毛八公式指标网www.9m8.cn}
STICKLINE(粘合 =启动线,粘合,启动线,2,0),COLORFF9900;
STICKLINE(共振 AND NOT(多头),启动线,粘合,2,0),COLORYELLOW;
STICKLINE(多头 AND NOT(共振),启动线,粘合,2,0),COLORRED;
STICKLINE(多头 AND 共振,启动线,粘合,2,0),COLORMAGENTA;