有關(guān)對(duì)MACD特性的了解,看看下述講解,讓你在運(yùn)用時(shí)更好掌握。 ___因?yàn)槿魏螁我恢笜?biāo)使用總只能反映出其指標(biāo)的本身指定特性,而每種指標(biāo)的特性均有它自身的周期表現(xiàn)。 下面是本指標(biāo)的源碼: {坐標(biāo)參數(shù):1.50;1.00;0.50;0.00;-0.50;-1.00;-1.50 DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED,LINETHICK2; DEA:EMA(DIF,9),COLORWHITE,LINETHICK2; 持倉段:0,COLOR00CFFF; 空倉段:0,COLORFFCCFF; STICKLINE(DIF>DEA,-0.5,-0.6,10,1),COLOR00CFFF; STICKLINE(DIF<DEA,-0.5,-0.6,10,1),COLORFFCCFF; DRAWTEXT(CROSS(DIF,DEA),DIF-0,'建倉'),COLORRED; DRAWTEXT(CROSS(DEA,DIF),DIF+0,'空倉'),COLORGREEN; MACD彩柱:(DIF-DEA)*2,COLORSTICK; STICKLINE(((MACD彩柱<REF(MACD彩柱,1)) AND (MACD彩柱>0)),0,MACD彩柱,1,0),COLORLIBLUE,LINETHICK2; STICKLINE(((MACD彩柱>REF(MACD彩柱,1)) AND (MACD彩柱<0)),0,MACD彩柱,1,0),COLORFF00FF,LINETHICK2; 建倉:IF(DIF<0,DIF,0),COLORYELLOW,LINETHICK2; 加倉:IF(DIF<0,0,DIF),COLORRED,LINETHICK2; 白線破倉:IF(DIF<DEA,DIF,DEA),COLORWHITE,LINETHICK2; 趨勢(shì)強(qiáng)弱:IF(DIF>DEA,DEA,DEA),COLORFF937F,LINETHICK2; |
|