设为首页加入收藏

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

通达信指标公式 通达信火凤凰分时图指标公式

2015-2-11 11:18:08 股票入门 http://rumen.southmoney.com

  南方财富网带来通达信指标公式 通达信火凤凰分时图指标公式:

  DRAWGBK(C》0, RGB(40,120,20),RGB(00,00,00),0,0,1);

  年:=YEAR,NODRAW;

  月:=MONTH,NODRAW;

  星期:=WEEKDAY,NODRAW;

  日1:=DATETODAY(DATE);

  上市日:=REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT);

  自然日:=日1-DATETODAY(上市日)+1;

  ZB:=(自然日-REF(自然日,1))!=星期-REF(星期,1)

  OR TOTALBARSCOUNT-CURRBARSCOUNT=0;

  本周第几天:=BARSLAST(ZB)+1;

  本月第几天:=BARSLAST(年*100+月!=REF(年*100+月,1))+1;

  MA1:=REF(C,本周第几天);

  MA2:=REF(MA1,本周第几天);

  MA3:=REF(MA2,本周第几天);

  MA4:=REF(MA3,本周第几天);

  MA5:=REF(MA4,本周第几天);

  MA6:=REF(MA5,本周第几天);

  MA7:=REF(MA6,本周第几天);

  MA8:=REF(MA7,本周第几天);

  MA9:=REF(MA8,本周第几天);

  十周价:=(C+MA1+MA2+MA3+MA4+MA5+MA6+MA7+MA8+MA9)/10;

  出击突破:REFDATE(十周价,DATE),COLORFF0080,DOTLINE;

  DRAWTEXT(ISLASTBAR,出击突破,‘ 出击突破’),COLORFF0080;

  DRAWICON(CROSS(C,出击突破),C,1);

  均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;

  地:EMA(均价,50)/0.97,LINETHICK2,COLORGREEN;

  IF(地》REF(地,1),地,DRAWNULL),COLORRED,LINETHICK2;

  平衡线:(均价+地)/2,DOTLINE,COLORGRAY;

  买单次数:=COUNT(V》4000 AND C》REF(C,1),0);

  黄次数:COUNT(V》DYNAINFO(16)*10 AND C》REF(C,1),0),COLORYELLOW,NODRAW;

  DRAWICON(买单次数》REF(买单次数,1) AND 黄次数》REF(黄次数,1) AND CROSS(C,地),C,7);

  SUM(V*C,0)/SUM(V,0),COLORYELLOW,LINETHICK2;

  C,COLORWHITE,LINETHICK2;

  MA30:=EMA(CLOSE,30);

  H1:=MAX(DYNAINFO(3),DYNAINFO(5));

  L1:=MIN(DYNAINFO(3),DYNAINFO(6));

  P1:=H1-L1;

  阻力:L1+P1*7/8,COLORFF75BA,DOTLINE;

  DRAWTEXT(CURRBARSCOUNT=1,阻力,‘阻力’),COLORB9B9FF;

  支撑:L1+P1*0.5/8,COLOR0000FF,DOTLINE;

  DRAWTEXT(CURRBARSCOUNT=1,支撑,‘支撑’),COLOR00FFFF;

  现价:=CLOSE,COLORWHITE,LINETHICK1;

  日时转换:=IF(PERIOD=5,120,240);

  QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2;

  VAR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2;

  VAR2:=(EMA(VOL,10)+EMA(VOL,32))/2;

  VAR3:=(VAR1+VAR2)/2;

  VAR4:=EMA(VAR3,30);

  VAR5:=EMA(VAR3,60);

  VAR6:=EVERY(VAR1》REF(VAR1,1),5) AND EVERY(VAR4》REF(VAR4,1),5);

  DRAWBAND(VAR1,RGB(150,30,30),EMA(VAR1,60),RGB(0,110,30));

  牵引线:VAR1,COLORC0C0C0;

  强弱线:EMA(VAR1,日时转换)NODRAW,COLOR5353FF;

  趋势关注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED;

  量价关注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE;

  冲击量:IF(VAR3》VAR5 AND VAR6,1,0),NODRAW,COLORYELLOW;

  强势区:IF(VAR1》强弱线,1,DRAWNULL),NODRAW,COLORRED;

  止损区:IF(VAR1《强弱线,1,DRAWNULL),NODRAW,COLORGREEN;

  STICKLINE(QZS》VAR1,QZS,VAR1,0,0),COLORMAGENTA;

  STICKLINE(冲击量=1,QZS,VAR1,0,0),COLOR9797FF;

  STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLOR0080FF;

  DRAWKLINE(H,O,L,C);

  DRAWICON(LONGCROSS(支撑,现价,2),L,1),COLOR0080FF;{吸}

  DRAWICON(LONGCROSS(现价,阻力,2),H,2),COLORBBBB00;{抛};

  {短突破}

  MAA:=MA(C,3);

  MAB:=MA(C,8);

  生命线:=SUM(VOL*(O+C)/2,88)/SUM(VOL,88),COLORFF80FF;

  持股线:HHV(MA(C,18),2),COLOR8888FF;

  分离线:IF(MA(C,18)《持股线,(MA(C,18)-(持股线-MA(C,18))),持股线),COLOR6F6F00;

  MA18:MA(C,18),LINETHICK9,COLOR00FFFF;

  DRAWBAND(分离线,RGB(255,255,0),持股线,RGB(28,134,238));

  持股线1:HHV(MA(C,18),2),POINTDOT,COLOR00FFFF,LINETHICK9;

  TT:=BARSCOUNT(C);

  ZZ:=SUM(AMOUNT,TT)/SUM(VOL*100,TT);

  ZZ1:=BETWEEN(C/ZZ,1.05,0.95);

  均线:=IF(ZZ1=0,MA(C,TT),ZZ);

  上均:=均线 + AVEDEV(C,TT)*2;

  下均:=均线 - AVEDEV(C,TT)*2;

  (上均,下均,下均, RGB(32,32,40));

  资金流入:=SUM(IF(C》REF(C,1),V,0),FROMOPEN),STICK,COLORRED;

  资金流出:=-SUM(IF(C《REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;

  资金出入:=资金流入+资金流出,COLORSTICK;

  资金流量:=资金出入,COLORFFFFFF,LINETHICK1;

  资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;

  资金流量比:=IF(资金比》=0,(资金比+100)/2,100-ABS((资金比-100)/2));

  增强流量比:=IF(资金流量比》50,资金流量比,50);

  攻击量:=((HSL*0.50+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;

  攻击量A:=SUM(IF(C》REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0;

  攻击量B:=-SUM(IF(C《REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0;

  攻击流量:=攻击量A+攻击量B,COLORSTICK;

  NOTEXT攻击线:=攻击流量,COLORYELLOW,LINETHICK1;

  攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;

  资金攻击度:=IF(攻击比》0,(攻击比+50),100-ABS((攻击比-50)));

  攻击度限制:=IF(资金攻击度》100,100,IF(资金攻击度《0,0,资金攻击度));

  增强攻击度:=IF(资金攻击度》50,资金攻击度,50);

  开始攻击:=CROSS(攻击流量,0) AND (C》REF(C,2) OR (资金流量》0 AND 资金流量》攻击流量));

  开始攻击量:=CROSS(攻击流量,0) AND C》REF(C,2) AND V》LLV(V,3)*3;

  分时均价线:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK2;

  拉升量:=IF(C》REF(C,1),VOL,0);

  昨拉升最高值:=CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA;

  今拉升最高值:=CONST(REF(HHV(拉升量,FROMOPEN),0)),COLORYELLOW,NODRAW;

  攻击力度:=今拉升最高值/昨拉升最高值,NODRAW;

  TA:=BARSLAST(TIME=100000);

  TC:=REF(HHV(C,0),TA+1);

  TV:=REF(HHV(V,0),TA+1);

  ZF:=C/DYNAINFO(3)《1.05;

  XG1:=CROSS(C,TC) AND V》TV AND ZF,COLORWHITE;

  TA1:=BARSLAST(TIME=110000);

  CC1:=REF(HHV(C,0),TA1+1);

  VV1:=REF(HHV(V,0),TA1+1);

  ZF1:=CC1/DYNAINFO(3)《1.05;

  XG2:=CROSS(C,CC1) AND V》VV1 AND ZF1,COLORYELLOW;

  突破:=XG1 OR XG2,COLORRED;

  MA01:=EMA(C,30);

  MA02:=EMA(C,900);

  STICKLINE((MA01》MA02),MA01,MA02,0,0),COLOR1000FF;

  STICKLINE((MA01《MA02),MA01,MA02,0,0),COLOR00FF00;

  GJ:C,COLORWHITE;

  JJ:SUM(C*V,FROMOPEN)/SUM(V,FROMOPEN),COLORYELLOW,LINETHICK1.5;

  均量:=MA(V,5);

  量连增:=均量》REF(均量,1) AND REF(均量,1)》REF(均量,2);

  价连涨:=C》=REF(C,1) AND REF(C,1)》REF(C,2);

  价量线上:=C》JJ AND V》均量;

  倍量:=V》=REF(V,1)*2 ;

  价新高:=C》=HHV(C,FROMOPEN);

  量新高:=V》=HHV(V,FROMOPEN);

  限幅:=C/DYNAINFO(3)《=1.02;

  起爆:=FILTER(量连增 AND 价连涨 AND 价量线上 AND 倍量 AND 价新高 AND 量新高 AND 限幅,20);

  DRAWTEXT(起爆,C,‘起爆’),COLOR00FFFF;

  DRAWICON(起爆,C,1);

  STICKLINE(起爆,C,JJ,1,0),COLOR1000FF;

  VV:=BARSSINCE(起爆);

  起爆价:=REF(C,VV);

  起爆时间:=REF(TIME/10000,VV);

  收益:=(DYNAINFO(7)-起爆价)/起爆价*100;

  DRAWICON(VV》=2,起爆价,13);

  DRAWTEXT_FIX(1,0,1,0,‘起爆时间:’),COLOR00FFFF;

  DRAWNUMBER_FIX(1,0.09,1,0,CONST(起爆时间)),COLOR00FFFF;

  DRAWTEXT_FIX(1,0.16,1,0,‘起爆价:’),COLOR00FFFF;

  DRAWNUMBER_FIX(1,0.22,1,0,CONST(起爆价)),COLOR00FFFF;

  DRAWTEXT_FIX(1,0.28,1,0,‘收益:’),COLOR00FFFF;

  DRAWNUMBER_FIX(1,0.34.06,1,0,CONST(收益)),COLOR00FFFF;

  DRAWTEXT_FIX(ISLASTBAR,0.79,1,0,‘大理凤凰’),COLORFFFF00;

  流通盘:CAPITAL*100/100000000,NODRAW;

  资金流入1:=SUM(IF(C》REF(C,1),V,0),FROMOPEN),NODRAW;

  资金流出1:=-SUM(IF(C《REF(C,1),V,0),FROMOPEN),NODRAW;

  资金出入1:=资金流入1+资金流出1,NODRAW;

  NN:=2400,NODRAW;

  HD:=HHV(资金出入,NN),NODRAW;

  LD:=LLV(资金出入,NN),NODRAW;

  最高:=CONST(HD),NODRAW;

  最低:=CONST(LD),NODRAW;

  HLMAX:=最高;

  HLMIN:=最低;

  HLMN1:=(HLMAX+HLMIN)/2;

  HLMN2:=HLMAX-HLMIN;

  HLMN3:=(100-0)/2*1.3;

  HLMN4:=(100-0)/1*1.3;

  中间价轴:=(50-HLMN3)*HLMN2/HLMN4+HLMN1;

  轴差:=最高-最低;

  DRAWBAND(资金出入,RGB(150,0,150),0,RGB(0,100,0)),NODRAW;

  资金流量1:资金出入,NODRAW;

  资金比1:资金出入1/SUM(V,FROMOPEN)*100,NODRAW;

  资金流量比1:=IF(资金比1》=0,(资金比1+100)/2,100-ABS((资金比1-100)/2)),NODRAW;

  攻击量1:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN,NODRAW;

  攻击量A1:=SUM(IF(C》REF(C,1),攻击量1*V,0),FROMOPEN),NODRAW;

  攻击量B1:=-SUM(IF(C《REF(C,1),攻击量1*V,0),FROMOPEN),NODRAW;

  攻击流量1:攻击量A1+攻击量B1,NODRAW;

  NOTEXT攻击线1:攻击流量1,NODRAW;

  攻击比1:攻击流量1/SUM(V,FROMOPEN)*100,COLORRED,NODRAW;

  资金攻击度1:=IF(攻击比1》=0,(攻击比1+50),100-ABS((攻击比1-50)));

  DRAWRECTREL(110,10,400,90,RGB(0,75,200));

  DRAWRECTREL(110,10,250,90,RGB(0,250,50));

  DRAWRECTREL(110,10,100+CONST(资金流量比*300/100),90,RGB(200,50,0));

  DRAWTEXT_FIX(1,0.000,0.00,0,STRCAT(STRCAT(‘【资金流量比】’,CON2STR(资金流量比,2)),‘%买’)),COLORYELLOW;

  DRAWRECTREL(610,10,900,90,RGB(0,75,200));

  DRAWRECTREL(610,10,750,90,RGB(0,250,50));

  DRAWRECTREL(610,10,600+CONST(资金攻击度*300/100),90,RGB(175,50,0));

  DRAWTEXT_FIX(1,0.500,0.00,0,STRCAT(STRCAT(‘【资金攻击度】’,CON2STR(资金攻击度,2)),‘ %买’)),COLORYELLOW;

  MA130:=EMA(CLOSE,30);

  强弱:EMA(CLOSE,900);

  STICKLINE((MA130》强弱),MA130,强弱,1,0),COLOR0000FF;

  STICKLINE((MA130《强弱),MA130,强弱,1,0),COLOR00FF00;

  H11:=MAX(DYNAINFO(3),DYNAINFO(5));

  L11:=MIN(DYNAINFO(3),DYNAINFO(6));

  P11:=H11-L11;

  阻力1:L11+P11*7/8,COLOR00DD00;

  支撑1:L11+P11*0.5/8,COLOR00DD00;

  现价1:CLOSE,COLORWHITE,LINETHICK1;

  STICKLINE(CROSS(支撑1,现价),支撑1,阻力1,1,0),COLORYELLOW;

  DRAWTEXT(LONGCROSS(支撑1,现价,2),支撑1*1.001,‘★B吸’),COLORWHITE;

  DRAWTEXT(LONGCROSS(现价1,阻力1,2),现价,‘★S抛’),COLORGREEN;

  DRAWTEXT_FIX(1,0.0,0.088,0,EXTERNSTR(0,1))COLOR00FFFF;

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