m5:=ma(c,5);m10:=ma(c,10);m20:=ma(c,20);m60:=ma(c,60);dif:="macd.dif;dea:="macd.dea;macd:="macd.macd;t1:=m20>=m60 and cross(m10,m5);t2:=dif>=0 and dea>=0 and macd xg:t1 and t2;参考资料:http://tie...
均价:=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))...