DF:=(C-REF(C,3))/REF(C,3)*100;
核弹1:=(C-REF(C,5))/REF(C,5)*100;
核弹2:=(C-REF(C,7))/REF(C,7)*100;
核弹3:=(C-REF(C,13))/REF(C,13)*100;
核弹4:=(C-REF(C,21))/REF(C,21)*100;
核弹5:=(C-REF(C,43))/REF(C,43)*100,COLOR00FF00;
核弹6:=(C-REF(C,72))/REF(C,72)*100,COLORLIBLUE;
AHC1:=CLOSE*vol;
AHC22:=EMA((expma(AHC1,23)/EXPMA(VOL,23)+EXPMA(AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);
通道:=1.0668*AHC22;
起爆:=crOSS(C,通道) AND REF(C,1)*1.05-C<0.008 AND C>O*0.5;
AA05:=MA(C,5);
AA30:=MA(C,30);
MA05:=MA(C,5);
MA10:=MA(C,13);
MA30:=MA(C,34);
速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3);
五日乖离率:=(C-AA05)/AA05*100;
三拾日乖离率:=(C-MA30)/MA30*100;
MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)
买入:=FILTER(MR,10);
核弹6A:=起爆 AND 买入;
六三零核弹:=CROSS(核弹1,8) AND CROSS(核弹2,8) AND CROSS(核弹3,8) AND CROSS(核弹4,8) AND CROSS(核弹5,8) OR 核弹6A;
STICKLINE(六三零核弹,2,0,8,0),COLOR005500;
STICKLINE(六三零核弹,2.2,0,6,0),COLOR007700;
STICKLINE(六三零核弹,2.4,0,4,0),COLOR008800;
STICKLINE(六三零核弹,2.6,0,3,0),COLOR009900;
DRAWICON(六三零核弹,2.7,38);
DRAWICON(六三零核弹,1.8,34);
DRAWICON(六三零核弹,1.3,34);
DRAWICON(六三零核弹,0.8,34);
DRAWTEXT(六三零核弹,1,'核弹'),COLORRED;