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:=1;var2:=((((2*close)+high)+low) / 4);var4:=llv(low,5);var5:=hhv(high,4);c1:=(ema((((var2-var4)/(var5-var4))*100),4)*var1);c2:=(ema(((0.667*ref(c1,1))+(0.333*c1)),2)*var1);xg:cross(c1,c2) and c1&...
dif:=ema(close,5)-ema(close,26);dea:=ema(dif,55);macd:=(dif-dea)*2;tj:=macd>0;t:=macd<0;a:=llv(macd,55)=macd;b:=hhv(macd,55)=macd;drawicon(a and filterx(a,25), l*0.99,11);d:b and filterx(b,25);