ZTJ:=INTPART((REF(C,1)*1.1+0.005)*100)/100.0;
去除一字:=NOT(O=ZTJ);
去除昨日一字:=REF(去除一字,1);
TJ:=REF(C<H,1);
下影线:=(MIN(C,O)-L)/L*100;
实体:=(MAX(C,O)-MIN(C,O))/MIN(C,O)*100;
上影线:=(H-MAX(C,O))/MAX(C,O)*100;
XFG:= 上影线<实体 AND 实体<5 OR 下影线>实体*2 ;
上影:=NOT(REF(C,1)/C>1.095 AND C=L);
VB:=V/REF(V,1);
成交:=REF(SUM(VB>2,2)=0,1) AND VB<1;
AA:=(C/REF(C,1)-1)*100<9 AND NOT(O=C AND C=H AND L=H);
竞价量:=DYNAINFO(15)/O/100;
竞量比:=竞价量/REF(V,1)*100;
竞换手:=DYNAINFO(15)/O/FINANCE(46)*100;
C15:=C;
A15:=MAX(MA(C15,4),MA(C15,8));
绿灯行15:=C15>A15,COLORGREEN;
C30:=C;
A30:=MAX(MA(C30,8),MA(C30,15));
绿灯行30:=C30>A30,COLORGREEN;
C60:=C;
A60:=MAX(MA(C60,15),MA(C60,30));
绿灯行60:=C60>A60,COLORGREEN;
CC:=C;
A:=MAX(MA(CC,60),MA(CC,120));
绿灯行:=C>A,COLORGREEN;
大铁牛:=绿灯行>=1 AND 绿灯行15>=1 AND 绿灯行30>=1 AND 绿灯行60>=1 AND O>=REF(C,1)*1.018 AND FINANCE(40)/100000000<200 AND O<35 AND O>3.5 AND DYNAINFO(15)>3500000 AND DYNAINFO(15)<40000000 AND NOT(INBLOCK('ST板块')) AND 竞量比>2 AND 竞换手>0.08 AND REF(C<REF(C,1)*1.092,1)AND C<REF(C,1)*1.09;
换手率:=DYNAINFO(37)>0.02;
A1:=MA(CLOSE,5);
A2:=MA(CLOSE,10);
A3:=MA(CLOSE,13);
A4:=MA(CLOSE,30);
均线:=CLOSE>A1 AND A1>A2 AND A2>A3;{均线叉叉}
B1:=DYNAINFO(15)/DYNAINFO(4)/FINANCE(46)*100;
去ST:=NAMELIKE('ST')=0 AND NAMELIKE('*ST')=0 AND NAMELIKE('SST')=0 AND NAMELIKE('S*ST')=0;
去除停牌:=DYNAINFO(4)>0;
去除创业板:=IF(CODELIKE('300') OR CODELIKE('301') ,0,1) ;
去除科创板:=IF(CODELIKE('688'),0,1);
去:=去ST AND 去除停牌 AND 去除科创板;
均线5:=MA(VOL,5);
均线60:=MA(VOL,60);
XG:=CROSS(均线5,均线60);
成立条件:=BARSLASTCOUNT(均线5>均线60);
HD10:=FILTER(BACKSET(FILTER(REF(H,10)=HHV(H,2*10+1),10),10+1),10);
箱体大顶:=REF(H,BARSLAST(HD10));
突破:CROSS(REF (CLOSE,1),箱体大顶) AND 去 AND 均线 AND REFX (O,3)>C AND 换手率 AND 成立条件>0 AND DYNAINFO(15)<40000000 AND FINANCE(40)/100000000<200 AND AA AND XFG AND C>箱体大顶 ;