data-forge-indicators icon indicating copy to clipboard operation
data-forge-indicators copied to clipboard

RSI calculating wrong values

Open sajuuk31 opened this issue 4 years ago • 2 comments

Hello, thanks for your incredible work.

I'm having issues with the .rsi method. It seems that it calculates very differently than the one on TradingView and other website.

I investigated a bit further and it looks like it's the EMA that's computed differently but the code looks similar, any idea?

Thanks for your help.

sajuuk31 avatar Mar 01 '21 09:03 sajuuk31

After some research it appears that the RSI is currently calculated using an average and not an RMA (or modified EMA with 1/period as multiplier).

Will work on a new rsi version and propose it if successful.

sajuuk31 avatar Mar 01 '21 17:03 sajuuk31

Thanks, I look forward to seeing what you come up with.

ashleydavis avatar Mar 02 '21 04:03 ashleydavis