修改好的立桩量:=vol=hhv(vol,40) and vol>1.9*ref(vol,1);立桩量三日突破:=if(barslast(立桩量)=1 and close>ref(high,1),1,if(barslast(立桩量)=2 and close>ref(high,2),1,if(barslast(立桩量)=3 and close>ref(high,3),1,0)...
v1:=ema(close,60)-ema(close,300);v2:=ema(v1,300);v3:=(close-llv(low,8))/(hhv(high,8)-llv(low,8))*100;v4:=sma(v3,2,1);v5:=sma(v4,2,1);v6:=close/ref(close,3)>=1.1;v7:=backset(v6,3);买入:if((v7 and coun...
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd0:=(dif-dea)*2;x0:=barslast(cross(dif,dea));xg:if(x0=0 and dif>ref(dif,ref(x0,1)+1)and l(l,ref(x0,1)+1),1,0);公式里的macd金叉低点对比用macd的dif值做的对比,
通达信出跟庄买进选股公式,如下 。-------a7:=c-ref(c,1);a8:=100*ema(ema(a7,6),6)/ema(ema(abs(a7),6),6);买:=llv(a8,2)=llv(a8,7) and count(a8<0,2) and cross(a8,ma(a8,2));买=1;{测试通过!}