Relative Strength Index (RSI)
Step 1: Calculate price changes for each period
Step 2: Separate gains and losses
Step 3: Initial Average Gain = Sum of first n Gains / n
Initial Average Loss = Sum of first n Losses / n
Step 4: For subsequent periods, apply Wilder's smoothing:
Current Avg Gain = ((Previous Avg Gain × (n-1)) + Current Gain) / n
Current Avg Loss = ((Previous Avg Loss × (n-1)) + Current Loss) / n
Step 5: RS = Average Gain / Average Loss
Step 6: RSI = 100 - (100 / (1 + RS))Period
Price
Change
Gain
Loss
Why Wilder's Smoothing?
Reading Relative Strength Index (RSI) on Supra L1
Last updated
