飞狐动能MACD指标公式 飞狐指标公式大全
2016-4-11 10:16:42 股票入门 http://rumen.southmoney.com
飞狐动能MACD指标公式 飞狐指标公式大全 南方财富网小编为您提供
OSC:=C-REF(MA(C,13),5);
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">分界:=MA(OSC,8);
DIFF:= EMA(OSC,12) - EMA(OSC,26);
DEA := EMA(DIFF,9);
MACD:= 2*(DIFF-DEA);
{===================== 【解模板】===================== }
{柱线}
STICKLINE(MACD<ref(MACD,1) and MACD<0,0,MACD*4,1,0),LINEDOT,ColorFFCF78,LINETHICK1;
STICKLINE(MACD<ref(MACD,1) and MACD>0,0,MACD*4,1,0),LINEDOT,COLORYELLOW,LINETHICK1;
STICKLINE(MACD>ref(MACD,1) and MACD<0,0,MACD*4,1,0),LINEDOT,COLORMAGENTA,LINETHICK1;
STICKLINE(MACD>ref(MACD,1) and MACD>0,0,MACD*4,1,0),LINEDOT,COLORRED,LINETHICK1;
{K柱}
STICKLINE(OSC<REF(OSC,1)||(AMOUNT/REF(AMOUNT,1)<0.97),OSC,REF(OSC,1),4,0),LINETHICK2,COLORWHITE;//离场
STICKLINE(CROSS(ref(MACD,1),MACD) and MACD<ref(MACD,1),OSC,REF(OSC,1),4,0),LINETHICK2,COLORYELLOW;//逃顶
STICKLINE(OSC>=REF(OSC,1),OSC,REF(OSC,1),4,0),LINETHICK2,COLORRED;//持股
STICKLINE(OSC<分界,OSC,REF(OSC,1),4,0),LINETHICK2,COLORBLUE;//空仓
动能线:FORCAST(OSC,6),Colorred,LINETHICK3;
加速线:(DEA-DIFF)*9.8,COLORGREEN,LINETHICK3;
0,colorwhite;
更多飞狐指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。