通达信短线RSI副图指标
源码
{N1 3, N2 13, N3 34}
LC:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLOR0000FF;
RSI2:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100,COLORFF00FF;
RSI3:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100,COLORFFFFFF;
DRAWICON(CROSS(RSI1,RSI2),RSI3,15);
DRAWICON(CROSS(RSI3,RSI1),RSI3,4);
{当RSI1上穿RSI2时候,就是短线买入点,当RSI1下穿RSI3时候就是卖出点};