将大智慧rsi改成通达信的
2019/12/16 18:28:06
公式编写说明:
源码如下: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;
投股票 网 www .tou18.cn
股市公式下载推荐