同花顺MACD买入信号指标公式是什么?
2016-5-5 11:43:47 股票入门 http://rumen.southmoney.com
同花顺MACD买入信号指标公式是什么?附:同花顺KD配合MACD公式源码 南方财富网小编为您提供
【同花顺MACD买入信号指标公式】
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">{说明:MACD另一种图形,有效买点之前要先确认MACD由上往下穿0点。}
M:=9;
DIFF : EMA(CLOSE,13) - EMA(CLOSE,26);
DEA : EMA(DIFF,M);
MACD : 2*(DIFF-DEA);
SIG : EMA(MACD,M);
ZERO : 0;
DRAWICON(CROSS(MACD,SIG),MACD,1);
DRAWICON(CROSS(SIG,MACD),SIG,2);
附:【同花顺KD配合MACD公式源码】
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
K2:K-50,COLORWHITE;
D2:D-50,COLORYELLOW;
MD:=2*(K2-D2);
STICKLINE(MD>0 AND MD>=REF(MD,1),0,MD,4,0),COLOR0000FF;
STICKLINE(MD>0 AND MD<REF(MD,1),0,MD,4,0),COLORFFFF00;
STICKLINE(MD<0 AND MD>=REF(MD,1),0,MD,4,0),COLORFF00FF;
STICKLINE(MD<0 AND MD<REF(MD,1),0,MD,4,0),COLOR00FF00;
更多同花顺指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。