该指标已20均线为参考,信号出现后回调20均线附近是很好的机会。
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
KK:=MA(CCI,10);
KKK:=MA(CCI,20);
PP:=CCI-REF(CCI,1);
AAA:=PP-CCI,COLORBLUE;
A:=CCI
AD1:=CROSS(CCI,AAA) AND C>MA(C,20) AND C
AAAA:AD1*50,COLORRED;