TYP:=(HIGH+LOW+CLOSE)/3;
G_cci:EMA((TYP-MA(TYP,36.0270012))/(0.015*AVEDEV(TYP,36.0270012)),2),COLORWHITE;
STICKLINE(G_CCI<-150,G_CCI,-150,2.5,0),COLORYELLOW;
STICKLINE(C>0,-150,-151,2.5,0),COLORLIBLUE;
STICKLINE(C>0,+150,+151,2.5,0),COLORLIBLUE;
STICKLINE(C>0,+100,+100,2.5,0),COLORYELLOW;
STICKLINE(C>0,-100,-100,2.5,0),COLORYELLOW;
STICKLINE(C>0,0,0,2.5,0),COLORYELLOW;
DIF:EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:EMA(DIF,9);
macd:(DIF-DEA)*2,COLORSTICK;
主力潜伏:COUNT(MacD<0,10)=10,COLORRED,NODRAW;
STICKLINE(主力潜伏,0,MACD*200,3.5,0),COLORRED;
rsi底:RSI.RSI1#WEEK<20,NODRAW;
STICKLINE(RSI底,0,20,3.5,0),COLORLIBLUE;
100;
0;
-100;
-100,STICK;