n:=9; m1:=3; m2:=3;rsv:=(close-llv(low,n))/(hhv(high,n)-llv(low,n))*100;k:=sma(rsv,m1,1);d:=sma(k,m2,1);j:=3*k-2*d;xg:k>ref(k,1) and ref(k,1)<ref(k,2);{已经测试,复制可直接使用,满意请给予采纳}
ma5:=ma(c,5);ma10:=ma(c,10);ma20:=ma(c,20);ma30:=ma(c,30);ma60:=ma(c,60);选:ma5>ma10 and ma10>ma20 and ma20>ma30 and ma30>ma60 and ma5>ref(ma5,1) and ma10>ref(ma10,1) and ma20>ref(...