MACD绝对是一款经典指标!我蔑视成交量,但绝对尊重MACD!可能大家会对改动参数的行为视做对MACD的不轨,可在我看来,两者有机结合产生的效果会更好,或许更具魅力。
C/C++ Code复制内容到剪贴板
- SHORT:=6;
- LONG:=9;
- MID:=3;
- DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),LINETHICK1,COLOR0000FF;
- DEA:EMA(DIF,MID);
- DRAWBAND(DIF,RGB(500,180,280),DEA,RGB(380,280,180));
- MACD:(DIF-DEA)*2,COLORSTICK;
- 向上:IF(DIF>=REF(DIF,1),DIF,DRAWNULL),LINETHICK2,COLORRED;
- 向下:IF(DIF<REF(DIF,1),DIF,DRAWNULL),COLORGREEN,LINETHICK2;
- DRAWICON(CROSS(DIF,DEA) AND DIF>REF(DIF,1) AND DEA<0,DIF,0);