DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
XG:CROSS(REF(DEA,1),REF(DIFF,1)) AND CROSS(DIFF,DEA);
九毛八公式解读
DIFF赋值:收盘价的12日指数移动平均-收盘价的26日指数移动平均 DEA赋值:DIFF的9日指数移动平均 输出XG:1日前的DEA上穿1日前的DIFF AND DIFF上穿DEA
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
XG:CROSS(REF(DEA,1),REF(DIFF,1)) AND CROSS(DIFF,DEA);
DIFF赋值:收盘价的12日指数移动平均-收盘价的26日指数移动平均 DEA赋值:DIFF的9日指数移动平均 输出XG:1日前的DEA上穿1日前的DIFF AND DIFF上穿DEA