以下是通达信最新超短线指副图源码(无源码的请下载附件导入)
【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;
652322719.jpg
|