VAR1A:=REF(LOW,1);
VAR2A:=SMA(ABS(LOW-VAR1A),3,1)/SMA(MAX(LOW-VAR1A,0),3,1)*100;
VAR3A:=EMA(IF(CLOSE*1.2,VAR2A*10,VAR2A/10),3);
VAR4A:=LLV(LOW,38);
VAR5A:=HHV(VAR3A,38);
VAR6A:=IF(LLV(LOW,90),1,0);
底部吸筹:=EMA(IF(LOW<=VAR4A,(VAR3A+VAR5A*2)/2,0),3)/618*VAR6A;
{全买}
全买:=(ZIG(3,35)>REF(ZIG(3,35),1) AND REF(ZIG(3,35),1)*90;
{主力进场}
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
主力进场:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
去除停牌:=DYNAINFO(17)>0; {通达信:量比大于零}
去除ST:=IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1);
去除科创:=IF(CODELIKE('688'),0,1);
EXIST((TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04),5) AND EXIST((全买),5) AND L<下轨 AND C>=下轨 AND C>O AND 底部吸筹>5 AND H>L*1.03 AND 去除科创 AND 去除ST AND 去除停牌;