今日竞价:=IF(ISLASTBAR,DYNAINFO(15)/10000,GPJYVALUE(25,1,0)*O/100);
竞换手Z:=今日竞价/(FINANCE(46)*O)*100*10000;
JV1:=IF(C>=O OR (C=O AND C>=REF(C,1)),VOL,0);
JV2:=IF(C<O OR (C=O AND C<REF(C,1)),VOL,0);
JHL:=SUM(JV1,65);
JLL:=SUM(JV2,65);
红绿比65:=JHL/JLL;
JHL35:=SUM(JV1,35);
JLL35:=SUM(JV2,35);
红绿比35:=JHL35/JLL35;
JHL20:=SUM(JV1,25);
JLL20:=SUM(JV2,25);
HVB3:=JHL20/JLL20;
HVB:=HHV(红绿比65,5)>=0.98 AND REF(红绿比35,1)>=1.1;
开幅:=(O-REF(C,1))/REF(C,1)*100;
创30:=CODELIKE('300') OR CODELIKE('301') OR CODELIKE('688');
创涨停:=C=H AND C/REF(C,1)>=1.1985;
BDIF0:=EMA(CLOSE,12)-EMA(CLOSE,26);
BDEA0:=EMA(BDIF0,9);
BMACD0:=(BDIF0-BDEA0)*2;
BSX6:=COUNT(EVERY(BDIF0>=0.01 AND BDEA0>0.01,1),3)>=3 AND
REF(HHV(C,25),3)/REF(LLV(C,25),3)<1.6;
SS:=REF(BMACD0,1)>-0.25 AND ((BARSCOUNT(C)>321 AND REF(BMACD0,1)<1.25)
OR (BARSCOUNT(C)<320 AND REF(BMACD0,1)<2.5)) AND COUNT(EVERY(C>=O,3),2)<1 AND
(REF(C,1)<=REF(MA(C,5),1) OR REF(C,2)<=REF(MA(C,5),2)) AND ((BARSCOUNT(C)>85 AND
COUNT(EVERY(DYNAINFO(37)*100>=45,1),32)<1) OR (BARSCOUNT(C)<85 AND
COUNT(EVERY(DYNAINFO(37)*100>=70,1),32)<1)) AND REF(COUNT(EVERY(C/REF(C,2)>1.28,1),20)<1,1)
AND REF(HHV(H,12),2)*1.015>=REF(HHV(C,45),15);
GDD:=HHV(C,2)<REF(HHV(H,12),3) OR (HHV(H,3)>REF(HHV(C,172),4) AND C/REF(C,1)<0.935);
ZF10:=HHV(H,4)/LLV(C,4)<1.1;
JJCYB:开幅<=12 AND BSX6 AND 创30 AND SS AND
((开幅>=2.85 AND 今日竞价>=165 AND 竞换手Z>=0.068 AND COUNT(EVERY(H/REF(C,1)>1.05,1),10)>=1 AND
REF(ZF10,1)) OR (开幅>=1.65 AND 今日竞价>=350 AND 竞换手Z>=0.13 AND COUNT(EVERY(H/REF(C,1)>1.095,1),12)>=1)) AND
REF(C,1)/REF(C,2)<1.0495 AND COUNT(EVERY(GDD,1),2)>=1 AND COUNT(EVERY(创涨停,2),8)<1;