通达信好用RSI指标公式

2024-06-17 04:58发布

R1:=(-50)/1.5;{将RSI指标转换到零轴附近并按比例缩小}DRAWBAND(R1,RGB(0,180,255),18,RGB(00,00,00));R2:=IF(R1>=0,0,R1);DRAWBAND(-15,RGB(255,100,155),R2,RGB(00,00,00));R:R1;F:=100*(C/REF(C,1)-1);{单日}MAR:=EMA(R,13);{均}XX:R-MAR,COLORSTICK;GD:=(C=HHV(C,5) OR H=HHV(H,5));排除1:=NOT(GD OR REF(GD,1));排除2:=NOT(EXIST(F<-9,3));排除3:=C/(C,50)-1<0 CHUTJ:=XX>REF(XX,2);出:DRAWTEXT(FILTER(COUNT(CHUTJ,BARSLAST(入))=2 AND XX>0,6) ,10,'!'),COLORGREEN;-10,POINTDOT;18,POINTDOT;-15,POINTDOT;
 解锁全文需 1  财富值,免费注册即送20财富值!