角度d:=atan((kdj.d/ref(kdj.d,1)-1)*100)*180/3.1416;涨停:=o>ref(h,1) and c/ref(c,1)>1.099;xg:ref(涨停,5) and ref(kdj.j,1)<ref(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);(已测试) 20210311
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;公式已测试通过!希望能够帮助你!