%>
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK4;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,0.9,0),COLORYELLOW;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,0.9,0),COLORGREEN;
STICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,0.9,0),COLORBLUE;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,0.9,0),COLORRED;
{股票教程网-http://gwgz.net/承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}