tt:=v*100/capital;dif:=ema(dclose,12)-ema(dclose,26);dea:=ema(dif,9);aaa:=(dif-dea)*2*60;起爆:cross(aaa-ref(aaa,1),15) and finance(7)<350000000 and c>3 and vol>0;
p:=(high + low + close)/3;cci:=(p-ma(p,n))*100/(1.5***edev(p,n)),colorwhite;-100,pointdot,color00aa00;100,pointdot,color00aa00;select:count(c<ref(c,1),5) and ref(count(cci<-100,3),3) and cross...
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;xg:ref(dif,2)>ref(dif,1)and dif>ref(dif,1) and dif>dea and dif-dea<0.02;测试通过,希望能够帮助你!