technical_indicators
Calculate technical indicators like RSI, MACD, and Bollinger Bands for stocks to generate buy/sell signals. Supports Indian and US markets with local computation.
Instructions
Compute technical indicators for a stock with buy/sell signals.
Calculates RSI, MACD, SMA (20/50/200), EMA, Bollinger Bands, ATR, Stochastic, ADX, OBV — all computed locally, no API cost.
Works for Indian (NSE/BSE) and US stocks.
Args: symbol: Stock ticker (e.g., RELIANCE, TCS, AAPL, TSLA) period: Data period for calculation: 3mo, 6mo, 1y, 2y (default: 6mo) indicators: Comma-separated list of specific indicators. Options: RSI, MACD, SMA, EMA, BBANDS, ATR, STOCH, ADX, OBV Leave empty for ALL indicators.
Examples: technical_indicators("RELIANCE") → All indicators for Reliance technical_indicators("AAPL", "1y") → Apple with 1 year data technical_indicators("TCS", "6mo", "RSI,MACD,SMA") → Only RSI, MACD, SMA
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| period | No | 6mo | |
| indicators | No |