G1:=C[
MA45:=MA((2*CLOSE+1.2*OPEN+HIGH+LOW)/5.2,4);]
J5:=MA((2*CLOSE+1.2*OPEN+HIGH+LOW)/5.2,5);
MA4:=MA((MA45+J5)/2,1);
SSV:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
KKK:=SMA(SSV,3,1);
H1:=EMA(EMA(LLV(J5,15),2),2);
YY4:=LLV(C,5)*1.15
AND LOW
AND vol/MA(V,10)<1.4
AND CLOSE/REF(CLOSE,1)>1.02
AND COUNT(G1,6)>=1
AND CLOSE>OPEN;
大盘股:=SUM(REF(V,1),8)/CAPITAL<15/100;
中盘股:=SUM(REF(V,1),8)/CAPITAL<25/100;
小盘股:=SUM(REF(V,1),8)/CAPITAL<30/100;
大盘股1:=SUM(REF(V,1),5)/CAPITAL<10/100;
中盘股1:=SUM(REF(V,1),5)/CAPITAL<14/100;
小盘股1:=SUM(REF(V,1),5)/CAPITAL<15/100;
DP:=CAPITAL>2500000;
ZP:=CAPITAL>600000 AND CAPITAL<2500000;
XP:=CAPITAL<600000;
综合:=IF(DP=1,大盘股 ,IF(ZP=1,中盘股,小盘股));
综合1:=IF(DP=1,大盘股1 ,IF(ZP=1,中盘股1,小盘股1));
振幅:=(REF(HHV(C,5),1)-REF(LLV(C,5),1))/REF(LLV(C,5),1)<5.3/100;
涨幅:=CLOSE/REF(C,1)>=1.048;
JX3:=V/MA(V,10);
YY3:=振幅 AND( 涨幅) AND C=HHV(C,5) AND 综合1 AND 综合
AND JX3<1.8 AND HHV(H,20)/C>1.04 ;
买入:YY4 OR YY3 ;