CCI是最常用的指标.把他加到主图上.用一个图.同时看到CCI和K线的关联.充分有利于买卖股票.对于防止被套和买入不及时都十分有利.同时我们用得是长短结合的CCI比单独使用14天.更能说明问题.再配合【二九通道】【高抛.低吸】【五天均线转折】这四个指标结合在一起就可以【做到天衣无缝】了.公式这个参谋是你买卖股票必须参考的.没有一个好用的参谋补助你.你能下决心买卖股票吗.但是参谋仅仅是参谋.说了算的还是你自己.大策略.大智慧.最后大脑发号施令还是你.【这个和大智慧不完全一样.各有所长吧】
=======你的通达信必须有【WMA】这个函数==============你们的通达信为什么都不能通过这个函数能不能研究研究======用;通达信普天同庆叁版 12022317 整合版.rar
{CCI-金.二九宽带}
上18H:WMA(SMA(HHV(HIGH,18),9/2,1),3),COLOR00FF00;
下18L:WMA(SMA(LLV(LOW,18),9/2,1),3),COLOR009900;
通道:(上18H+下18L)/2,COLOR0598FF;
DRAWBAND(上18H,RGB(0,0,155),通道,RGB(0,0,155));
DRAWBAND(通道,RGB(0,40,0),下18L,RGB(0,40,0));
WMA(SMA(HHV(HIGH,18),9/2,1),3),COLOR00FF00;
WMA(SMA(LLV(LOW,18),9/2,1),3),COLOR009900;
(上18H+下18L)/2,COLOR0598FF;
MA5:WMA(C,5);
IF(MA5>REF(MA5,1),MA5,DRAWNULL),COLORRED,LINETHICK3;
{CCI-金}
现价:IF (DYNAINFO(4)=0,C,DYNAINFO(7)),COLOR0077FF,LINETHICK0;
TYB:WMA(((C+(H+L)/2)/2*0.618+(C+O)/2*0.382),2),LINETHICK0;
CCIA:=(TYB-MA(TYB,14))/(0.015*AVEDEV(TYB,14));
CCIB:=(TYB-MA(TYB,28))/(0.015*AVEDEV(TYB,28));
CCIC:=(TYB-MA(TYB,42))/(0.015*AVEDEV(TYB,42));
CCI:=WMA((CCIA+2*CCIB+CCIC)/4,5);
PK:=4;
BX:=IF(BARSCOUNT(C)=500,0,500);
CCIS:=ABS(HHV(CCI,BX)-LLV(CCI,BX))/(HHV(C,BX)-LLV(C,BX))*PK;
CCIK:CCI/CCIS+现价,COLOR00FF00,DOTLINE;
IF(CCIK>REF(CCIK,1),CCIK,DRAWNULL),COLOR00FFFF,LINETHICK3;
DRAWTEXT(CCI>REF(CCI,1) AND CROSS(CCI,-100),CCIK,'CCI底背离'),COLOR00FFFF;
{高抛.低吸}
RC:=(H+L+C*2)/4;
R2D:=WMA(RC,27);
R2E:=STD(RC,27);
R3F:=(RC-R2D)/R2E*100;
R40:=WMA(R3F,3);
R41:=WMA(R40,3);
JD:=WMA(R41,2);
AJ:=3*R41-2*JD;
DRAWTEXT(CROSS(AJ,JD) ,L-0.1,'←低吸'),COLOR00FFFF,LINETHICK1;
DRAWTEXT(CROSS(JD,AJ) ,H+0.1,'←高抛'),COLOR0099FF,LINETHICK1;
{K线}
STICKLINE(CLOSE>OPEN OR CLOSE=OPEN AND CLOSE>REF(CLOSE,1),LOW,HIGH,0.0,0),COLORRED;
STICKLINE(CLOSE
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00AA00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00DD00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR000088;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000AA;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000DD;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLOR0000FF;