total:=if(period=1,5,if(period=2,15,if(period=3,30,if(period=4,60,if(period=5,totalfznum,1)))));mtime:=mod(fromopen,total);ctime:=if(mtime,total,mtime);vamo:if((currbarscount=1 and dyna**(8)>1),amount/10000.0*total/ctime,draw**),nodraw;stickline((currbarscount=1 and ... 20210311
n:=3;{倍量参数根据需要可以调整,这里是定3倍}m:=30;{参数根据需要可以调整}aa:=v>ref(v,1)*n;{成交量大于前一日3倍}aa1:=100*sum(vol,10)/capital<=m;{阶段缩量}aa and aa1;{已测试,复制可直接引用,如果回答满意,请记得给采纳好评,呵呵}
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 缩量;(你要...