DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26),COLORWHITE,LINETHICK1;
DEA:=EMA(DIFF,9),COLORYELLOW,LINETHICK2;
金叉:CROSS(DIFF,DEA) AND DEA>0 AND DIFF>0;
九毛八公式解读
DIFF赋值:收盘价的12日指数移动平均 - 收盘价的26日指数移动平均,画白色,线宽为1 DEA赋值:DIFF的9日指数移动平均,画黄色,线宽为2 输出金叉:DIFF上穿DEA AND DEA>0 AND DIFF>0