角度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 kd...
ma5:=ma(close,5);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;t1:=close>ma5;t2:=j>ref(j,1) and ref(j,2)>ref(j,1);xg:t1 and t2;