Technical Indicators Calculator: SMA, EMA, RSI, MACD, Bollinger Bands
Paste closing prices oldest first, set the moving average, RSI periods and band width, and read every indicator's latest value and recent table.
Funziona nel tuo browser. I tuoi file non lasciano mai il dispositivo. Scopri come verificarlo
…
Come si usa
- 1Paste prices
Enter closing prices, oldest first.
- 2Set periods
Choose the moving average and RSI periods and band width.
- 3Read the latest values
See SMA, EMA, RSI, MACD and bands.
- 4Check the table
Review the last 15 periods.
Informazioni su questo strumento
Technical indicators turn a price series into signals about trend and momentum. They are built from simple formulas, but small differences in definition, such as how RSI is smoothed or whether Bollinger Bands use sample or population standard deviation, produce different numbers from different tools. This calculator follows the original definitions. The simple moving average (SMA) is the average of the last n prices; the exponential moving average (EMA) gives more weight to recent prices with a smoothing factor of 2 ÷ (n + 1). The relative strength index (RSI), created by J. Welles Wilder in 1978, compares average gains with average losses using Wilder's smoothing; values above 70 are commonly read as overbought and below 30 as oversold. MACD, by Gerald Appel, is the 12-period EMA minus the 26-period EMA, with a 9-period EMA signal line and a histogram of the difference. Bollinger Bands, by John Bollinger, are a 20-period SMA plus and minus two population standard deviations; %B shows where the price sits within the bands and bandwidth measures how wide they are. Paste closing prices, adjust the periods, and the calculator gives the latest value of each indicator and a table of the last 15 periods.
Who this is for
Traders checking indicators without a charting platform, students learning technical analysis, and developers verifying their own code.
Indicators
| Indicator | Definition | |---|---| | SMA(n) | Mean of the last n prices | | EMA(n) | Price × k + previous EMA × (1 − k), k = 2/(n+1) | | RSI(14) | 100 − 100 ÷ (1 + average gain ÷ average loss), Wilder smoothing | | MACD | EMA12 − EMA26; signal EMA9 of MACD; histogram MACD − signal | | Bollinger | SMA20 ± 2σ (population) |
Seeding
EMAs start from the first price, so early values are less reliable; use at least 50 to 100 prices for stable EMAs and MACD. RSI starts with a simple average of the first n changes, as Wilder specified.
Reading signals
- RSI above 70 or below 30 suggests stretched momentum, not an automatic reversal. - MACD crossing above its signal is read as bullish momentum. - Price near the upper band (%B near 1) is strong; a squeeze (low bandwidth) often precedes big moves.
Evidence
Academic research finds that simple technical rules rarely beat buy-and-hold after costs in liquid markets. Use indicators as one input, not a strategy on their own.
Worked example
The sample series of 33 closes ends at 43.13: SMA20 45.24, EMA20 44.68, RSI14 37.8 (neutral), MACD −0.50 below its signal −0.14, price near the lower band (%B 0.06).
Cross-checking other platforms
If your charting platform shows slightly different numbers, check its settings: some use simple averages to start RSI, sample standard deviation for bands, or different EMA seeding. The longer the series, the smaller the differences become, because the effect of the starting point fades.
Limits
An analysis aid, not investment advice.
Esempio svolto
33 closes ending 43.13: RSI 37.8, MACD below signal, %B 0.06.
In breve
- Categoria: Soldi e tasse
- Funziona nel browser, senza registrazione né caricamento.
- Le informazioni che inserisci restano sul tuo dispositivo.
- Disponibile in inglese.
- Contenuto rivisto l'ultima volta il:
- Fonte ufficiale: Wilder (1978), Appel (MACD), Bollinger (2001)
Domande frequenti
How is RSI calculated?
From average gains and losses over 14 periods with Wilder's smoothing.
What are the MACD settings?
EMA12 minus EMA26 with a 9-period EMA signal line.
Do Bollinger Bands use sample or population standard deviation?
Population, as John Bollinger specifies.
How many prices do I need?
At least 27 for MACD; more gives more stable values.
What does %B mean?
Where the price sits between the lower (0) and upper (1) band.
Are these indicators reliable?
They describe momentum and volatility; they do not predict prices reliably on their own.
