手机端
当前位置:爱约股 > 公式技巧 > 将大智慧rsi改成通达信的

将大智慧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;

Stochrsi:(RSI-LLV(RSI,Nstoch))/(HHV(RSI,Nstoch)-LLV(RSI,Nstoch))*100;

TAG:
分享至:

相关推荐