加载中…
个人资料
用户1676832867
用户1676832867
  • 博客等级:
  • 博客积分:0
  • 博客访问:16,983
  • 关注人气:13
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
相关博文
推荐博文
谁看过这篇博文
加载中…
正文 字体大小:

[转载]博易大师指标——黄金分割线

(2016-04-24 08:40:27)
标签:

转载

分类: 期货投资

博易大师指标——黄金分割线

博易源码:

A:=REF(HHV(H,89),2);
B:=REF(LLV(L,89),2);
H191:A-(A-B)*0.191,COLORFFFF00,PRECIS0;
H382:A-(A-B)*0.382,COLOR80FFFF,PRECIS0;
H50:A-(A-B)*0.5,COLOR80FF00,PRECIS0;
H618:A-(A-B)*0.618,LINETHICK3,COLORFF00FF,PRECIS0;
H809:A-(A-B)*0.809,COLOR4080FF,PRECIS0;
STICKLINE(C>=O OR (C=O AND C>REF(C,1)),O,C,4,1),COLORRED;
STICKLINE((C>=O AND C<>H) OR (C=O AND C>REF(C,1)),C,H,0.1,0),COLORRED;
STICKLINE((C>=O AND L<>O) OR (C=O AND C>REF(C,1)),L,O,0.1,0),COLORRED;
STICKLINE(C<O OR (C=O AND C>REF(C,1)),O,C,4,0),COLORCYAN;
STICKLINE((C<O AND C<>H) OR (C=O AND C>REF(C,1)),C,H,0.1,1),COLORCYAN;
STICKLINE((C<O AND L<>O) OR (C=O AND C>REF(C,1)),L,O,0.1,1),COLORCYAN;

DRAWNUMBER(ISLASTBAR,H191,H191,0),COLORFFFF00,ALIGN0;
DRAWNUMBER(ISLASTBAR,H382,H382,0),COLOR80FFFF,ALIGN0;
DRAWNUMBER(ISLASTBAR,H50,H50,0),COLOR80FF00,ALIGN0;
DRAWNUMBER(ISLASTBAR,H618,H618,0),COLORFF00FF,ALIGN0;
DRAWNUMBER(ISLASTBAR,H809,H809,0),COLOR4080FF,ALIGN0;

 [转载]博易大师指标——黄金分割线

文华源码:

A:=REF(HHV(H,89),2);
B:=REF(LLV(L,89),2);
H191:A-(A-B)*0.191,COLORRED;
H382:A-(A-B)*0.382,COLORGREEN;
H50:A-(A-B)*0.5,COLORBLUE;
H618:A-(A-B)*0.618,COLORYELLOW;
H809:A-(A-B)*0.809,COLORCYAN;
DRAWTEXT(ISLASTBAR>0,H191,'0.191');
DRAWTEXT(ISLASTBAR>0,H382,'0.382');
DRAWTEXT(ISLASTBAR>0,H50,'0.5');
DRAWTEXT(ISLASTBAR>0,H618,'0.618');
DRAWTEXT(ISLASTBAR>0,H809,'0.809');
TMP:=OPEN-CLOSE;
DRAWLINE(TMP>0.00001,HIGH,TMP>0.00001,OPEN,COLORCYAN);
DRAWLINE(TMP>0.00001,LOW,TMP>0.00001,CLOSE,COLORCYAN);
DRAWLINE(TMP<-0.00001,HIGH,TMP<-0.00001,CLOSE,COLORRED);
DRAWLINE(TMP<-0.00001,LOW,TMP<-0.00001,OPEN,COLORRED);
DRAWLINE(ABS(TMP)<0.00001,LOW,ABS(TMP)<0.00001,OPEN,COLORWHITE);
DRAWLINE(ABS(TMP)<0.00001,HIGH,ABS(TMP)<0.00001,OPEN,COLORWHITE);
STICKLINE(TMP>0,OPEN,CLOSE,COLORCYAN,0);
STICKLINE(TMP<=0,OPEN,CLOSE,COLORRED,1);

0

  • 评论加载中,请稍候...
发评论

    发评论

    以上网友发言只代表其个人观点,不代表新浪网的观点或立场。

      

    新浪BLOG意见反馈留言板 电话:4000520066 提示音后按1键(按当地市话标准计费) 欢迎批评指正

    新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 会员注册 | 产品答疑

    新浪公司 版权所有