通达信简洁日周月主图指标公式

[复制链接]
查看93 | 回复0 | 2021-8-20 20:07:06 | 显示全部楼层 |阅读模式

WC:=C#WEEK,LINETHICK0;
WO1:=IF(WEEKDAY<REF(WEEKDAY,1),O,DRAWNULL);
WO:=HHV(WO1,WEEKDAY),LINETHICK0;
WH:=HHV(H,WEEKDAY),LINETHICK0;
WL:=LLV(L,WEEKDAY),LINETHICK0;
MC:=C#MONTH,LINETHICK0;
MO1:=IF(DAY<REF(DAY,1),O,DRAWNULL);
MO:=HHV(MO1,DAY),LINETHICK0;
AG:=DAY<REF(DAY,1);
BG:=BARSLAST(AG)+1;
MH:=HHV(H,BG),LINETHICK0;
ML:=LLV(L,BG),LINETHICK0;
STICKLINE(MC>=MO,MO,MC,4,0),COLOR5CA8FD;
STICKLINE(MC<MO,MO,MC,4,0),COLOR008B00;
STICKLINE(WC>=WO,WO,WC,4,0),COLOR003399;
STICKLINE(WC<WO,WO,WC,4,0),COLOR993300;
DRAWKLINE(H,O,L,C);

202108201225.jpg

202108201225.jpg

 

回复

使用道具 举报

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

本版积分规则