Moving averages smooth out price noise to show the trend; traders watch crossovers of short and long averages. RSI measures momentum: readings above 70 suggest overbought, below 30 oversold. Everything is calculated in your browser, so nothing you type is sent to our server.
How to use the Moving Average Calculator
- Prices (oldest first)
- Length of the moving average
- RSI period
Everything runs in your browser, so results appear instantly and nothing you type is sent to a server.
How it works
Paste prices in date order (oldest first), choose the moving-average length and the RSI period.
Formula
SMA = average of the last n prices
EMA = price × k + previous EMA × (1 − k), k = 2 ÷ (n + 1)
WMA = Σ (weight × price) ÷ Σ weights (newest weighted highest)
RSI = 100 − 100 ÷ (1 + average gain ÷ average loss), Wilder smoothing
Worked example
Inputs: Prices (oldest first): 44, 44.15, 43.9, 44.35, 44.8, 45.1, 45.4, 45.6, 45.2, 45.8, 46, 46.2, 45.9, 46.5, 46.8, 47; Length of the moving average: 5; RSI period: 14.
Results: Simple moving average (latest) = 46.48; Exponential moving average (latest) = 46.5311; Weighted moving average (latest) = 46.6467; Relative strength index (RSI) = 80.67; RSI signal = Overbought (RSI ≥ 70); SMA series (period: value) = 5: 44.24
6: 44.46
7: 44.71
8: 45.05
9: 45.22
10: 45.42
11: 45.6
12: 45.76
13: 45.82
14: 46.08
15: 46.28
16: 46.48.
Frequently asked questions
What is a moving average?
The average price over the last n periods, recalculated as each new price arrives.
What is the difference between SMA and EMA?
EMA gives more weight to recent prices, so it reacts faster.
What does RSI above 70 mean?
The asset may be overbought; below 30, oversold.