老牛捉妖主图之牛二选股指标公式

MA2:=MA(CLOSE,13);

MA3:=MA(CLOSE,24);

MA4:=MA(CLOSE,30);

MA5:=MA(CLOSE,120);

SXSS:=MA2>MA3 AND MA3>MA4 AND MA4>MA5 AND MA2>REF(MA2,1) AND MA3>REF(MA3,1) AND MA4>REF(MA4,1) AND MA5>=REF(MA5,1);

角度13:=ATAN((MA(C,13)/REF(MA(C,13),1)-1)*100)*57.3;

涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);

Z:=REF(涨停,1) ;

W:=COUNT(Z ,5)>=1;

W3:=COUNT(Z ,13)>=1;

牛二:SXSS AND C>MA2 AND L<=MA2 AND C>O AND 角度13>47 AND W3 ;