设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

通达信看主力趋势+KDJ+黑马出现公式源码 通达信指标公式大全

2015-9-22 16:55:13 股票入门 http://rumen.southmoney.com

通达信主力趋势+KDJ+黑马出现公式源码 通达信指标公式大全 南方财富网小编为您带来通达信指标公式  

WRAP: break-word; WHITE-SPACE: normal; COLOR: rgb(51,51,51); WORD-SPACING: 0px; PADDING-TOP: 0px; -webkit-text-stroke-width: 0px">{看主力趋势+KDJ+黑马出现}
三日最低:=EMA((REF(L,4)+REF(L,3)+REF(L,2))/3,3);
三日最高:=EMA((REF(H,4)+REF(H,3)+REF(H,2))/3,3),COLORWHITE;
S:=CROSS(CROSS(三日最高,C),0.6);
B0:=CROSS(CROSS(C,三日最低),0.5);
DRAWICON(B0,LOW*0.99,1);
DRAWICON(S,H*1.00,2);
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLOR0078F0,NODRAW;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1,0 ),COLOR0078F0;
洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLOR00FFFF,NODRAW;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1,0),COLOR00FFFF;
VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);
VAR13:=EMA(VAR12,10);
VAR14:=HHV(H,33);
VAR15:=EMA(IF(H>=VAR14,VAR13,0),3);
出场:IF(VAR15<REF(VAR15,1),VAR15,0),COLORFFFF00,NODRAW;
STICKLINE(VAR15<REF(VAR15,1),0,VAR15,1,0 ),COLORFFFF00;
冲顶:IF(VAR15>REF(VAR15,1),VAR15,0),COLOR8000FF,NODRAW;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,1,0),COLOR8000FF;
A1:=REF(CLOSE,2);
A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;
波段介入点:IF(A2<19,19,0)COLORWHITE,STICK,LINETHICK2;
{KDJ}
RSV:=(CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100;
中期线K:SMA(RSV,3,1),COLORBLUE,LINETHICK1;
中期线D:SMA(中期线K,3,1),COLORBLACK,LINETHICK1;
短期线J:3*中期线K-2*中期线D,COLOR00FFFF,LINETHICK2;
DRAWBAND(中期线K,RGB(758,8,18),中期线D,RGB(0,200,200));
IF(中期线K<REF(中期线K,1),中期线K,DRAWNULL),COLOR919100,LINETHICK1;
IF(中期线D<REF(中期线D,1),中期线D,DRAWNULL),COLOR919100,LINETHICK1;
IF(短期线J<REF(短期线J,1),短期线J,DRAWNULL),COLORFFFF00,LINETHICK2;
IF(中期线K>REF(中期线K,1),中期线K,DRAWNULL),COLOR4444FF,LINETHICK1;
IF(中期线D>REF(中期线D,1),中期线D,DRAWNULL),COLOR4444FF,LINETHICK1;
IF(短期线J>REF(短期线J,1),短期线J,DRAWNULL),COLOR1E1EFF,LINETHICK2;
VAR11:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR012:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR013:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR04:=(VAR11+2*VAR012+3*VAR013)/7;
VAR05:=MA(VAR04,1);
预警:STICKLINE(VAR05<=-8,68,50,1,0),COLORFF00FF;
底部准备: IF(VAR05<-8,75,50),LINETHICK1,COLOR000065;
底部预警: IF(VAR05<-8,82,50),LINETHICK1,COLORAE00AE,DOTLINE;
D0:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
N:=5;M1:=5;
RSV0:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
VARB02:=(RSV0/2+22)*1;
量:=EMA(VOL,13);
资金:=EMA(AMOUNT,13);
过滤:=((资金 /量) / 100);
提纯:=(((CLOSE -过滤) / 过滤) * 100);
黄金:=((提纯 < (0)) AND ZXNH);
低买:=IF(黄金 AND RSV0<VARB02-2,50,0);
高卖:=IF(黄金 AND RSV0>VARB02,80,120);
上涨分界:=25;
金叉:(CROSS(上涨分界,低买)),STICK,COLORRED;
DRAWTEXT(金叉,2.4,'\金叉'),COLORFFFFFF;
DRAWICON(金叉>0,金叉,1);
{黑马出现}
获利回吐:(A2>=0)*A2,COLORWHITE,LINETHICK0;
大黑马:(A2<0)*A2,COLORD4FF7F,LINETHICK0;
坚绝做空:(A1<0)*A1,COLORB00058,LINETHICK0;
买入持股:(A1>=0)*A1,COLORRED,LINETHICK0;
VARF:=TROUGHBARS(3,15,1)<4;
VAR8:=VOL>2*MA(VOL,30);
VAR9:="DMI.ADX"(12,6);VARA:="DMI.ADXR"(12,6);
VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
{}VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
0,COLORRED;STICKLINE(FILTER(VARF=1,5) AND 多空<-10,50,0,15,0),COLORF00FF0;
STICKLINE(FILTER(VARF=1,5),190,0,4,0),COLORYELLOW;DRAWTEXT(FILTER(VARF=1,6),50,'黑马出现'),COLORRED ;

更多通达信指标公式请关注南方股票网(http://rumen.southmoney.com

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。