【资料名称】:MACD新编副图指标 通达信 贴图 无未来 无加密介绍【资料描述】:
MACD新编副图指标 通达信 贴图 无未来 无加密
今天下载别人的公式受到启发,干脆编了一个新的MACD,一套波浪曲线,有用的柱都变红色,没用的变灰色,其它的自己悟去吧
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED,LINETHICK1;
DIF1:EMA(CLOSE,4)-EMA(CLOSE,7);
DIF2:EMA(CLOSE,6)-EMA(CLOSE,13);
DIF3:EMA(CLOSE,8)-EMA(CLOSE,17);
DIF4:EMA(CLOSE,10)-EMA(CLOSE,22);
DEA:EMA(DIF,9),COLORYELLOW,LINETHICK3;
持仓段:=0,COLOR00CFFF;
空仓段:=0,COLORFFCCFF;
STICKLINE(DIF>DEA,-0.5,-0.6,10,1),COLOR00CFFF;
STICKLINE(DIF<DEA,-0.5,-0.6,10,1),COLORLIGRAY;
MACD:(DIF-DEA)*2,COLORSTICK;
STICKLINE(((MACD<REF(MACD,1)) AND (MACD>0)),0,MACD,1,-1),COLORRED,LINETHICK1;
STICKLINE(((MACD<REF(MACD,1)) AND (MACD<0)),0,MACD,1,1),COLORGRAY,LINETHICK1;
STICKLINE(((MACD>REF(MACD,1))),0,MACD,1,0),COLORRED,LINETHICK1;
IF(DIF1<DIF2,DIF1,DRAWNULL),COLORWHITE;
IF(DIF2<DIF3,DIF2,DRAWNULL),COLORWHITE;
IF(DIF3<DIF4,DIF3,DRAWNULL),COLORWHITE;
IF(DIF4<DIF,DIF4,DRAWNULL),COLORWHITE;
IF(DIF<DEA,DIF,DRAWNULL),COLORWHITE;
IF(DIF1>DIF2,DIF1,DRAWNULL),COLORMAGENTA;
IF(DIF2>DIF3,DIF2,DRAWNULL),COLORMAGENTA;
IF(DIF3>DIF4,DIF3,DRAWNULL),COLORMAGENTA;
IF(DIF4>DIF,DIF4,DRAWNULL),COLORMAGENTA;
IF(DIF>DEA,DIF,DRAWNULL),COLORMAGENTA;
gd55952
【下载地址隐藏】: 点:回复可见地址