X_1:=MA(HIGH,30)*(1+13/100)*1.0382;
X_2:=MA(HIGH,30)*(1+13/100);
X_3:=(3*CLOSE+OPEN+LOW+HIGH)/6;
X_4:=(20*X_3+19*REF(X_3,1)+18*REF(X_3,2)+17*REF(X_3,3)+16*REF(X_3,4)+15*REF(X_3,5)+14*REF(X_3,6)+13*REF(X_3,7)+12*REF(X_3,8)+11*REF(X_3,9)+10*REF(X_3,10)+9*REF(X_3,11)+8*REF(X_3,12)+7*REF(X_3,13)+6*REF(X_3,14)+5*REF(X_3,15)+4*REF(X_3,16)+3*REF(X_3,17)+2*REF(X_3,18)+REF(X_3,20))/210;
X_5:=CLOSE/REF(CLOSE,1)>=1.058;
X_6:=crOSS(CLOSE,X_4) OR CROSS(CLOSE,X_1) OR CROSS(CLOSE,X_2);
牛出栏:X_5 AND X_6;