dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;a1:=close/ref(close,1);a2:=a1>1 and a1;b1:=vol/ref(vol,1);b2:=b1>1 and b1;c1:=100*ma(vol,5)/capital;every(c>o,3) and ref(mac...
均价:=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))...