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;记得采纳一下。
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100; k:=sma(rsv,3,1); d:=sma(k,3,1); bias1:=(close-ma(close,24))/ma(close,24)*100; a1:cross(k,d) and cross(k,d)<16 and bias1<-6;
均价:=amount/vol/100,coloryellow;ll:=c<ref(c,1) and c/均价<(1-0.03);ll1:=cross(sum(ll,0),0.5);bb1:=sum(ll1,0)*cross(count(c>ref(c,1),barslast(ll1)),0.5);cb1:=const(sum(if(bb1,ref(c,1),draw**),0))...