Stock Chart Technical Analysis: RSI, MACD, Bollinger Bands Explained

Turn raw price data into actionable trading signals. Learn how moving averages, momentum oscillators, and volatility bands work – and how Stock360s implements them.

Stock360s chart dashboard showing RSI, MACD, Bollinger Bands and moving averages

Stock360s interactive chart with SMA, EMA, RSI, MACD, Bollinger Bands, and custom support/resistance

πŸ“Š Executive Summary

Stock charts alone are overwhelming. Technical indicators transform raw OHLCV data into structured signals: trend direction (moving averages), momentum (RSI, MACD), and volatility (Bollinger Bands, ATR). Stock360s provides an interactive charting engine that automatically computes 11 indicators on the fly, supports Indian (NSE) and US stocks, and lets you toggle overlays, adjust time periods, and draw support/resistance lines. All data is sourced from Yahoo Finance, cached for 30 minutes, and rendered with Chart.js for smooth performance. This guide explains every indicator’s calculation, interpretation, and practical use – exactly as implemented in Stock360s.

πŸ”‘ Key Takeaways

πŸ“ˆ What Is Stock Chart Technical Analysis?

Technical analysis is the study of historical price and volume data to forecast future price movements. Unlike fundamental analysis (which examines financial statements), technical analysis focuses on patterns, trends, and indicators derived directly from market activity. Stock charts are the primary tool, but raw price lines are difficult to interpret. Technical indicators – mathematical transformations of price – simplify this by highlighting momentum, trend strength, volatility, and potential reversal points.

Stock360s implements the most widely used indicators: Simple Moving Averages (SMA), Exponential Moving Averages (EMA), Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD), Bollinger Bands, and Average True Range (ATR). Each is calculated on the backend using vectorized operations and delivered via a REST API to the frontend Chart.js visualization.

🎯 Why It Matters

Without indicators, a trader sees only price noise. With indicators, you can:

Stock360s makes this accessible without manual calculation – everything is precomputed and interactive.

πŸ“ Methodology: How Each Indicator Is Calculated

All formulas are exactly as implemented in Stock360s backend (charts.py).

Simple Moving Average (SMA)

Formula: SMAn = (P1 + P2 + ... + Pn) / n

Stock360s implementation: Rolling window on 'Close' price with min_periods = window size. SMA50 and SMA200 are precomputed for every date.

Interpretation: Price above SMA β†’ uptrend; below β†’ downtrend. Golden cross (SMA50 > SMA200) bullish, death cross bearish.

Exponential Moving Average (EMA)

Formula: EMAt = Pricet Γ— (2/(span+1)) + EMAt-1 Γ— (1 - 2/(span+1))

Stock360s implementation: ewm(span=20, adjust=False).mean() for EMA20 and span=50 for EMA50.

Interpretation: More responsive than SMA. EMA20 crossing above EMA50 signals short-term bullish momentum.

Bollinger Bands

Formula: Middle = SMA20; Upper = Middle + (2 Γ— StdDev20); Lower = Middle - (2 Γ— StdDev20)

Stock360s implementation: Rolling window 20, std() for standard deviation.

Interpretation: Price touching upper band suggests overbought; lower band oversold. Band squeeze (narrow bands) indicates low volatility, often preceding breakout.

Relative Strength Index (RSI)

Formula: RSI = 100 - (100 / (1 + RS)), where RS = Avg Gain / Avg Loss over 14 periods.

Stock360s implementation: Daily price differences, separate gains/losses, rolling mean of 14 periods, then compute RS and RSI.

Interpretation: >70 overbought, <30 oversold. Divergence between RSI and price warns of reversal.

MACD (Moving Average Convergence Divergence)

Formula: MACD = EMA12 - EMA26; Signal = EMA9 of MACD; Histogram = MACD - Signal

Stock360s implementation: EMA12, EMA26, then EMA9 on MACD line.

Interpretation: MACD crosses above Signal = buy; below = sell. Histogram positive & growing = increasing momentum.

Average True Range (ATR)

Formula: True Range = max(High-Low, |High-PrevClose|, |Low-PrevClose|); ATR = EMA14 of True Range.

Stock360s implementation: Compute TR for each period, then ewm(span=14, adjust=False).mean().

Interpretation: Higher ATR β†’ more volatile stock β†’ wider stops; lower ATR β†’ less volatility.

πŸ—‚οΈ Data Sources & Transparency

Source: Yahoo Finance (via yfinance library). All historical OHLCV data is retrieved from Yahoo's public API.

Limitations: Yahoo Finance may have delays or inaccuracies for certain stocks (especially corporate actions). Stock360s does not provide real-time tick data; it is for historical and near-real-time analysis. Always verify with your broker before trading.

πŸ’‘ Practical Example: Analyzing RELIANCE.NS

Let’s walk through a real analysis using Stock360s charting tool.

  1. Enter ticker: "RELIANCE" (market = IN). System automatically converts to "RELIANCE.NS".
  2. Select period: 1 year (default). Chart loads with closing price line.
  3. Enable SMA200: Observe if price is above or below the 200-day moving average. If above β†’ long-term bullish context.
  4. Enable RSI: Check if RSI > 70 (overbought) or <30 (oversold). For RELIANCE in March 2026, RSI might be around 55 – neutral.
  5. Enable MACD: Look for MACD line crossing above Signal line – a bullish crossover. If histogram is green and rising, momentum is strong.
  6. Enable Bollinger Bands: If bands are narrow, expect a volatility breakout. If price touches upper band, consider profit-taking.
  7. Add support line: Enter 2400 in Support field – a green dashed line appears. If price bounces from 2400, that level is respected.

This structured process turns a simple line chart into a decision-support system.

βœ… Benefits of Using Stock360s Charting Engine

🧠 Common Mistakes & Misconceptions

πŸ‘₯ Use Cases by Trader Type

🌐 Other Assets (Crypto, Forex, Commodities)

Currently, Stock360s focuses on equities (NSE and US stocks). However, the same technical indicators apply to any tradable asset with price history. The methodology (SMA, RSI, MACD, Bollinger, ATR) is universal. Future updates may expand to cryptocurrencies and forex.

πŸ“Š Comparisons

SMA vs EMA

AspectSMAEMA
WeightEqualRecent prices weighted more
LagHigherLower
Best forLong-term trendShort-term entries
Stock360s periods50, 20020, 50

RSI vs MACD

AspectRSIMACD
Primary signalOverbought/oversoldTrend direction & momentum
Range0-100Unlimited
Best marketRangingTrending

Indian (NSE) vs US Stocks on Stock360s

FeatureIndian StocksUS Stocks
Ticker inputRELIANCE β†’ automatically .NSAAPL – no suffix
Data sourceYahoo Finance (same)
VolatilityGenerally higherVaries

πŸ”— Related Concepts & Tools

Stock360s offers a complete ecosystem:

πŸ› οΈ How Stock360s Implements These Indicators

Stock360s is not just a charting library – it’s a fully integrated technical analysis platform. Here’s what we provide that generic charting tools lack:

Try it live: Launch Interactive Demo β†’

πŸ“– Step-by-Step Usage Guide

  1. Log in to Stock360s and navigate to the Charts section.
  2. Enter a stock ticker (e.g., "RELIANCE" for Indian, "AAPL" for US). Press Enter or wait for auto-load.
  3. Select a time period from the dropdown (1 month, 3 months, 1 year, etc.).
  4. The main chart displays the closing price line.
  5. Check SMA 50 and SMA 200 – dashed lines appear. Observe price relative to these averages.
  6. Check Bollinger Bands – three bands around price. Look for squeezes or touches.
  7. Ensure RSI and MACD are checked (default). Separate panels will appear below.
  8. Interpret RSI: above 70 overbought, below 30 oversold.
  9. Interpret MACD: line crossovers generate signals; histogram shows momentum.
  10. Optional: Enter a Support price and Resistance price – horizontal lines appear on the main chart.
  11. Change time period to see how long-term trends differ from short-term moves.
  12. Uncheck indicators you don’t need to reduce noise.

❓ Frequently Asked Questions

1. What stock markets does Stock360s chart support?
Stock360s supports both Indian (NSE) and US stocks. For Indian stocks, simply enter the ticker symbol (e.g., "RELIANCE") and the system automatically adds ".NS". For US stocks, use standard symbols like "AAPL" or "MSFT".
2. How far back does historical data go?
Data is available for the entire history of the stock. You can select periods from 1 month up to "max" (all available historical data from Yahoo Finance).
3. How often is price data updated?
Data is fetched from Yahoo Finance and cached for 30 minutes. Each new request within the cache window returns the same data. After 30 minutes, the next request fetches fresh data. During market hours, Yahoo updates approximately every 15 minutes.
4. Why do I see "No historical data available"?
This typically happens for invalid ticker symbols, very newly listed stocks, or tickers with no trading history. Double-check the symbol and ensure you have selected the correct market (IN/US).
5. What's the difference between SMA and EMA?
SMA gives equal weight to all prices in the period. EMA gives more weight to recent prices, making it respond faster to price changes. Use SMA for longer-term trends and EMA for shorter-term trading.
6. What do the RSI numbers mean?
RSI ranges from 0 to 100. Generally, values above 70 indicate the stock may be overbought (potential sell signal), and values below 30 indicate oversold (potential buy signal). In strong trends, RSI can stay overbought or oversold for extended periods.
7. When should I use Bollinger Bands?
Bollinger Bands help identify volatility and potential breakout points. When the bands are narrow (a "squeeze"), it suggests low volatility and often precedes a significant price move. When price touches the upper band, the stock may be overbought; touching the lower band suggests oversold.
8. How do I interpret the MACD chart?
The MACD chart shows three elements: a blue MACD line, a red Signal line, and a histogram. A buy signal occurs when the MACD line crosses above the Signal line. A sell signal occurs when MACD crosses below Signal. The histogram shows the distance between the two lines – growing bars indicate strengthening momentum.
9. What is ATR used for?
ATR measures volatility. A higher ATR means larger daily price swings (wider stop-losses needed). A lower ATR means smaller swings. Traders use ATR to set stop-loss distances and determine position sizes.
10. How do I draw support and resistance lines?
Enter price levels in the Support and Resistance input fields below the indicator checkboxes. Support lines appear green, resistance lines appear red. They will show as horizontal dashed lines on the main chart.

Full 50 FAQs available in the complete article.

πŸ“š Glossary of Technical Terms

ATR (Average True Range)
Volatility indicator measuring average price range over 14 periods.
Bollinger Bands
Volatility bands placed 2 standard deviations above/below a 20-period SMA.
Crossover
When two moving average lines cross, generating a trading signal.
Death Cross
SMA50 crosses below SMA200 – bearish signal.
Divergence
Price makes new high/low but indicator does not confirm – reversal warning.
EMA (Exponential Moving Average)
Weighted average giving more importance to recent prices.
Golden Cross
SMA50 crosses above SMA200 – bullish signal.
MACD (Moving Average Convergence Divergence)
Momentum indicator from difference of 12- and 26-period EMAs.
OHLCV
Open, High, Low, Close, Volume – the five data points per period.
Overbought
Condition where price has risen too fast (RSI >70).
Oversold
Condition where price has fallen too fast (RSI <30).
Resistance
Price ceiling where selling pressure overcomes buying.
RSI (Relative Strength Index)
Momentum oscillator measuring speed of price changes (0-100).
SMA (Simple Moving Average)
Arithmetic average of prices over a specified period.
Squeeze (Bollinger)
When bands contract, indicating low volatility and potential breakout.
Support
Price floor where buying interest overcomes selling.
Ticker
Unique code representing a publicly traded stock.
Volatility
Statistical measure of price dispersion over time.

πŸ“– References

Start Analyzing Stocks Like a Pro

Stock360s gives you the same indicators used by professional traders – with zero setup.

Launch Interactive Chart Demo β†’

Free demo available. No credit card required.