通达信华丽RSI指标公式
2020/1/6 19:22:55
{参数:
N1 1 100 5
N2 1 100 14
}
A1:=0;
关注线:20;
警戒线:80;
A4:100;
DRAWBAND(A1,RGB(10,0,0),关注线,RGB(240,0,0));
DRAWBAND(警戒线,RGB(10,50,0),A4,RGB(100,170,250));
LC:=REF(CLOSE,1);
{投股票网-股票公式网站 www.tou18.cn}
RSI5:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI14:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
DRAWBAND(RSI5,RGB(240,0,100),RSI14,RGB(240,240,0));
投股票 网 www.tou18.c n
股市公式下载推荐