{rsi 的6日线小于80 rsi的6日线小于rsi的12日线----是不是写错了,应该:rsi 的6日线大于80rsi的6日线小于rsi的12日线}xg:dbqr.madbqr2>ref(dbqr.madbqr2,1) and rsi.rsi1<80 and rsi.rsi1>12 and psy.psy<60;
角度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);(已测试)
t1:=ma(c,5)>ma(c,24);t2:=ma(c,5)/ma(c,24)1;t3:=ref(ma(c,5),1)>ma(c,5) and ref(ma(c,5),2)>ref(ma(c,5),1) and ref(ma(c,5),3)>ref(ma(c,5),2);xg:t1 and t2 and t3;请选股时将周期选为周线希望能帮到你!