股价跌透:=IF(C<HHV(C,610)*0.5,1,0) AND C<LLV(C,120)*1.5;
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,LINETHICK2;
K1:=SMA(RSV1,2,1);
D1:=SMA(K1,2,1);
J1:=3*K1-2*D1;
RSV4:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K4:=SMA(RSV4,2,1);
D4:=SMA(K4,2,1);
J4:=3*K4-2*D4;
RSV5:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
K5:=SMA(RSV5,2,1);
D5:=SMA(K5,2,1);
J5:=3*K5-2*D5;
中线买:=LONGcrOSS(J1,10,3) AND 股价跌透;
A4:=LONGCROSS(J4,10,3);
A5:=LONGCROSS(J5,10,3);
GZBT1:=FILTER(COUNT(A4 OR A5,2)=2,2);
GZBT2:=A4 AND A5 AND 中线买;
长共振买:=GZBT1 OR GZBT2 AND 股价跌透;
LTP:=FINANCE(7)<300000000 AND FINANCE(1)<500000000; {流通盘股小于3亿股,总盘小于5亿}
MGSY:=FINANCE(33)>0.02 AND BARSCOUNT(C)>30;
SYL:=C/FINANCE(33)<200 AND C/FINANCE(33)>5; {市盈率低于200}
JZC:=FINANCE(34)>2;
{通达信去掉*、S、ST}
S2:=IF(NAMELIKE('S'),0,1);
S3:=IF(NAMELIKE('*'),0,1);
GJFW:=DYNAINFO(7)>3 AND DYNAINFO(7)<40;
XGJ:=LTP AND MGSY AND SYL AND JZC AND S2 AND S3 AND GJFW;
长优共振:长共振买 AND XGJ;