ZF:=(C-REF(C,1))/REF(C,1)*100;
AA1:=((SUM(ZF,3))*30)-MA(SUM(ZF,3),45);
AA3:=ZF*30-(REF(SUM(ZF,3),1)),COLORCYAN;
涨停1:=AA1>100;
MM:=BARSSINCEN(涨停1,5+1);
KPJ:=REF(AA3,MM);
TJ1:=EXIST(涨停1,5+1);
TJ2:=LLV(AA1,MM);
RW:IF(crOSS(KPJ,100) AND TJ2<-300&&TJ1,1.2,0);