通达信买入预警公式:买入预警var1:=(high+low+close*2)/4;var2:=ema(var1,21);var3:=std(var1,21);var4:=((var1-var2)/var3*100+200)/4;var5:=(ema(var4,89)-25)*1.56;v**:=ema(var5,5)*1.22;var7:=ema(v**,3);var8:=3*v**-2*var7;var1a:=if(cross(v**,var8) and cross(var7,var8) and cross(var7,v**),1,0);var1b:=ema(close,3)-ema(close,89);var1c:=ema(var1b,21);var1d:=(var1b-var1c)*10;var1f:=pow(var1d,3)*0.1+pow(var1d,2);拉升资金:=if(var1d>0.015,var1f,0)/45;var9:=ema(close,2)-ema(close,55);var10:=ema(var9,13);var11:=2*(var9-var10);主力资金:=pow(var11,3)*0.1+pow(var11,1); 进仓:cross(拉升资金,0.01)colorred; 20210311
h1:=max(dyna**(3),dyna**(5));l1:=min(dyna**(3),dyna**(6));p1:=h1-l1;阻力:=l1+p1*7/8;支撑:=l1+p1*0.5/8;中:=(支撑+阻力)/2;现价:=close;xg1:=c<支撑 and cross(c,ref(c,2));xg2:=cross(现价,支撑);xg:xg1 or xg2;这个就没有过滤了,有信号...
上面两个公式由于编写的思路不一样,所以,要两个合起来用是没有意义的,你要合起来也可以,只是不可能有股票选出。jj:=(close+high+low)/3;a:=ema(jj,10);b:=ref(a,1);ma1:=ma(close,3),coloryellow;ma2:=ma(close,19),color00ff00;波段启动:=ma1>ma2 and longcross(ma1,ma2...