通达信的:a:=dmi.pdi>dmi.mdi and dmi.pdi>dmi.adx and dmi.pdi>dmi.adxr;b:=every(a,5);b and count(b,30)=1;测试通过,希望能够帮助你!我给你的公式pdi全部在30日内了,怎么又出来一个“第5日pdi能小于30内大于其他3线就选出”第5日已经包含在30日之内了,严格的说它都小于2日内了,还不小...
n:=5;m1:=3;m2:=3;rsv:=(close-llv(low,n))/(hhv(high,n)-llv(low,n))*100;k:=sma(rsv,m1,1);d:=sma(k,m2,1);j:=3*k-2*d;ma1:=ma(close,5);ma2:=ma(close,10);ma3:=ma(close,20);cross(ma2,ma3) and ma1>ma3 and...
y1:=barslast(=100000);:=(hhv(c,0),y1+1);vv:=(hhv(v,0),y1+1);:=/dyna**(3)<1.05;zt10:=(c,) and v>vv and ;aa1:=barslast(=110000);cc1:=(hhv(c,0),aa1+1);vv1:=ref(hhv(v,0),aa1+1);1:=cc1/dyna**(3)<1...