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;
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;