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;以上公式判断是收盘价...
a1:=ref(close,5)>ref(close,4);a2:=ref(close,4)>ref(close,3);a3:=ref(close,3)>ref(close,2);a4:=ref(close,2)>ref(close,1);a5:=close>ref(high,1) and v>ref(v,1);ret:=a1 and a2 and a3 and...
按照这只股票编出来不难,但你定义的都是幅度,没有时间.形态分析,光分析涨跌空间不行你还要计算时间因素. 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,...
ma3:=ma(c,3); ma10:=ma(c,10); mv3:=ma(v,3); ma5:=ma(c,5); mv10:=ma(v,10); (close-open)>0.02*open and close>open and ref(close,1)<ref(open,1) and ref(close,2)>ref(open,2) and ma3&...