九毛八公式指标
TYP:=(HIGH+LOW+CLOSE)/3; CCI:(TYP-MA(TYP,13))/(0.015*AVEDEV(TYP,13)),STICK; STICKLINE(CCI<0,0,CCI,1,0),COLORWHITE; STICKLINE(CCI>=0,0,CCI,1,0),COLORYELLOW; STICKLINE(CCI>REF(CCI,1) AND CCI<0 and cci>-100,0,CCI,1,0),COLORGREEN; STICKLINE(CCI>REF(CCI,1) AND CCI>100,0,CCI,1,0),COLORRED; 趋势线:EXPMA(CCI,5),COLORMAGENTA,LINETHICK2;
公式模块:
TYP:=(HIGH+LOW+CLOSE)/3;
cci:=(TYP-MA(TYP,13))/(0.015*AVEDEV(TYP,13)); 趋势线:=expma(CCI,5); crOSS(趋势线,0);
0>