您現(xiàn)在的位置: 南方財(cái)富網(wǎng) >> 股票知識 >> 炒股專題 >> 股票公式 >> 正文
南方財(cái)富搜索

MACD背離副圖股票公式

2009-8-20 8:34:14   來源:本站原創(chuàng)   佚名
    
副圖公式:MACD背離
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA : EMA(DIFF,M);
MACD : 2*(DIFF-DEA), COLORSTICK,COLOR5454FF;
DD:=C=HHV(C,180);
EE:=DEA< REF(DEA,1) AND REF(DEA< REF(DEA,1),1)=1;
CC:=C> REF(C,1) AND REF(C> REF(C,1),1)=1;
上升背離CC AND EE)*DEA,COLOR00FFFF;
頂背離DD AND EE AND DEA< HHV(DEA,180))*DEA,STICK,LINETHICK3,COLORGREEN;
FF:=C=LLV(C,180);
GG:= DEA> REF(DEA,1) AND REF(DEA> REF(DEA,1),1)=1;
LL:=C< REF(C,1) AND REF(C< REF(C,1),1)=1;
下降背離LL AND GG)*DEA,COLORMAGENTA;
底背離FF AND GG AND DEA> LLV(DEA,180))*DEA,STICK,LINETHICK3,COLORRED;
MM:=IF(MACD< 0,MACD,0);
JJ:=MM> REF(MM,1);
ZZ:=REF(JJ,1)=1;
介入?yún)^(qū)JJ AND ZZ)*DEA,POINTDOT,COLORRED;{MACD藍(lán)柱縮短---指今日比昨天短}
STICKLINE(介入?yún)^(qū)=DEA,DEA,DIFF,3,0),COLORRED;
DRAWTEXT(CROSS(DIFF,DEA ),0,'金\N叉'),COLORCYAN;
DRAWTEXT(CROSS(DEA,DIFF ),0,'死叉'),COLORGREEN;
(責(zé)任編輯:張?jiān)墸?/td>
    南方財(cái)富網(wǎng)聲明:股市資訊來源于合作媒體及機(jī)構(gòu),屬作者個(gè)人觀點(diǎn),僅供投資者參考,并不構(gòu)成投資建議。投資者據(jù)此操作,風(fēng)險(xiǎn)自擔(dān)。
商務(wù)進(jìn)行時(shí)
每日必讀
學(xué)院24小時(shí)排行
證券導(dǎo)讀
熱圖推薦