角度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...
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);t1:=k<=80 and k>=65;t2:=ma(c,5)>=ma(c,10)and ma(c,10)>=ma(c,20);xg:t1 and t2;参考资料:http://tieba.baidu.com/p/2913602081