通达信趋势罗盘主图指标(源码)
2014-11-05 22:03:00来源:本站整理浏览:521
CP1:=MA(L+(H-L)/2,5),CIRCLEDOT,COLORMAGENTA;
CP2:DRAWLINE(CURRBARSCOUNT=10,CP1,CURRBARSCOUNT=2,CP1,0),COLORYELLOW,LINETHICK2;
CP3:DRAWLINE(CURRBARSCOUNT=5,CP1,CURRBARSCOUNT=1,CP1,0),COLORRED,LINETHICK2;
CP4:DRAWLINE(CURRBARSCOUNT=10,CP1,CURRBARSCOUNT=1,CP1,0),COLORRED,LINETHICK2;
DRAWBAND(CP2,RGB(155,50,50),CP4,RGB(250,250,0));
DRAWBAND(CP3,RGB(100,50,50),CP4,RGB(250,100,0));
DRAWBAND(CP3,RGB(34,139,34),CP4,RGB(250,100,0));
{CP5:=REF(CP1,1);
DRAWTEXT(CP1<CP5 AND CP3<CP4,CP3,'转强'),COLOR33FFCC;
DRAWTEXT(CP1<CP5 AND CP2>CP4,CP3,'转弱'),COLOR33FFCC;}
- 上一篇公式:通达信奇效多空指标(源码)
- 下一篇公式:通达信麒麟顶底指标(源码)