自用黄金MACD组合指标 比原始MACD指标更有效 通达信副图指标 源码 贴图
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26)*10,COLORRED; DEA:=EMA(DIFF,9),COLORFFFFFF,LINETHICK1; MACD:16*(DIFF-DEA); STICKLINE(MACDSTICKLINE(MACD>REF(MACD,1) AND MACD<0,0,0-MACD,2,0),COLOR00FFFF; STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,0-MACD,2,0),COLORFFFF00; STICKLINE(MACD[0,0,0-MACD,3,0),COLOR00FF00;] VAR1:=(MA(CLOSE,80)-MA(CLOSE,13)/3); VAR2:=(MA((CLOSE-VAR1)/VAR1,1)); MMA:=EMA(VAR2,12)*0.7; MMB:=EMA(VAR2,3); DEAF:=0-DEA;DIFFF:=0-DIFF; DRAWBAND(DEAF,RGB(0,0,255),DIFFF,RGB(255,0,0)); MD1:STICKLINE(CROSS(VAR2,0) AND LOW/REF(HIGH,1)<1.012,50,0,2,0),COLOR00FFFF LINETHICK2;{www.gpxiazai.com} ZJD:IF(COUNT(VAR2>REF(VAR2,1),3)=3 AND COUNT(VAR2<0,10)=10 AND REF(VAR2,3)=LLV(VAR2,10),80,0),COLORRED; MD2:IF(REF(VAR2,2)=LLV(VAR2,20) AND REF(VAR2,2)<0.071 AND REF(VAR2,2)NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),50,0),COLORFF00FF LINETHICK2; KDD:IF(LLV(MMB-MMA,12)>0,0,-30),LINETHICK2 COLORLIRED; DCXG:IF( CROSS(0,LLV(MMB-MMA,12)),20,0),COLORFFFFFF LINETHICK2; CD:IF(KDD<0 AND CROSS(MACD,0),30,0),COLORFF00FF LINETHICK2; DRAWICON(CD>0,70,34);
|