tj:=ref("kdj.j",1)<0 and "kdj.j">0;xg:=tj;zdf:=(c-ref(c,1))/ref(c,1)*100;aa:=zdf>9.8;涨停板:=sum(aa,16);涨停距今日:=barslast(aa);涨停板>=2 and xg; ===============================================上面的公式就是两个公式组合成为一个的!你试试,不会整扣我! ==============================================新的:黑马一:=((((vol/120)>(ma(vol,5)/120)) and (close>(open*(1+(4.8/100))))) and (close<(ma(close,30)*1.6))); var1:=((ma(vol,5)/120) and (close>(ref(close,1)*1))); var2:=((((((close/ref(close,1))>=1.05) and (((vol/capital)*100)<10)) and (close<18)) and ((high/close)<1.01)) and (var1>0)); var3:=(((close-ref(close,1))/ref(close,1))*100); var4:=((ema(close,12)-ema(close,26))*100); fnzh:=((var4<(0-50)) and (var3>7)); 黑马二:=((var2>9) or fnzh); ar1:=(((close and (ma(vol,5)/120)) and (close>(ref(close,1)*1))) and close); varr:=((((((close/ref(close,1))>1.05) and (((vol/capital)*100)<10)) and (close<17)) and ((high/close)<1.01)) and (var1>0)); 黑马三:=(varr>90); 大黑马:=黑马一 or 黑马二 or 黑马三;zdf:=(c-ref(c,1))/ref(c,1)*100;aa:=zdf>9.8;涨停板:=sum(aa,16);涨停距今日:=barslast(aa);涨停板>=2 and 大黑马; 20210311
{小黑码} a:=v*100/capital;小黑码:=ma(a,180);diff0:=(ema(dclose,12)-ema(dclose,26))*100;dea0:=ema(diff0,9);macd0:=2*(diff0-dea0);黑码:=(macd0>ref(macd0,1)*2.5 and macd0>15);{突破} aaa2:=sum(if(close>ref...
{此信号是zig转向未来函数,忽悠人的,慎用哦}买:(zig(3,6)>=ref(zig(3,6),1)) and (ref(zig(3,6),1)<=ref(zig(3,6),2)) and (ref(zig(3,6),2)<=ref(zig(3,6),3))and (ref(zig(3,6),3)<=ref(zig(3,6),4));
{ok.抄底选股通过测试}var1:=(close-llv(low,36))/(hhv(high,36)-llv(low,36))*100;var2:=sma(var1,3,1);var3:=sma(var2,3,1);var4:=sma(var3,3,1);v**:=cross(var3,var4) and var3<25;v** and count(v**,10)=1;