a:=cross(macd.dif,macd.dea);a and macd.dif>=macd.dea+0.01 and range(macd.dif,-0.3,0.3) 周dif:="macd.dif#week"(12,26,9);周dea:="macd.dea#week"(12,26,9);周dea>0 and cross(周dif,周dea);
这样形态是少见,你或举例。下面是公式:t1:=ref(v,1)>=ref(v,2)*3;t2:=((ref(c,1)-ref(c,2))/ref(c,2)*100)>8;t3:=v<ref(v,1) and between((c-ref(c,1))/ref(c,1)*100,-1,1);xg:(t1 and t2 and t3);