最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 通达信公式 > 通达信股票公式之自用分时

通达信股票公式之自用分时

来源:网络 点击: 时间:2022-12-20 15:18:08

  通达信股票公式之自用分时

  MA30:=EMA(CLOSE,30);

  {强弱:EMA(CLOSE,900);

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

  STICKLINE((MA30《强弱),MA30,强弱,1,0),COLOR00FF00;}

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

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

  P1:=H1-L1;

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

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

  现价:CLOSE,COLORWHITE,LINETHICK1;

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

  DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,‘买’),COLORYELLOW;{吸}

  DRAWTEXT(LONGCROSS(现价,阻力,2),现价,‘★卖’),COLORRED;{抛};

  日时转换:=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,COLORYELLOW;

  强弱线:EMA(VAR1,日时转换),POINTDOT,COLORWHITE;

  趋势关注: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,1,0),COLORFF00FF;

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

  DRAWICON(趋势关注=1,EMA(VAR1,60),13);

  DRAWTEXT(量价关注=1,EMA(VAR1,60),‘★’),COLORWHITE;

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top