MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
DIF:=EMA(C,12)-EMA(C,26);
DEA:=EMA(DIF,9);
AAA:=(DIF-DEA)*2*100;
DTP:=MA5>MA10 AND MA10>MA20;
起爆:=crOSS(AAA-REF(AAA,1),6) AND REF(O,1)>REF(C,1) AND C/REF(C,1)<1.05,COLORRED,LINETHICK2;
STICKLINE(起爆 AND DTP,O,C,2,0),COLORLIMAGENTA;
DRAWICON(起爆 AND DTP,L*1.002,9);
DRAWTEXT(起爆 AND DTP ,L*0.99,'↖关键启爆点'),COLORYELLOW,LINETHICK2;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
DIF:=EMA(C,12)-EMA(C,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
CCC:=MACD>0;
QXS:=NOT(CODELIKE('4'));
QKC:=NOT(CODELIKE('688'));
QST:=IF(NAMELIKE('S'),0,1);
QXX:=IF(NAMELIKE('*'),0,1);
QBJ:=NOT(CODELIKE('8'));
AAA:=(DIF-DEA)*2*100;
BBB:=QXS AND QST AND QKC AND QXX AND QBJ;
DTP:=MA5>MA10 AND MA10>MA20;
起爆:=crOSS(AAA-REF(AAA,1),6),COLORRED,LINETHICK2;
XG:起爆 AND DTP AND BBB AND CCC AND REF(O,1)>REF(C,1) AND C/REF(C,1)<1.05;