相对强弱指标RSI
(2022-04-22 10:31:43)
指标修改为:80-50-20.
MACD擅长横向看历史;RSI擅长纵向比较。
RSI
N1,2-120,缺省20
N2,2-250,缺省50
N3,2-500,缺省80
LC:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;