将大智慧rsi改成通达信的
指标答疑4年前 (2022-11-25)68
将大智慧rsi改成通达信的 编写要求:源码如下:INPUT: Nrsi(14,2,100,1),Nstoch(5,2,100,1);REFLINE: 0, 20, 50, 80, 100;RSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),Nrsi,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),Nrsi,1)*100;Sto...
将大智慧rsi改成通达信的 编写要求:
源码如下:INPUT: Nrsi(14,2,100,1),Nstoch(5,2,100,1);REFLINE: 0, 20, 50, 80, 100;RSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),Nrsi,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),Nrsi,1)*100;Stochrsi:(RSI-LLV(RSI,Nstoch))/(HHV(RSI,Nstoch)-LLV(RSI,Nstoch))*100;参数精灵:Param#1日Relative Strength Index;Param#2日Stochastic Relative Strength Index谢谢各位高手。小弟不胜感激
解答:
INPUT: Nrsi(14,2,100),Nstoch(5,2,100);
RSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),Nrsi,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),Nrsi,1)*100;相关文章










