var3:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma(sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1),3,1);趋势:=ema(var3,3)-10;var4:=(趋势-ref(趋势,1))/ref(趋势,1)*100;var5:=filter((趋势<=13 and var4>13),10);xg:var5;公式已测试通过!希望能够帮助你! 20210311
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;xg:ref(dif,2)>ref(dif,1)and dif>ref(dif,1) and dif>dea and dif-dea<0.02;测试通过,希望能够帮助你!
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);{已经测试,复制可直接使用,满意请给予采纳}