n:=9;m1:=3;m2:=3;p:=9;快线:=(close-llv(low,n))/(hhv(high,n)-llv(low,n))*100;慢线:=sma(快线,m1,1);空:=sma(慢线,m2,1);牛股:if(barslast(cross(慢线,空))<p and barslast(cross(空,慢线))<p and cross(慢线,空) and 慢线<20,...
这样形态是少见,你或举例。下面是公式: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);