魔鬼线:MA(CLOSE,321),LINETHICK2;
ab1:(MA(C,1)+MA(C,3)+MA(C,6)+MA(C,9))/4, COLORwhite;
ab2:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,COLORff00ff;
ab3:ema(ab2,10), COLOR66ffff;
dpxg1:=(ref(ab3,1)AB1 AND AB3>AB2;
dpxg2:=(ref(ab1,1)AB2 AND AB1>AB3;
DRAWTEXT(DPXG1,H+0.02,'危险'),COLOR00FFFF,LINETHICK2;
DRAWTEXT(DPXG2,LOW-0.02,'安全'),COLORFFFFCC,LINETHICK2;