设为首页加入收藏

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

通达信副图公式源码 通达信多头空头副图公式源码

2015-1-6 9:30:12 股票入门 http://rumen.southmoney.com

  南方财富网带来通达信副图公式源码 通达信多头空头副图公式源码:

  N:=60;

  BC:=(IF(C》(H+L+C)/3,(H*0.618+L*0.382)*0.382,(H*0.382+L*0.618)*0.382)+(O*0.382+C*0.618)*0.618);

  EMN:EMA((MA(BC,N)+SMA(BC,N,N/3))/2,N),COLOR6600FF;

  空头:EMA((EMN-(C-EMN)*C),1),COLORGREEN;

  多头:EMA((EMN+(C-EMN)*C),1),COLORRED;

  IF(多头《空头,多头,DRAWNULL),COLORCYAN;

  GO:=EMN+(O-EMN)*O;

  GH:=EMN+(H-EMN)*H,LINETHICK;

  GL:=EMN+(L-EMN)*L,LINETHICK;

  GC:=EMN+(C-EMN)*C,LINETHICK;

  MA3C:=((EMA(GC,19)+EMA(GC,29))/2+EMA(GC,24))/2;

  MA3H:=((EMA(GH,19)+EMA(GH,29))/2+EMA(GH,24))/2;

  MA3L:=((EMA(GL,19)+EMA(GL,29))/2+EMA(GL,24))/2;

  MA3O:=((EMA(GO,19)+EMA(GO,29))/2+EMA(GO,24))/2;

  进出线:=(IF(MA3C》(MA3H+MA3L+MA3C)/3,(MA3H*0.618+MA3L*0.382)*0.382,(MA3H*0.382+MA3L*0.618)*0.382)+(MA3O*0.382+MA3C*0.618)*0.618);

  FS:=2*进出线-REF(进出线,1),COLORWHITE;

  趋势线:IF(进出线《FS,FS,进出线),COLORWHITE;

  STICKLINE(GC》=GO,GL,GH,0,0),COLORRED;

  STICKLINE(GC》GO,GO,GC,2,0),COLORRED;

  STICKLINE(GC》GO,GO,GC,1,0),COLORCC66FF;

  STICKLINE(GC《GO,GO,GC,2,0),COLORAAAA00,COLORBLUE;

  STICKLINE(GC《GO,GO,GC,1,0),COLORFFCCAA,COLORAAAA00;

  STICKLINE(GC《GO,GL,GH,0,0),COLOR00BB00;

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