aa1:=amount/v; bb1:=l<aa1*0.9; cc1:=(c-ref(c,1))/ref(c,1)*100>1.2; dd1:=l<ma(c,5)*0.921; ee1:=v<ma(v,5)*1.5; 短线买:(bb1 and cc1 and dd1 and ee1)*2,colorred;卖:if(aa1<ref(aa1,1) and bb1=1 a...
a1:=dyna**(6);a2:=if(low>a1,0,if(high<a1,1,(a1-low+0.01)/(high-low+0.01)));a3:=vol/winner(low);a4:=ref(hhv(close,120),1);a5:=ref(llv(close,120),1);a6:=100*(close-a5)/(a4-a5);a7:=a2>0 or a2=1;...
按照这只股票编出来不难,但你定义的都是幅度,没有时间.形态分析,光分析涨跌空间不行你还要计算时间因素. 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,...