TT36RSI
TYP:=(HIGH+LOW+CLOSE)/3;
CCB:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORGREEN;
N1:=48;
(资料图片仅供参考)
CCI:(TYP-MA(TYP,N1))/(0.04*AVEDEV(TYP,N1)),LINETHICK3,COLORYELLOW;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,LINETHICK1,COLORGREEN;
RSI2:=SMA(MAX(CLOSE-LC,0),21,1)/SMA(ABS(CLOSE-LC),21,1)*100,LINETHICK2,COLORMAGENTA;
RSI3:SMA(MAX(CLOSE-LC,0),36,1)/SMA(ABS(CLOSE-LC),36,1)*100,LINETHICK3,COLORRED;
BIAS:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*500,,POINTDOT,COLORCYAN,LINETHICK2;
加速:=50,COLORCYAN,LINETHICK1;
加速线:55,POINTDOT,COLORWHITE,LINETHICK2;
速线:=30,COLORBLUE,LINETHICK3,POINTDOT;
P:=5;
AA1:=REF(CCI,P)=HHV(CCI,2*P+1);
BB1:=FILTER(AA1,P),LINETHICK1,COLORMAGENTA;
CC1:=BACKSET(BB1,P+1),COLORBLUE,LINETHICK2;
DD1:=FILTER(CC1,P),LINETHICK1,COLORRED;
前期高点:REF(CCI,BARSLAST(DD1)),COLORBLUE,LINETHICK2;
STICKLINE(C>0,前期高点,前期高点,2,0),COLORBLUE,LINETHICK2;
DRAWICON(CROSS(RSI1,前期高点),前期高点,11),COLORGREEN,LINETHICK2;
DRAWICON(CROSS(RSI1,加速),加速,0),COLORGREEN,LINETHICK2;
DRAWICON(CROSS(CCI,加速),CCI,1),COLORGREEN,LINETHICK2;