通达信周框图主图公式源码贴图

[复制链接]
查看124 | 回复0 | 2021-8-19 11:04:20 | 显示全部楼层 |阅读模式

以下是通达信周框图主图公式源码贴图(无源码的请下载附件导入)

通达信公式周框图主图

AQ:=O#WEEK;
B:=C#WEEK;
AAQ:=H#WEEK;
BB:=L#WEEK;
STICKLINE(WEEKDAY=1,AAQ,BB,0,-1),COLORLIGRAY;
STICKLINE(WEEKDAY=6-1,AAQ,BB,0,-1),COLORLIGRAY;
BZ:=WEEKDAY;
TT:=BARSCOUNT(C)=1;
{ZB:=DATE IFF(REF(DATE,1),DATE)>BZ-REF(BZ,1) OR BARSLAST=1;}
ZC:=WEEKDAY<REF(WEEKDAY,1)OR TT;
ZM:=REFX(ZC,1) ;
DRAWLINE(B>=AQ AND (ZC OR TT ),AAQ,B>=AQ AND (ZM OR ISLASTBAR),AAQ,0),COLOR9999DD;
DRAWLINE(B>=AQ AND (ZC OR TT ),BB,B>=AQ AND (ZM OR ISLASTBAR),BB,0),COLOR9999DD;
DRAWLINE(B<AQ AND (ZC OR TT ),AAQ,B<AQ AND (ZM OR ISLASTBAR),AAQ,0),COLORDDAA88;
DRAWLINE(B<AQ AND (ZC OR TT ),BB,B<AQ AND (ZM OR ISLASTBAR),BB,0),COLORDDAA88;
 

71188145.png

71188145.png
 

回复

使用道具 举报

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

本版积分规则