MACD的大部分形態(tài)都標(biāo)注出了來(lái),喜歡的就拿去。源碼如下:
DIFF:EMA(CLOSE,8)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK2;
DRAWTEXT(CROSS(DIFF,DEA),DIFF,‘☆’),COLORRED;
{DRAWICON(CROSS(DIF,DEA),DIF*1.05,1);
DRAWICON(CROSS(DEA,DIF),DEA*0.90,2);}
月DIFF:=“MACD.DIF#MONTH”COLOR0080FF;
月DEA:=“MACD.DEA#MONTH”,COLOR0080FF,LINETHICK2;
周DIFF:=“MACD.DIF#WEEK”COLORRED;
周DEA:=“MACD.DEA#WEEK”,COLORRED,LINETHICK2;
日DIFF:=“MACD.DIF”,COLORWHITE;
(南方財(cái)富網(wǎng)SOUTHMONEY.COM)