Technical Indicators
Implemented Indicators
Moving Averages
| Indicator | Type | Period |
|---|---|---|
| SMA | Simple Moving Average | Configurable (10, 20, 50, 200) |
| EMA | Exponential Moving Average | Configurable (9, 21, 55) |
| VWAP | Volume Weighted Average Price | Daily |
Oscillators
| Indicator | Description |
|---|---|
| RSI | Relative Strength Index (14-period) |
| Stochastic | %K/%D (14,3,3) |
Volatility
| Indicator | Description |
|---|---|
| ATR | Average True Range (14-period) |
| Bollinger Bands | 20 SMA ± 2 std dev |
Chart Integration
Indicators are rendered via the Lightweight Charts library on the frontend (frontend/src/pages/).
Adding a New Indicator (Developer Notes)
- Compute the indicator values in the FastAPI endpoint or in the frontend from OHLCV data.
- Add a new line series to the existing chart:
const indicatorSeries = chart.addLineSeries({ color: '#2196f3', lineWidth: 1 });indicatorSeries.setData(indicatorData);
- Add toggle button to the chart toolbar.
Planned Indicators (v2.0)
| Indicator | Priority |
|---|---|
| MACD (12,26,9) | High |
| ADX / DMI | Medium |
| OBV (On Balance Volume) | Medium |
| Supertrend | High |
| Pivot Points (daily/weekly/monthly) | High |
| Market Profile (TPO) | Low |
NSE-Specific Indicators
| Indicator | Source | Description |
|---|---|---|
| Put/Call Ratio | scr_nsefo_eod | Total PE OI / Total CE OI |
| FII DII Activity | External import | Net buy/sell by institution type |
| India VIX | scr_nseeq_eod | Implied volatility index |
| Max Pain | scr_nsefo_eod | Strike where option writers lose least |
See Architecture for charting library details.