通达信精品CCI副图源码
N:=5;
N1:=14;
N2:=30;
-100;0;100;
TYP:=(HIGH+LOW+CLOSE)/3;
短期CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N))COLORRED;
中期CCI:(TYP-MA(TYP,N1))/(0.015*AVEDEV(TYP,N1)),COLORWHITE;
长期CCI:(TYP-MA(TYP,N2))/(0.015*AVEDEV(TYP,N2)),COLORGREEN;
大智慧源码:
N:=5;
N1:=14;
N2:=30;
-100;0;100;
TYP:=(HIGH+LOW+CLOSE)/3;
短期CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),COLORRED;
中期CCI:(TYP-MA(TYP,N1))/(0.015*AVEDEV(TYP,N1)),COLORWHITE;
长期CCI:(TYP-MA(TYP,N2))/(0.015*AVEDEV(TYP,N2)),COLORGREEN;