mh:=close#month;ml:=close#month;ab1:=ema(c,14);ab1x:=(ab1-ref(ab1,1))/ref(ab1,1)*100;a1:=(mh-c)/c*100>20 and barscount(close)>20 and ab1x<0;xg:ab1x>=0 and ref(a1,1)>0;记得采纳一下。
var1:=if(year>=2993 and month>=1,0,1);var2:=ref(low,1)*var1;var3:=sma(abs(low-var2),3,1)/sma(max(low-var2,0),3,1)*100*var1;var4:=ema(if(close*1.3,var3*10,var3/10),3)*var1;var5:=llv(low,30)*var1;...