%>
DIF:(EMA(CLOSE,12) - EMA(CLOSE,26));
DEF:EMA(DIF,9);
MACD2:(2 * (DIF - DEF)),linethick1;
STICKLINE(MACD2>=0 AND MACD2>REF(MACD2,1),0,MACD2,6,0),colorred;
STICKLINE(MACD2>=0 AND MACD2<REF(MACD2,1),0,MACD2,6,1),coloryellow;
STICKLINE(MACD2<0 AND MACD2<REF(MACD2,1),0,MACD2,6,0),colorgreen;
STICKLINE(MACD2<0 AND MACD2>REF(MACD2,1),0,MACD2,6,1),colorwhite;
{股票教程网-承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}