From Investopedia: RS = 100 - 100/ Average of x days' up closes / Average of x days' down closes
I'm math challenged, does "Average" refer to closing price or price change and what if, for a 3 day RSI say, all closes were either up or down? If no down closes how can divisor be zero and...