Write Functions in R: Relative Strength Index | RSI || 13

preview_player
Показать описание
In this video we write a function to compute the Relative Strength Index (RSI). We compare our results with the RSI function from the TTR package.
Рекомендации по теме
Комментарии
Автор

When calculating the Relative Strength Index (RSI), if AvgDown (the average of downward price changes) is zero, it can indeed result in a division by zero, which will produce NaN (Not a Number) values.

BezNicka