n:=20;n1:=15;t1:=ref(hhv(h,n)/llv(l,n),1)(1+n1/100)and barscount(c)>n;xg:ref(t1,2)=1 and ref(c/o>1.07,1)=1 and o>ref(c,1)and o=l and v>ref(v,1);n是时间 n1是横盘的幅度, 随便设置的,你需要自己决定参数范围 20210311
vvol:if(currbarscount=1 and period=5,vol*240/fromopen,draw**),nodraw;stickline(currbarscount=1 and period=5,vvol,0,-1,-1),color00c0c0;volume:vol,volstick;aa:=vol>ref(v,1)*1.9;aa1:=vol<ref(llv(vo...