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;
核弹6:=(C-REF(C,72))/REF(C,72)*100;
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)<AA30;
买入:=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);