{多头选股公式}{一、各均}ma5:ma(c,5);ma10:ma(c,10);ma20:ma(c,20); ma60;ma(c,60);ma120:ma(c,120);{二、多头趋势即各周期均价线趋势向上(各均价线大于昨日均价线且收盘价破10日均价线)}dt:ma5>ref(ma5,1) and ma5>ma10 and ma10>ref(ma10,1) and ma10>...
角度d:=atan((kdj.d/ref(kdj.d,1)-1)*100)*180/3.1416;xg: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);(已测试)
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;a:=ma(c,20);b:=ma(c,60);xg:j<0 and j>ref(j,1) and a>b;测试通过,希望能够帮助你!