设为首页加入收藏

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

通达信魔鬼副图指标公式是什么?

2016-5-17 11:32:54 股票入门 http://rumen.southmoney.com

通达信魔鬼副图指标公式是什么?附:通达信定海神针副图+选股公式源码  南方财富网小编为您提供


【通达信魔鬼副图指标公式】

VAR1K:=EMA(C,12)-EMA(C,20);
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">VAR2K:=EMA(VAR1K,9);
AA:=(OPEN<=MA(CLOSE,5) AND OPEN<=MA(CLOSE,10) AND OPEN<=MA(CLOSE,30) AND CLOSE>=MA(CLOSE,5) AND CLOSE>=((SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28))*100)/100 AND (VAR2K-REF(VAR2K,1))>0 AND (VAR1K-REF(VAR1K,1))>0);
IF(AA,70,1);
BB:=(VAR1K>VAR2K AND REF(VAR1K,1)<=REF(VAR2K,1) AND VAR1K<0 AND VAR2K<-0.2 AND (-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100)>45 AND (VAR2K-REF(VAR2K,1))>0);
IF(BB,60,1);
CC:=MA(WINNER(C),1)*100;
底1:=CROSS(CC,2.5)*55;
IF(底1,50,1);
RSV:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K:=SMA(SMA(RSV,3,1),3,1);
D:=SMA(K,3,1);
J:=(3*K-2*D);
底2:=IF(K<20 AND D<20 AND CROSS(J,K) AND CROSS(K,D),60,0);
IF(底2,40,1);
趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
底部:=10;
警戒1:IF(趋势<=10,15,0),COLORBLUE,LINETHICK0;
底3:=IF(CROSS(趋势,底部),40,0);
IF(底3,30,1);
VAR1:=(CLOSE-LLV(LOW,60.13547854))/(HHV(HIGH,60.13547854)-LLV(LOW,60))*80;
VAR2:=SMA(VAR1,7,1);
VAR3:=SMA(VAR2,5,1);
底4:IF(CROSS(VAR2,VAR3) AND VAR2<20,50,0), LINETHICK1,COLORRED;
VAR8:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR9:=SMA(VAR8,5,1);
VARA:=SMA(VAR9,5,1);
底5:IF(CROSS(VAR9,VARA) AND VAR9<20,60,0),COLORYELLOW, STICK,LINETHICK1;
VAR11:=1/WINNER(CLOSE);
VAR21:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR31:=100-ABS(VAR21);
VVV:= IF(VAR11>5,IF(VAR11<100,VAR11,VAR31-10),0);
VARB:=HHV(HIGH,25);
VARC:=LLV(LOW,25);
EE:=EMA((CLOSE-VARC)/(VARB-VARC)*100,5);
警戒2:IF(EE<7,30,0),COLORWHITE,LINETHICK0;
底6:=IF(CROSS(CC,VVV),70,0);
IF(底6,20,1);
底7:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)<-0.2245;
IF(底7,10,1);

附:【通达信定海神针副图+选股公式源码】

{副图}
n:=100;
A1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;A2:=EMA(A1,9);
XG:=CROSS(A1,A2) AND A2<=-N;
DRAWTEXT(XG,0.4,' 定'),COLORLIGRAY;DRAWTEXT(XG,0.3,' 海'),,COLORLIGRAY;
DRAWTEXT(XG,0.2,' 神'),COLORLIGRAY;DRAWTEXT(XG,0.1,' 针'),,COLORLIGRAY;
STICKLINE(XG,0,0.5,1.5,0),COLORYELLOW;
STICKLINE(XG,0.4,0.5,1.5,0),COLORRED;
STICKLINE(XG,0,0.1,1.5,0),COLORRED

更多通达信指标公式相关资讯请关注南方财富网

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