abs((ref(c,1)-ref(o,1)))/ref(c,2)*100<0.5 and (ref(h,1)-ref(l,1))/ref(c,2)*100<4 and ref(h,1)>max(ref(o,1),ref(c,1)) and ref(l,1)<min(ref(o,1),ref(c,1)) and (c-ref(c,1))/ref(c,1)*100<2....
{(1)当前价格有效站稳30日均价(即至少连续3天以上在30均价之上);}tj1:=count(c>=ma(c,30),3)=3;{同时(2)macd的dif大于dea,且dif大于0;}tj2:=macd.dif>macd.dea and macd.dif>0;{同时(3)成交量:最近5日平均成交量大于40日平均成交量。}tj3:=ma(v,5)>ma(v,40);tj1...
这样形态是少见,你或举例。下面是公式: t1:=ref(v,1)>=ref(v,2)*3;t2:=((ref(c,1)-ref(c,2))/ref(c,2)*100)>8;t3:=v(v,1)and between((c-ref(c,1))/ref(c,1)*100,-1,1);xg:(t1 and t2 and t3);