月-季-年-同图主图指标 通达信 贴图 无加密 无未来

[复制链接]
查看38 | 回复0 | 2022-7-11 10:23:12 | 显示全部楼层 |阅读模式
月/季/年/同图主图指标 通达信 贴图 无加密 无未来

MNC:=C#YEAR,NODRAW;
MNO:=O#YEAR,NODRAW;
MNH:=H#YEAR,NODRAW;
MNL:=L#YEAR,NODRAW;
STICKLINE(MNC>=MNO,MNH,MNL,6,0),COLOR34567F,;
STICKLINE(MNC<MNO,MNH,MNL,6,0),COLOR005500,;
MJC:=C#SEASON,NODRAW;
MJO:=O#SEASON,NODRAW;
MJH:=H#SEASON,NODRAW;
MJL:=L#SEASON,NODRAW;
STICKLINE(MJC>=MJO,MJH,MJL,5,0),COLORD66998;
STICKLINE(MJC<MJO,MJH,MJL,5,0),COLORGRAY; JGT:=(O#SEASON<REF(O#SEASON,1))OR(O#SEASON>REF(O#SEASON,1))OR(H#SEASON>REF(H#SEASON,1));
T0:=BARSLAST(JGT);
季高:HHV(H,T0+1),NODRAW;
季低:LLV(L,T0+1),NODRAW;
季开:O#SEASON,COLORMAGENTA,NODRAW;
季收:C#SEASON,NODRAW;
季中:=(季高+季低)/2,COLORYELLOW,NODRAW;
上季中:REF(季中,T0+1)COLORYELLOW,NODRAW;
MYO:O#MONTH,COLORLIGREEN,NODRAW;
MYH:=H#MONTH,NODRAW;
MYL:=L#MONTH,NODRAW;
MYC:=C#MONTH,NODRAW;
月开日:=BARSLAST(MONTH-REF(MONTH,1)=1)NODRAW; STICKLINE(MYC>=MYO,MYO,MYC,4,0),COLOR220055;
STICKLINE(MYC<MYO,MYO,MYC,4,0),COLORLICYAN;
ZGT:=(H#WEEK<REF(H#WEEK,1)) OR (H#WEEK>REF(H#WEEK,1));
周开日:=BARSLAST(ZGT);
周开:O#WEEK,COLORWHITE,NODRAW;
周高:=H#WEEK,NODRAW;
周低:=L#WEEK,NODRAW;
周收:=C#WEEK, COLORFF6EC7,NODRAW;
上周高:REF(周高,周开日+1)COLORCYAN,NODRAW;
上2周高:REF(上周高,周开日+1)COLORCYAN,NODRAW;
DRAWKLINE(H,O,L,C);

201910227195175269.png

201910227195175269.png

201910227204164689.rar

2.66 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

201910227204164689.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则