MACD背离副图股票公式
2009-8-20 8:34:14 来源:本站原创 佚名
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; 介入区JJ AND ZZ)*DEA,POINTDOT,COLORRED;{MACD蓝柱缩短---指今日比昨天短} STICKLINE(介入区=DEA,DEA,DIFF,3,0),COLORRED; DRAWTEXT(CROSS(DIFF,DEA ),0,'金\N叉'),COLORCYAN; DRAWTEXT(CROSS(DEA,DIFF ),0,'死叉'),COLORGREEN; |
(责任编辑:张元缘) |
南方财富网声明:股市资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
延伸阅读
|
||||||||||
|
要闻导读
|
||||||||||
|