DIF:=EMA(CLOSE,6)-EMA(CLOSE,13);
DEA:=EMA(DIF,4);
MACD:=(DIF-DEA)*2;
一字涨停:=C/REF(C,1)>1.0975 AND H=O;
XG:NOT(一字涨停)
AND ((macd>0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2)) OR (DIF>0 AND DEA>0 AND CROSS(DIF,DEA)))
AND C/REF(C,1)>1.03 AND CAPITAL<10000000
AND (C-MA(C,20))/MA(C,20)<0.1;
九毛八公式解读
DIF赋值:收盘价的6日指数移动平均-收盘价的13日指数移动平均 DEA赋值:DIF的4日指数移动平均 MACD赋值:(DIF-DEA)*2 一字涨停赋值:收盘价/1日前的收盘价>1.0975 AND 最高价=开盘价 输出XG:取反AND ((MACD>0 AND MACD>1日前的MACD AND 1日前的MACD<2日前的MACD) OR (DIF>0 AND DEA>0 AND DIF上穿DEA))AND 收盘价/1日前的收盘价>1.03 AND 当前流通股本(手)<10000000AND (收盘价-收盘价的20日简单移动平均)/收盘价的20日简单移动平均<0.1