将此公式改为大智慧公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
编写要求:
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[股票指标公式}底部线:-100.00,COLORYELLOW,LINETHICK2;警戒线:300.00,COLORWHITE,LINETHICK2;生命线:100.00,COLORRED,LINETHICK2;DRAWTEXT(CROSS(生命CCI线,底部线),底部线,'★主升浪')COLORRED;DRAWTEXT(CROSS(生命CCI线,警戒线),警戒线,'★警惕')COLORRED;DRAWTEXT(CROSS(生命CCI线,生命线),生命线,'★强')COLORMAGENTA;200;-200;100;](_blank)
解答:
FILLRGN(-200,300,1,RGB(100,120,180),300,RGB(100,120,180));
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,25))/(0.015*AVEDEV(TYP,25)),COLORSTICK,COLOR40FF00;
DRAWICON(CROSS(200,CCI),250,8);
DRAWICON( CROSS(CCI,-200),-250,7);
转强:CCI>0,COLOR0000D5,LINETHICK0;
STICKLINE(CCI>0,0,CCI,2,0),COLOR0000D5;
弱转强:CROSS(CCI,-200) AND CCI>REF(CCI,1),COLOR00DFDF,LINETHICK0;
STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,2,0),COLOR00DFDF;
强转弱:CROSS(200,CCI) AND CCI<REF(CCI,1),COLOR00CA00,LINETHICK0;
STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,2,0),COLOR00CA00;
生命CCI线:(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84)),COLORWHITE;
底部线:-100.00,COLORYELLOW,LINETHICK2;
警戒线:300.00,COLORWHITE,LINETHICK2;
生命线:100.00,COLORRED,LINETHICK2;
DRAWTEXT(CROSS(生命CCI线,底部线),底部线,'★主升浪'),COLORRED;
DRAWTEXT(CROSS(生命CCI线,警戒线),警戒线,'★警惕'),COLORRED;
DRAWTEXT(CROSS(生命CCI线,生命线),生命线,'★强'),COLORMAGENTA;
200;
-200;
选股票看什么指标最好 >
股票指标网
精彩评论