通达信CCI改良版副图及选股指标公式

时间:2022-03-17 07:08:17    阅读:5783

 TYP:=IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L<C AND C<O) OR(L<O AND O<=C),CLOSE,LOW)/3;
CCI:EMA((TYP-MA(TYP,36.0270012))/(0.015*AVEDEV(TYP,36.0270012)),2.0332),COLORWHITE;
粉低吸:EVERY(CCI<-150 AND CCI<REF(CCI,1),3),NODRAW;
STICKLINE(CCI<-150,CCI,-150,2,0),COLORFF80FF;
STICKLINE(C>0,-150,-151,2,0),COLORBLUE;
分界:100;
DRAWICON(CROSS(CCI,100),100,1);

{
选股公式:

TYP:=IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L<C AND C<O) OR(L<O AND O<=C),CLOSE,LOW)/3;
CCI:=EMA((TYP-MA(TYP,36.0270012))/(0.015*AVEDEV(TYP,36.0270012)),2.0332);
选股:CROSS(CCI,100);
}

 

关键词: CCI