通达信优化版CCI指标公式
通达信买入卖出点主图指标公式
通达信优化版CCI指标公式:
cciA:((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,14))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,14)),COLORFF3300;
生命CCI线:CCI(14),COLORWHITE;
CC1:CCI(25),COLORstICK;
DRAWICON(crOSS(200,CCI),280,2);
DRAWICON( CROSS(CCI,-200),-180,1);
转强:CCI>0,COLOR0000D5,NODRAW;
STICKLINE(CCI>0,0,CCI,0.5,0),COLOR0033FF;
STICKLINE(CCI<0,0,CCI,0.5,0),COLORFF3300;
弱转强:CROSS(CCI,-200) AND CCI>REF(CCI,1),COLOR00DFDF,NODRAW;
STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,1,0),COLORYELLOW;
强转弱:CROSS(200,CCI) AND CCI<REF(CCI,1),COLOR00CA00,NODRAW;
STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,1,0),COLOR00CA00;
上限:100, COLORGREEN,LINETHICK1;
轴:0,COLORRED,LINETHICK1;
下限:-100,COLORYELLOW,LINETHICK1;
DRAWTEXT(CROSS(生命CCI线,300),240,'警惕')COLORGREEN;
DRAWICON(CROSS(CCIA,100),-200,25);
DRAWICON(CROSS(100,CCIA),280,9);
通达信私募军师出击主图指标公式