以下是通达信指南针(源码主图贴图)(无源码的请下载附件导入)
指南针8
{指南针}
【0】:MA(L+(H-L)/2,5),CIRCLEDOT,COLORMAGENTA;
【1】:DRAWLINE(CURRBARSCOUNT=3,【0】,CURRBARSCOUNT=2,【0】,0),COLORYELLOW,LINETHICK2;
【2】:DRAWLINE(CURRBARSCOUNT=2,【0】,CURRBARSCOUNT=1,【0】,0),COLORRED,LINETHICK2;
【3】:DRAWLINE(CURRBARSCOUNT=3,【0】,CURRBARSCOUNT=1,【0】,0),COLORRED,LINETHICK2;
DRAWBAND(【1】,RGB(155,50,50),【3】,RGB(250,250,0));
DRAWBAND(【2】,RGB(100,50,50),【3】,RGB(250,100,0));
【4】:=REF(【0】,1);
DRAWTEXT(【0】<【4】 AND 【2】<【3】,【2】,'转强'),COLOR33FFCC;
DRAWTEXT(【0】<【4】 AND 【1】>【3】,【2】,'转弱'),COLOR33FFCC;
72388009.jpg
|