{ok.测试通过}**r1:=ema(close,10);**r2:=(46.18*ema(close,10)-31.82*ema(close,4))/14.36;**r3:=ma(close,9);**r4:=ma(close,20);**r5:=ema(close,2);**r6:=ema(slope(close,21) * 20 + close,42); **r7:=ema(close,3);**r8:=ema(close,21);**r9:=(hhv(high,20) - (2 * atr));**ra:=cross(close,ref(hhv(high,55),1));**rb:=barslast(**ra);**rc:=cross(min(ma(close,13),**r9),close);**rd:=barslast(**rc);**re:=((**rb = 0) and (ref(**rd,1) < ref(**rb,1)));**rf:=barslast(**re);**rg:=((((**ra = 1) and (**rf < **rd)) and (**rf > 0)) and (count(**ra,**rd) < 3));五线选股:=if(cross(**r1,**r4) and cross(**r3,**r4) and cross(**r4,**r2),1,0);底背离选股:=if(cross(**r7,**r8),1,0);跟进加码:=if(**re=1 or **rg=1,1,0);跟进快买:=if(cross(**r5,**r6),1,0);五线选股 or 底背离选股 or 跟进加码 or 跟进快买; 20210311