设为首页加入收藏

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

通达信股票公式 小邪分时源码主图

2014-9-17 11:32:30 股票入门 http://rumen.southmoney.com

  南方财富网小编为您带来今日通达信股票公式:小邪分时源码主图。

  {分时小邪}

  ZSR:=DYNAINFO( 3);{前收盘价 即时行情数据}

  GDK:=(SMA(C,2,1)-SMA(C,6,1))*2.1;

  STICKLINE(GDK》0,ZSR,ZSR+GDK,0,0) ,COLOR5151A2;

  STICKLINE(GDK《=0,ZSR,ZSR+GDK,0,0) ,COLOR74743A;

  STICKLINE(GDK》0 ,ZSR+GDK*0.05,ZSR+GDK*0.15,0,0) ,COLOR0077FF;

  STICKLINE(GDK》0 ,ZSR+GDK*0.2,ZSR+GDK*0.35,0,0) ,COLOR0088FF;

  STICKLINE(GDK》0 ,ZSR+GDK*0.4,ZSR+GDK*0.55,0,0) ,COLOR0099FF;

  STICKLINE(GDK》0 ,ZSR+GDK*0.6,ZSR+GDK*0.75,0,0) ,COLOR00CCFF;

  STICKLINE(GDK》0 ,ZSR+GDK*0.8,ZSR+GDK*0.95,0,0) ,COLOR00DDDD;

  STICKLINE(GDK》0 ,ZSR+GDK*0.86,ZSR+GDK*0.999,0,0) ,COLOR00FFFF;

  STICKLINE(GDK《=0 ,(ZSR+GDK*0.05),(ZSR+GDK*0.15),0,0) ,COLOR006600;

  STICKLINE(GDK《=0 ,(ZSR+GDK*0.2),(ZSR+GDK*0.35),0,0) ,COLOR009900;

  STICKLINE(GDK《=0 ,(ZSR+GDK*0.4),(ZSR+GDK*0.55),0,0) ,COLOR00CC00;

  STICKLINE(GDK《=0 ,(ZSR+GDK*0.6),(ZSR+GDK*0.75),0,0) ,COLOR00FF00;

  STICKLINE(GDK《=0 ,(ZSR+GDK*0.8),(ZSR+GDK*0.95),0,0) ,COLOR55FF00;

  STICKLINE(GDK《=0 ,(ZSR+GDK*0.86),(ZSR+GDK*0.999),0,0) ,COLOR99FF00;

  {DRAWTEXT_FIX(1,0.06,0,0,‘所属行业:’)COLOR0080FF;

  DRAWTEXT_FIX(1,0.12,0,0,HYBLOCK)COLOR0080FF;

  DRAWTEXT_FIX(1,0.18,0,0,‘所属地区:’)COLOR00FFFF;

  DRAWTEXT_FIX(1,0.24,0,0,DYBLOCK)COLOR00FFFF;}

  HH:DYNAINFO(5),COLORRED,LINETHICK1;{最高}

  LL:DYNAINFO(6),COLORGREEN,LINETHICK1;{最低}

  中轨:(HH+LL)/2,COLOR999999,LINETHICK1;{中}

  {四线}

  AAA:=DYNAINFO(5);

  BBB:=DYNAINFO(6);

  CCC:=AAA-BBB;

  上顶:BBB+CCC*7/8,COLOR008800,DOTLINE;

  阻力:BBB+CCC*2/3,COLOR777700,DOTLINE;

  支撑:BBB+CCC/3,COLOR777700,DOTLINE;

  下底:BBB+CCC*1/8,COLOR447777,DOTLINE;

  {DRAWNUMBER(BARSTATUS=1,HH*0.9995,HH),COLORRED;}

  {DRAWNUMBER(BARSTATUS=1,LL,LL),COLORGREEN;}

  DRAWNUMBER(BARSTATUS=1,HH*0.9991,HH),COLORRED;

  DRAWNUMBER(BARSTATUS=1,LL*1.0007,LL),COLORGREEN;

  DRAWTEXT(BARSTATUS=1,HH*0.9991,‘ 最高’),COLORRED;

  DRAWTEXT(BARSTATUS=1,LL*1.0007,‘ 最低’),COLORGREEN;

  DRAWNUMBER(BARSTATUS=1,中轨,中轨),COLORDDDDDD;

  DRAWNUMBER(BARSTATUS=1,上顶,上顶),COLOR00FFFF;

  DRAWNUMBER(BARSTATUS=1,阻力,阻力),COLORFFFF00;

  DRAWNUMBER(BARSTATUS=1,支撑,支撑),COLORFFFF00;

  DRAWNUMBER(BARSTATUS=1,下底,下底),COLOR00FFFF;

  DRAWTEXT(BARSTATUS=1,上顶,‘ 上顶’),COLOR00FFFF;

  DRAWTEXT(BARSTATUS=1,阻力,‘ 阻力’),COLORFFFF00;

  DRAWTEXT(BARSTATUS=1,支撑,‘ 支撑’),COLORFFFF00;

  DRAWTEXT(BARSTATUS=1,下底,‘ 下底’),COLOR00FFFF;

  DRAWTEXT(BARSTATUS=1,中轨,‘ 平衡’),COLORFFFFFF;

  JJ:SUM(C*V,0)/SUM(V,0),COLOR00FFFF;

  更多通达信股票公式,请关注南方财富网。

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