安全盈利 选股公式
{去掉创业板}
S1:=IF(CODELIKE('300'),0,1);
{去掉*、S、ST}
S2:=IF(NAMELIKE('S'),0,1);
S3:=IF(NAMELIKE('*'),0,1);
S4:=DYNAINFO(4)>0;{去除停牌}
{量比大于1.2,涨幅大于1,流通盘小于10亿}
AA:=V/MA(REF(V,1),5)>1.2;
ZM:=AA AND CAPITAL <10000000 AND C/REF(C,1)>1.01;
ST:=S1 AND S2 AND S3 AND S4 AND ZM AND CLOSE<15;
MTR:=EMA(EMA(EMA(CLOSE,12),12),12);
TRIX:=(MTR-ref(MTR,1))/ref(MTR,1)*100;
MATRIX:=MA(TRIX,9) ;
{天外天888通达信指标}
XG:CROSS(TRIX,MATRIX) AND MATRIX<-0.5 AND ST;
安全盈利 副图公式
MTR:=EMA(EMA(EMA(CLOSE,12),12),12);
TRIX:=(MTR-ref(MTR,1))/ref(MTR,1)*100;
MATRIX:=MA(TRIX,9) ;
{天外天888通达信指标}
XG:CROSS(TRIX,MATRIX) AND MATRIX<-0.5;