通达信指标公式有哪些?通达信乖离预测指标公式的内容是什么?
2016-4-18 9:24:50 股票入门 http://rumen.southmoney.com
通达信指标公式有哪些?通达信乖离预测指标公式的内容是什么?附:通达信仙人指路D指标公式 南方财富网小编为您提供
【通达信乖离预测指标公式】
RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
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">K1:=SMA(RSV,10,1);
D1:=SMA(K1,5,1);
KK:=INTPART(K1);
DD:=INTPART(D1);
TFXXS:=KK+DD,LINETHICK0,COLORYELLOW;{//变异KD风险系数}
TGLXS:=(TFXXS-REF(TFXXS,1))*10,LINETHICK1,COLORGREEN;{//变异KD乖离系数}
TYCFX:=TFXXS+TGLXS,LINETHICK0,COLORGREEN;{//变异KD预测风险}
{//——————【数值显示】}
风险系数:TFXXS,LINETHICK0,COLORYELLOW;
乖离系数:TGLXS,LINETHICK0,COLORGREEN;
预测风险:TYCFX,LINETHICK0,COLORCYAN;
STICKLINE(TGLXS>0,100,100+TGLXS,3,0),COLOR0000CC;
STICKLINE(TGLXS>0,100,100+TGLXS,3,0),COLOR0000DD;
STICKLINE(TGLXS>0,100,100+TGLXS,2,0),COLOR0000EE;
STICKLINE(TGLXS<0,100,100+TGLXS,3,0),COLOR00DD00;
STICKLINE(TGLXS<0,100,100+TGLXS,2,0),COLOR00EE00;
STICKLINE(TGLXS<0,100,100+TGLXS,1,0),COLOR00FF00;{//绿柱}
STICKLINE(TGLXS=0 AND REF(TGLXS,1)>=0,100,100+TGLXS,8,0),COLORRED;
STICKLINE(TGLXS=0 AND REF(TGLXS,1)<0,100,100+TGLXS,8,0),COLORGREEN;
{风险系数}
IF(TFXXS<160 AND TFXXS>50,TFXXS,DRAWNULL),LINETHICK2,COLORFF66FF;
IF(TFXXS>50 AND TFXXS<160 AND TFXXS<REF(TFXXS,1),TFXXS,DRAWNULL),LINETHICK2,COLORWHITE;
IF(TFXXS<=50,TFXXS,DRAWNULL),LINETHICK2,COLORYELLOW;
IF(TFXXS>=160,TFXXS,DRAWNULL),LINETHICK2,COLORBLUE;
{预测风险}
IF(C>0,TYCFX,DRAWNULL),COLORCYAN;
附:【通达信仙人指路D指标公式】
弱市:=1.04;
VAR5:=(CLOSE-LLV(LOW, 100))/(HHV(HIGH, 100)-LLV(LOW, 100))*200;
VAR6:=SMA(VAR5, 3, 1);
VAR7:=SMA(VAR6, 3, 1);
VAR8:=3*VAR6-2*VAR7;
VAR11:=EMA((CLOSE-LLV(LOW, 5))/(HHV(HIGH, 5)-LLV(LOW, 5))*100, 4)*2;
VAR12:=EMA(0.667*REF(VAR11, 1)+0.333*VAR11, 2);
VAR13:=3*VAR11-2*VAR12;
VAR14:=POW(MA(CLOSE, 5), 2)+MA(CLOSE, 5);
VAR15:=POW(MA(LOW, 5), 2)+MA(LOW, 5);
VAR16:=POW(MA(HIGH, 5), 2)+MA(HIGH, 5);
VAR17:=(VAR14-LLV(VAR15, 64))/(HHV(VAR16, 64)-LLV(VAR15, 64))*150+65-10;
VAR18:=SMA(VAR17, 3, 1)*1.5-100;
VAR19:=SMA(VAR18, 3, 1);
VAR20:=3*VAR18-2*VAR19;
VAR21:=(HIGH+LOW+CLOSE*2)/4;
VAR22:=EMA(VAR21, 13);
VAR23:=STD(VAR21, 13);
VAR24:=(VAR21-VAR22)*100/VAR23;
VAR25:=EMA(VAR24, 5);
VAR26:=EMA(VAR25, 13);
VAR27:=EMA(VAR25, 13)+200-100;
VAR28:=EMA(VAR27, 10);
VAR29:=3*VAR27-2*VAR28;
VAR30:=VAR6+VAR11+VAR18+VAR27;
VAR31:=VAR7+VAR12+VAR19+VAR28;
VAR32:=VAR8+VAR13+VAR20+VAR29;
VAR33:=(HIGH+LOW+CLOSE)/3;
VAR34:=AMOUNT/VOL/100;
VAR35:=SUM(AMOUNT, 5)/SUM(VOL, 5)/100;
VAR36:=(VAR33-MA(VAR33, 34))/(0.015*AVEDEV(VAR33, 34));
VAR37:=MA(VAR35/VAR36,3); { }
VAR38:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; { }
VAR39:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; { }
VAR3A:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; { }
VAR41:=(VAR33-EMA(VAR33, 24))/STD(VAR33, 24)*100;
VAR42:=(VAR33-MA(VAR33, 24))/(0.015*AVEDEV(VAR33, 24));
VAR43:=EMA(VAR41, 5);
VAR44:=(VAR34-MA(VAR34, 21))/(0.015*AVEDEV(VAR34, 21));
VAR45:=(VAR35-MA(VAR35, 90))/(0.015*AVEDEV(VAR35, 90));
VAR46:=((VAR45+VAR44+VAR43+VAR42+VAR36)/5+165)/4;
VAR47:=(EMA(EMA(EMA(VAR46, 15), 10), 5)-25)*2+DMA(AMOUNT/VOL/100, VOL/CAPITAL);
VAR48:=(VAR30+VAR31+VAR32*30)/32/5-15;
VAR49:=EMA(VAR48, 13);
VAR50:=(VAR46+VAR48)/2/1.100;
DX:VAR50,LINETHICK2, COLORRED;
VAR51:=(VAR47+VAR49)/2;
VAR52:=EMA(VAR51, 1);
ZX:EMA(VAR52, 2),LINETHICK2, COLORFF7710;
STICKLINE(ZX-REF(ZX, 2)>0, ZX, 0, 10, 0),LINETHICK1, COLOREEEEEE;
STICKLINE(ZX-REF(ZX, 2)<0, ZX, 0, 10, 0), COLOR9CA010;
VAR53:=CLOSE*50/100;
VAR54:=MA(VAR53, 30)*0.830;
VAR55:=MA(VAR53/VAR54, 3);
IF(VAR55<弱市, (-5), (-25)),LINETHICK2, COLORYELLOW;
DRAWICON(CROSS(DX, ZX) AND COUNT(VAR55<弱市, 3)>=1 OR CROSS(DX, 0) AND COUNT(VAR55<弱市, 3)>=1, 25, 1), COLORYELLOW;
IF(CROSS(ZX, DX) AND ZX>60, 115, (-35)), CIRCLEDOT, COLORYELLOW;
0;100, POINTDOT;80, POINTDOT, COLORGREEN;
更多通达信指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。