rsv:=(close-llv(low,18))/(hhv(high,18)-llv(low,18))*100;k:=ema(rsv,3);d:=ema(k,3);j:=(3*k-2*d);kdj1:=ref(count(j(j,1),5)>=3,1)and ref(j,1);kdj2:=j>ref(j,1);xg:filter(kdj1 and kdj2,3); 20210311
m5:=ma(c,5);m10:=ma(c,10);m20:=ma(c,20);m60:=ma(c,60);dif:="macd.dif;dea:="macd.dea;macd:="macd.macd;t1:=m20>=m60 and cross(m10,m5);t2:=dif>=0 and dea>=0 and macd xg:t1 and t2;参考资料:http://tie...