设为首页加入收藏

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

通达信趋势先机副图指标公式是什么?

2016-5-23 9:47:40 股票入门 http://rumen.southmoney.com

通达信趋势先机副图指标公式是什么?附:通达信MACD变异乖离抄底公式源码  南方财富网小编为您提供


【通达信趋势先机副图指标公式】

M1:=WINNER( MA(CLOSE,1))*200;
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">M2:=WINNER(MA(CLOSE,20))*200;
VAR1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=LLV(LOW,5);
VAR6:=HHV(HIGH,5);
VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;
VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);
VAR9:=3*VAR7-2*VAR8;
VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
VARE:=SMA(VARD,3,1)*1.5-100;
VARF:=SMA(VARE,3,1);
VAR10:=3*VARE-2*VARF;
VAR11:=(HIGH+LOW+CLOSE*2)/4;
VAR12:=EMA(VAR11,13);
VAR13:=STD(VAR11,13);
VAR14:=(VAR11-VAR12)*100/VAR13;
VAR15:=EMA(VAR14,5);
VAR17:=EMA(VAR15,13)+200-100;
VAR18:=EMA(VAR17,10);
VAR19:=3*VAR17-2*VAR18;
VAR1A:=VAR2+VAR7+VARE+VAR17;
VAR1B:=VAR3+VAR8+VARF+VAR18;
VAR1C:=VAR4+VAR9+VAR10+VAR19;
VAR1D:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
VAR21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;
VAR23:=EMA(VAR22,24);
VAR24:=STD(VAR22,24);
VAR25:=(VAR22-VAR23)/VAR24*100;
VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
VAR27:=EMA(VAR25,5);
VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;
VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2+VAR21;
VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
VAR2D:=EMA(VAR2C,13);{13}
VAR2E:=(VAR2A+VAR2C)/2/1.1;  
VAR28:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR29:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR30:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR31:=REF(CLOSE,1);
VAR32:=SMA(MAX(CLOSE-VAR31,0),5,1)/SMA(ABS(CLOSE-VAR31),5,1)*100;
VAR33:=(HIGH+LOW+CLOSE)/3;
VAR34:=(VAR33-MA(VAR33,14))/(0.015*AVEDEV(VAR33,14));
VAR35:=(VAR28>=-15.8 AND VAR28<=-12.2 AND VAR29<=-20.8 AND VAR30<=-27.5 AND VAR32<=11.7 AND VAR34<=-145)*100;
基础线:IF(VAR35>0 ,100 ,0 ),COLORF00FF0;
多空比例:IF((M1-M2)>-0.02,M1-M2,-0.02),COLORF0F000;
超短:EMA(VAR2E,3),COLORRED ;
短线:EMA(超短,5),COLORWHITE;
趋势线:EMA((VAR2B+VAR2D)/2,2) ,COLORYELLOW;

附:【通达信MACD变异乖离抄底公式源码】

SRLJJ:=(REF(C,2)*REF(V,2)+REF(C,1)*REF(V,1)+C*V)/(V+REF(V,1)+REF(V,2));
SSRGLL:=(SRLJJ-MA(SRLJJ,13))*100;
QS1:=EMA(EMA(EMA(C,3)-REF(EMA(C,3),2),4),4);
QS2:=EMA(EMA(EMA(C,7)-REF(EMA(C,7),2),5),5);
MA5:=EMA(SSRGLL,5);
MMA5:=EMA(MA5,5);
MACA:=(MA5-MMA5)*2;
D1:=MACA;
ZD1:=REF(MACA,1);
JX:=(HHV(H,10)-LLV(L,3))/HHV(H,10)*100>=8.09 AND (H-LLV(L,3))/LLV(L,3)*100<8.09 AND HHV(H,10)>HHV(H,5)*1.02;
MACA下:=QS1>REF(QS1,1) AND JX;
STICKLINE(D1>ZD1 AND D1>0,0,D1,3.2,0),COLOR000055;
STICKLINE(D1>ZD1 AND D1>0,0,D1,2.7,0),COLOR000077;
STICKLINE(D1>ZD1 AND D1>0,0,D1,2.1,0),COLOR000099;
STICKLINE(D1>ZD1 AND D1>0,0,D1,1.5,0),COLOR0000BB;
STICKLINE(D1>ZD1 AND D1>0,0,D1,0.9,0),COLOR0000DD;
STICKLINE(D1>ZD1 AND D1>0,0,D1,0.3,0),COLOR0000FF;
STICKLINE(D1>ZD1 AND D1<0,0,D1,3.2,0),COLOR555555;
STICKLINE(D1>ZD1 AND D1<0,0,D1,2.7,0),COLOR777777;
STICKLINE(D1>ZD1 AND D1<0,0,D1,2.1,0),COLOR999999;
STICKLINE(D1>ZD1 AND D1<0,0,D1,1.5,0),COLORBBBBBB;
STICKLINE(D1>ZD1 AND D1<0,0,D1,0.9,0),COLORDDDDDD;
STICKLINE(D1>ZD1 AND D1<0,0,D1,0.3,0),COLORFFFFFF;
STICKLINE(D1<ZD1,0,D1,3.2,0),COLORB20000;
STICKLINE(D1<ZD1,0,D1,2.7,0),COLOREC0000;
STICKLINE(D1<ZD1,0,D1,2.1,0),COLORFF4600;
STICKLINE(D1<ZD1,0,D1,1.5,0),COLORFF6300;
STICKLINE(D1<ZD1,0,D1,0.9,0),COLORFF8B00;
STICKLINE(D1<ZD1,0,D1,0.3,0),COLORFFAB00;
STICKLINE(D1>=0 OR D1<=0,0,0,50,1),COLORWHITE;
STICKLINE(FILTER(QS1>REF(QS1,1) AND JX,3),0,D1,2.5,0),COLORYELLOW;
DRAWICON(FILTER(QS1>REF(QS1,1) AND JX,3),MA5,1);
DIFF:MA5;
DEEA:MMA5;
MACD:MACA,NODRAW;

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

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