出击突破主图

此指标来源于论坛,如涉及侵权,联系删除。指标仅供参考,不作投资依据。

源码:

红线:LLV((2C+H+L)/4,21),LINETHICK2,COLORRED;
绿线:HHV((2
C+H+L)/4,21),LINETHICK2,COLORGREEN;
年:=YEAR,NODRAW;
月:=MONTH,NODRAW;
星期:=WEEKDAY,NODRAW;
日1:=DATETODAY(DATE);
上市日:=REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT);
自然日:=日1-DATETODAY(上市日)+1;
ZB:=(自然日-REF(自然日,1))!=星期-REF(星期,1)OR TOTALBARSCOUNT-CURRBARSCOUNT=0;
本周第几天:=BARSLAST(ZB)+1;
本月第几天:=BARSLAST(年_100+月!=REF(年_100+月,1))+1;
MA1:=REF(C,本周第几天);
MA2:=REF(MA1,本周第几天);
MA3:=REF(MA2,本周第几天);
MA4:=REF(MA3,本周第几天);
MA5:=REF(MA4,本周第几天);
MA6:=REF(MA5,本周第几天);
MA7:=REF(MA6,本周第几天);
MA8:=REF(MA7,本周第几天);
MA9:=REF(MA8,本周第几天);
十周价:=(C+MA1+MA2+MA3+MA4+MA5+MA6+MA7+MA8+MA9)/10;
出击突破:REFDATE(十周价,DATE),COLORMAGENTA,DOTLINE;
DRAWTEXT(ISLASTBAR,出击突破,’ 出击突破’),COLORMAGENTA;
DRAWTEXT_FIX(1,0.00,0,0,‘所属行业:’)COLORMAGENTA;
DRAWTEXT_FIX(1,0.06,0,0,HYBLOCK)COLORMAGENTA;
DRAWTEXT_FIX(1,0.14,0,0,‘所属地区:’)COLORMAGENTA;
DRAWTEXT_FIX(1,0.20,0,0,DYBLOCK)COLORMAGENTA;
DRAWKLINE(H,O,L,C);
DRAWKLINE(H,IF(C<=REF(C,1),REF(C,1),DRAWNULL),L,IF(C<=REF(C,1),C,DRAWNULL));
STICKLINE(C<=REF(C,1),IF(C<=REF(C,1),REF(C,1),DRAWNULL),IF(C<=REF(C,1),C,DRAWNULL),3.05,0),COLORBLUE;
STICKLINE(C<=REF(C,1),IF(C<=REF(C,1),REF(C,1),DRAWNULL),IF(C<=REF(C,1),C,DRAWNULL),2.2,0),COLORFF7700;
STICKLINE(C<=REF(C,1),IF(C<=REF(C,1),REF(C,1),DRAWNULL),IF(C<=REF(C,1),C,DRAWNULL),1.5,0),COLORFF9900;
STICKLINE(C<=REF(C,1),IF(C<=REF(C,1),REF(C,1),DRAWNULL),IF(C<=REF(C,1),C,DRAWNULL),0.5,0),COLORFFBB00;
DRAWKLINE(H,IF(C>REF(C,1),REF(C,1),DRAWNULL),L,IF(C>REF(C,1),C,DRAWNULL));
STICKLINE(C>REF(C,1),IF(C>REF(C,1),REF(C,1),DRAWNULL),IF(C>REF(C,1),C,DRAWNULL),3.05,0),COLOR000099;
STICKLINE(C>REF(C,1),IF(C>REF(C,1),REF(C,1),DRAWNULL),IF(C>REF(C,1),C,DRAWNULL),2.2,0),COLOR0000CC;
STICKLINE(C>REF(C,1),IF(C>REF(C,1),REF(C,1),DRAWNULL),IF(C>REF(C,1),C,DRAWNULL),1.5,0),COLOR0000FF;
STICKLINE(C>REF(C,1),IF(C>REF(C,1),REF(C,1),DRAWNULL),IF(C>REF(C,1),C,DRAWNULL),0.5,0),COLORCC66FF;
STICKLINE(V/REF(V,1)>2 AND CLOSE>=OPEN,IF(C>REF(C,1),REF(C,1),DRAWNULL),IF(C>REF(C,1),C,DRAWNULL),1,0),COLOR66FFBB;

在这里插入图片描述
在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值