MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);MA55:=MA(C,60);A2:=REF(MA20,1);J1:=(MA20-A2)/A2*100;MJ1:=MA(J1,3);2:=(MA20-MA30)/MA30*100;VAR1:=IF(BETWEEN(乖离2,-2,5),2,0);MAX1:=MAX(MA20,MA30);MAX2:=MAX(MAX1,MA55);MIN7:=MIN(MA20,MA30);MIN2:=MIN(MIN7,MA55);K1:=(MAX2/MIN2-1)*100;VAR2:=IF(K1<=8,1,0);暴涨:(VAR1 OR VAR2) AND MA10>REF(MA10,1) AND COUNT(MA30>REF(MA30,1),3)=3 AND MA30>MA55 AND COUNT(OSS(MA5,MA30),3) AND J1>MJ1 AND MA(V,5)>MA(V,60) AND MA(V,60)>REF(MA(V,60),1);