1. 首页 > 股票投资

通达信好用RSI指标公式

R1:=(RSI-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/EXPMA(C,50)-1<0.1; 入:DRAWICON(CROSS(XX,-10) AND 排除1 AND 排除2 AND 排除3,-10,1); CHUTJ:=XXREF(XX,2); 出:DRAWTEXT(FILTER(COUNT(CHUTJ,BARSLAST(入))=2 AND XX>0,6) ,10,'!'),COLORGREEN; -10,POINTDOT; 18,POINTDOT; -15,POINTDOT;

本文来源于网友自行发布,不代表本站立场,转载联系作者并注明出处