去除ST股:=IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1);
去除停牌:=DYNAINFO(8)
去除星股:=IF(NAMELIKE('*'),0,1);
去无用股:=去除ST股 AND 去除停牌 AND 去除星股 AND NOT(GSY) AND NOT(JQRS) AND NOT(LXGS) AND NOT(KFKS) AND NOT(YGSZ) AND NOT(NJC) AND NOT(JQJJ) AND NOT(SYJZ)
AND NOT(YJYJ) AND NOT(GGJC) AND NOT(FXTS) AND NOT(GSG) AND NOT(HSZJ) AND NOT(GQFS) AND NOT (CODELIKE('688') ) AND FINANCE(33) 0 AND FINANCE(54) 0 AND CAPITAL 30000000 ;{每股收益,扣非净利润至少一千万以上};
DIF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
EXIST(CROSS(DIF,0),26) AND CROSS(DIF,DEA) AND BETWEEN(DIF,0,1) AND 去无用股,COLORMAGENTA,LINETHICK3;
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);{www.9m8.cn 九毛八公式指标网}
EXIST(CROSS(DIF,0),26) AND CROSS(DIF,DEA) AND DIF 0 AND BETWEEN(DIF,0,1),COLORMAGENTA,LINETHICK3;