M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M30:=MA(C,30);
MAX_MA:=MAX(M5,MAX(M10,MAX(M20,M30)));
MIN_MA:=MIN(M5,MIN(M10,MIN(M20,M30)));
NHD:=(MAX_MA-MIN_MA)/MIN_MA*100;
ANG_M5:=ATAN((M5/REF(M5,1)-1)*100)*180/3.1415926;
ANG_M10:=ATAN((M10/REF(M10,1)-1)*100)*180/3.1415926;
ANG_M20:=ATAN((M20/REF(M20,1)-1)*100)*180/3.1415926;
ANS3:=ANG_M5>0 AND ANG_M10>0 AND ANG_M20>0 AND ANG_M5>ANG_M10;
ANS4:=NHD<3 AND C>M5 AND C>M20;
均线走牛:ANS3 AND ANS4;