马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
DIF : EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:EMA(DIF,9),LINETHICK2;
IF(DEA>REF(DEA,1),DEA,DRAWNULL),COLORRED,LINETHICK2;
IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORFF00FF;
MACD:=(DIF-DEA)*2,COLORSTICK;
STICKLINE(MACD>=REF(MACD,1),0,MACD,1,0)COLOR0000FF;
STICKLINE(MACD<REF(MACD,1),0,MACD,1,0)COLORFF00FF;
FF:BARSLASTCOUNT(DEA>REF(DEA,1))NODRAW;
F1:BARSLASTCOUNT(DIF>REF(DIF,1))NODRAW;
DRAWICON(FF=1 AND F1<>1,MACD,2);
DRAWICON(F1=1 AND FF<>1 ,MACD,1);
DRAWICON(F1=1 AND FF=1 ,MACD,7);
|