通达信 宝塔线副图源码

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

以下是通达信 宝塔线副图源码(无源码的请下载附件导入)

B0:=REF(C-O,2);B1:=REF(C,1);B2:=REF(C,2);B3:=REF(C,3);B4:=REF(C,4); 

CMAX:=MAX(MAX(MAX(C,B1),B2),B3);CMIN:=MIN(MIN(MIN(C,B1),B2),B3); 
STICKLINE(C=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND C>=B2 OR 
B2=CMAX AND B3=CMIN AND C>=B1 OR B3=CMAX AND C>=B1 AND C>=B2,B1,C,5,1),COLORRED; 
STICKLINE(C=CMAX AND B1=CMIN,B2,C,5,1),COLORRED; 
STICKLINE(C=CMIN AND (B1
B2=CMIN AND B3=CMAX AND C
STICKLINE(B1=CMAX AND C=CMIN,B2,C,5,0),COLORGREEN; 
STICKLINE(B1=CMIN AND C>=B2 OR (B2=CMIN AND B1<=B3 OR 
B3=CMIN AND B1<=B2) AND B2=B1,B1,B2,5,0),COLORGREEN; 
STICKLINE(B1=CMAX AND CB3 OR 
B3=CMAX AND B1>B2) AND B2>=B4 AND C

718244527.jpg

718244527.jpg

回复

使用道具 举报

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

本版积分规则