同花顺指标公式有哪些?同花顺长短KDJ指标公式的内容是什么?
2016-4-18 13:49:34 股票入门 http://rumen.southmoney.com
同花顺指标公式有哪些?同花顺长短KDJ指标公式的内容是什么?附:同花顺变色带MACD指标公式 南方财富网小编为您提供
【同花顺长短KDJ指标公式】
N:1,100,18;M1:1,100,5;M2:1,100,6; M3:1,100,46;M4:1,100,3;
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">RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
短线:=3*K-2*D;
//
PARTLINE(短线,短线>REF(短线,1),RGB(255,0,0),短线<REF(短线,1),colorcyan,1,RGB(0,255,0)),LINETHICK2;
K1:=SMA(RSV,M3,1);
D1:=SMA(K1,M4,1);
长线:=3*K1-2*D1;
STICKLINE(长线>REF(长线,1),50,50+10,8,1),colorred;
STICKLINE(长线<REF(长线,1),50,50-10,8,0),colorcyan;
附:【同花顺变色带MACD指标公式】
long:=26;short:=12;m:=9;
DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26),LAYER0;
DEA :=EMA(DIFF,9),LAYER0;
MACD : 2*(DIFF-DEA),COLORSTICK,LAYER0;
主升 := DIFF>0 AND DIFF>DEA,COLORffffff,POINTDOT,LINETHICK0;
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF>REF(DIFF,1),color0999ff,DIFF>DEA AND DIFF<REF(DIFF,1),colorff3303);
FILLRGN(DIFF,DEA,主升 AND DIFF>DEA AND DIFF>REF(DIFF,1),color0333ff,主升 AND DIFF>DEA AND DIFF<REF(DIFF,1),colorff3303);
//
FILLRGN(DIFF,DEA,DIFF<DEA AND DIFF>REF(DIFF,1),colorFFFFFF,DIFF<DEA AND DIFF<REF(DIFF,1),color111111);
PARTLINE(DIFF,DIFF>REF(DIFF,1),color333333,DIFF<REF(DIFF,1),color444444),LINETHICK1;
PARTLINE(DEA,DEA>REF(DEA,1),color333333,DEA<REF(DEA,1),color444444),LINETHICK1;
更多同花顺指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。