【通達(dá)信】MACD多色區(qū)分指標(biāo)公式
攻城獅 2015.11.11 18:11
SHORT:=12 ; LONG:=26; MID:=9;
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG)
COLORD19275,LINETHICK1;
DIF黃色段:IF(DIF>=REF(DIF,1),DIF,DRAWNULL)
COLOR0080FF,LINETHICK1;
{www.gUPang.com 概念股網(wǎng)_最新股票指標(biāo)公式}
DEA:EMA(DIF,MID)COLORWHITE,LINETHICK1;
DEA綠色段:IF(DEA>=REF(DEA,1),DEA,DRAWNULL)
COLORGREEN,LINETHICK1;
MACD:(DIF-DEA)*2,COLORSTICK,COLOR70DB93;
STICKLINE(MACD0,0,MACD,0,0)COLORYELLOW;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,0,0)COLORWHITE;
DIF四六日:EMA(DIF,46)COLOR7388C1,LINETHICK1;
DIF四六日紫色段:IF(DIF四六日>=REF(DIF四六日,1),
DIF四六日,DRAWNULL)COLOR6B238E,LINETHICK1;
STICKLINE(18,0.001,-0.001,10,0)COLOR205AA7;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://lakewaygifts.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。