设为首页加入收藏

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

通达信公式源码 通达信强势KDJ彩带公式源码

2015-2-11 11:33:44 股票入门 http://rumen.southmoney.com

  南方财富网带来通达信公式源码 通达信强势KDJ彩带公式源码:

  QWX1:=HHV(CLOSE,30);

  QWX2:=LLV(CLOSE,30);

  QWX3:=CONST((QWX1+QWX2)/2);

  TYP:=(HIGH+LOW+CLOSE)/3;

  CCI20:((TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)))*60+QWX3, COLORYELLOW;

  K:=SMA(CCI20,3,1);

  D:=SMA(K,3,1);

  LJ2:=((C-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100)*60+QWX3;

  LJF2:=(EMA(LJ2,3));

  顶部:150*60+QWX3,COLOR999599,LINETHICK5;

  超跌:-175*60+QWX3,COLOR999500,LINETHICK5;

  DRAWBAND(K,RGB(255,50,100),D,RGB(0,200,0));

  IF(CCI20《REF(CCI20,1),CCI20,DRAWNULL),COLORFFFF00,LINETHICK1;

  IF(CCI20》REF(CCI20,1),CCI20,DRAWNULL),COLOR0000EA,LINETHICK2;

  STICKLINE(CCI20《=-185*60+QWX3,-185*60+QWX3,-200*60+QWX3,2,0),COLOREE77EE;

  STICKLINE(CCI20》=150*60+QWX3,158*60+QWX3,172*60+QWX3,2,0),COLOR00FFFF;

  强势买入:STICKLINE(C,100*60+QWX3,100*60+QWX3,-1,0),COLORLIMAGENTA;

  反弹买入:STICKLINE(C,-100*60+QWX3,-100*60+QWX3,-1,0),COLOR0099FF;

  DRAWICON(CROSS(CCI20,-170*60+QWX3) AND LJF2《18*60+QWX3,-175*60+QWX3,1);

  DRAWICON(CROSS(CCI20,-100*60+QWX3) AND CROSS(K,D),-121*60+QWX3,34);

  DRAWICON(CROSS(CCI20,-100*60+QWX3) AND K》-100*60+QWX3,-111*60+QWX3,38);

  DRAWICON(CROSS(CCI20,-100*60+QWX3) AND K》-100*60+QWX3 AND CROSS(LJF2,18*60+QWX3),-175*60+QWX3,9);

  0+QWX3;

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