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),LINETHICK1;
STICKLINE(CCI>100,CCI,100,2,0),colorff00ff;
STICKLINE(CCI<-150,CCI,-150,2,0),coloryellow;
STICKLINE(CCI<-150 AND CCI>REF(CCI,1),CCI,-150,2,0),color009933;
STICKLINE(C>0,100,101,10,0),color0000ff;
STICKLINE(C>0,-150,-151,8,0),colorgreen;
RSV:= (C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
FASTK:=SMA(RSV,3,1);
Y1A:=((SMA(FASTK,3,1))/2+40)*1.1;
线上牛:SMA(Y1A,8,1),colorff6633;