把通达信副图源码‘CCI—网上’一个副图源码翻译成大知慧
2019/12/15 18:34:27
公式编写说明:
DRAWBAND(350,RGB(100,120,180),-300,RGB(100,120,180));CC1:CCI(25),COLORSTICK,COLOR40FF00;DRAWICON(CROSS(200,CCI),250,2);DRAWICON( CROSS(CCI,-200),-250,1);转强:CCI>0,COLOR0000D5,NODRAW;STICKLINE(CCI>0,0,CCI,2,0),COLOR0000D5;弱转强:CROSS(CCI,-200) AND CCI>REF(CCI,1),COLOR00DFDF,NODRAW;STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,2,0),COLOR00DFDF;强转弱:CROSS(200,CCI) AND CCI<REF(CCI,1),COLOR00CA00,NODRAW;STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,2,0),COLOR00CA00;生命CCI线:CCI(84),COLORWHITE;底部线:-100.00,COLORYELLOW,LINETHICK2;警戒线:300.00,COLORWHITE,LINETHICK2;生命线:100.00,COLORRED,LINETHICK2;200;-200;100;
公式源码示例:
FILLRGN(350,-300,C>0,RGB(100,120,180)),LAYER7;
CCI:="CCI.";
CC1:"CCI."(25),COLORSTICK,COLOR40FF00;
DRAWICON(CROSS(200,CCI),CCI,8);
DRAWICON( CROSS(CCI,-200),CCI,7);
转强:CCI>0,COLOR0000D5,LINETHICK0;
STICKLINE(CCI>0,0,CCI,7,0),COLOR0000D5;
弱转强:CROSS(CCI,-200) AND CCI>REF(CCI,1),COLOR00DFDF,LINETHICK0;
STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,7,0),COLOR00DFDF;
强转弱:CROSS(200,CCI) AND CCI<REF(CCI,1),COLOR00CA00,LINETHICK0;
STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,7,0),COLOR00CA00;
生命CCI线:"CCI."(84),COLORWHITE;
底部线:-100.00,COLORYELLOW,LINETHICK2;
警戒线:300.00,COLORWHITE,LINETHICK2;
生命线:100.00,COLORRED,LINETHICK2;
200;
-200;
100;
看股 吧公式 www.kangub a.com
其它股票公式列表