rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;xg:k<30 and d<30 and cross(k,d) and dyna**(17)>0;公式已测试通过!希望能够帮助你!
角度d:=atan((kdj.d/ref(kdj.d,1)-1)*100)*180/3.1416;xg:ref(kdj.j,1)(kdj.j,2)and between(ref(kdj.j,1)-ref(kdj.d,1),0,5)and 角度d>30 and kdj.j>ref(kdj.j,1);(已测试)
x1:=abs(ma(c,10)/ma(c,20)-1);x2:=abs(ma(c,5)/ma(c,10)-1);x3:=abs(ma(c,5)/ma(c,20)-1);x4:=vol/ref(ma(vol,5),1);均线粘合:=ma(c,5)>ref(ma(c,5),1)and x1 and x2 and ...