n1:=5;n2:=9;nmtm:=c-ref(c,1);zlgj:=100*ema(ema(nmtm,n1),n1)/ema(ema(abs(nmtm),n1),n1);t1:=ref(zlgj,1)<=zlgj;xg:t1=1 and ref(t1,1)=0 and zlgj<0;信号较多,帮你优化了一下。
v0:=vol/capital*1000;v1:=ref(sum(v0,5),1);v3:=v0 and v0>v1;v4:=v3 and count(v3,50)=1;stickline(v>0,0,v0,2,0),colorgray;stickline(v4/1000 and c>=o and count(l(c,240),10)>0,0,v0*1.3,0.1,0),c...
a:=ref(h,120);新高:=a>=hhv(h,0);m5:=ma(c,5);m13:=ma(c,13);金叉:=cross(m5,m13);回调:=(hhv(c,120)-c)/hhv(c,120)>0.3;放量:=v/ref(v,1)>=2.01;缩量:=ref(c,1)>ma(c,34);xg:回调 and 金叉 and 新高 and 放量 and 缩量;(你要...