x_1:=ref(close,1)/ref(close,2)>1.095 and ref(close,1)=ref(high,1) and open>ref(high,1) and vol=hhv(vol,5) and close;x_2:=ma(close,5)>ma(close,10);x_3:=close/ref(close,1)<0.91;x_4:=every(re...
var1:=close>ref(close,1) and close>ref(close,2);var2:=ref(var1,1) and close<=ref(close,1) and close>=ref(close,2);var3:=ref(var2,1) and close>=ref(close,1) and close<=ref(close,2);va...
这样就可以:ma05:=ma(c,5);ma30:=ma(c,30);五日乖离率:=(c-ma05)/ma05*100;三拾日乖离率:=(c-ma30)/ma30*100;买入:count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and ma05>ref(ma05,1) and (c/ref(c,1)-1)*100>5 a...
n4:=34;涨幅:=c/ref(c,1)>2;中期:=100*(c-llv(l,n4))/(hhv(c,n4)-llv(l,n4));kdd:=ref(中期,1)<1 and 中期>1;kaaa1:=ex**t(kdd,3);kbbb1:=c/ref(c,1)>1+0.01*涨幅;超级资金:kaaa1 and kbbb1;
{一个是底背驰,一个是顶背驰,怎么会效果一样?} dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd0:=(dif-dea)*2;mj:=macd0;jc:=dea-dif;s05:=sum(mj,0);qst:=barslast(mj(mj,1)>0)+1;qxt:=barslast(mj>0 and ref(mj,1))+1;...