虚拟换手:if(currbarscount=1 and period=5,100*vol/capital*240/fromopen,draw**),nodraw;stickline(currbarscount=1 and period=5,虚拟换手,0,-1,-1),color00c0c0;换手率:100*v/capital,volstick; 20210311
t1:=c/o>1.07;t2:=o>ref(c,1)and min(c,o)-l>0 and h-max(c,o)>0 and max(c,o)/min(c,o)<1.04 and v>ref(v,1);xg:ref(t1,2)=1 and ref(t2,1)=1 and c(c,5)*1.01 and c>ma(c,5)*0.99;以上公式判断是收盘价...
按照这只股票编出来不难,但你定义的都是幅度,没有时间.形态分析,光分析涨跌空间不行你还要计算时间因素. n:=60;n1:=50;m:=30;x:=hhvbars(h,n);qh:=ref(hhv(h,m),x+1);ql:=ref(llv(l,m),x+1);xg:ref(x,1)>50 and ref(llv(l,x),1)>ref((0.618*(qh-ql)+ql)*0.95,...