{关键起爆点主图源码如下}
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;
{关键起爆点副图源码如下}
起爆点:VOL,VOLSTICK;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
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,0,V,2,0),COLORLIMAGENTA;
DRAWICON(起爆 AND DTP,V*1.002,9);