Momentum Oscillators
Relative Strength Index with 14-period lookback.Range: 0 to 100Example: Location:
62.50Source: Dhan API technical snapshotExtraction:bulk_market_analyzer.py:261, 339Precision: Rounded to 2 decimal placesInterpretation:- RSI > 70: Overbought zone (potential reversal down)
- RSI 30-70: Neutral zone
- RSI < 30: Oversold zone (potential reversal up)
- Divergences between RSI and price can signal trend changes
Simple Moving Average (SMA) Status
Current price position relative to key Simple Moving Averages with percentage distance.Format: Location:
"SMA {period}: {Above/Below} ({pct}%) | SMA {period}: {Above/Below} ({pct}%)"Example: "SMA 20: Above (4.9%) | SMA 50: Above (24.1%)"Tracked Periods: 20, 50, 200Source: Dhan API advanced technical indicatorsExtraction Logic:bulk_market_analyzer.py:284-297, 341Components:- SMA 20: Short-term trend (1 month)
- SMA 50: Medium-term trend (2.5 months)
- SMA 200: Long-term trend (10 months)
- All Above: Strong uptrend
- All Below: Strong downtrend
- Mixed: Consolidation or transition phase
- Distance percentage indicates strength of trend
Exponential Moving Average (EMA) Status
Current price position relative to key Exponential Moving Averages with percentage distance.Format: Location:
"EMA {period}: {Above/Below} ({pct}%) | EMA {period}: {Above/Below} ({pct}%)"Example: "EMA 20: Above (6.3%) | EMA 200: Above (72.6%)"Tracked Periods: 20, 50, 200Source: Dhan API advanced technical indicatorsExtraction Logic:bulk_market_analyzer.py:299-311, 342Components:- EMA 20: Short-term momentum (reacts faster than SMA 20)
- EMA 50: Medium-term trend
- EMA 200: Long-term support/resistance
- EMAs give more weight to recent prices
- EMAs respond faster to price changes
- EMAs are preferred for momentum trading
Technical Sentiment Summary
Consolidated view of major technical indicators (RSI and MACD) with their current signals.Format: Location:
"RSI: {Bullish/Neutral/Bearish} | MACD: {Bullish/Neutral/Bearish}"Example: "RSI: Neutral | MACD: Bearish"Source: Dhan API advanced technical indicatorsExtraction Logic:bulk_market_analyzer.py:313-322, 343Action Values:- Bullish: Indicator suggests upward momentum
- Neutral: No clear directional bias
- Bearish: Indicator suggests downward momentum
- RSI Sentiment: Based on overbought/oversold levels
- MACD Sentiment: Based on MACD line vs signal line crossover
- Quick sentiment check at a glance
- Confluence detection (both bullish = stronger signal)
- Divergence detection (conflicting signals = caution)
Pivot Points
Classic pivot point level for intraday trading.Format: String representation of price levelExample: Location: Usage:
"245.50"Source: Dhan API advanced technical indicators (Classic Pivot Points)Extraction Logic:bulk_market_analyzer.py:324-329, 344Calculation (Classic Pivot):- Price > PP: Bullish bias
- Price < PP: Bearish bias
- Used to calculate support (S1, S2, S3) and resistance (R1, R2, R3) levels
"N/A" if pivot data unavailableAdditional SMA Data Points
Raw value of 50-day Simple Moving Average.Example: Location:
2450.80Source: Dhan API technical snapshotExtraction:bulk_market_analyzer.py:260Note: Used internally for calculating % distance in SMA Status fieldRaw value of 200-day Simple Moving Average.Example: Location:
2150.30Source: Dhan API technical snapshotExtraction:bulk_market_analyzer.py:259Note: Used internally for calculating % distance in SMA Status fieldData Sources
- Dhan API Technical Snapshot (
tech): RSI, SMA 50/200 raw values - Dhan API Advanced Technical Indicators (
adv_tech): SMA/EMA signals, Technical Indicators, Pivot Points
Calculation Notes
- All percentage distances are calculated relative to indicator value:
((price - indicator) / indicator) * 100 - Positive percentage = Price above indicator
- Negative percentage = Price below indicator
- Status strings use pipe separator (
|) for multiple indicators - Default values are
0.0for numeric fields and"N/A"for string fields when data unavailable
Source Code Reference
- Field extraction:
bulk_market_analyzer.py:257-344 - Advanced indicators parsing:
bulk_market_analyzer.py:283-329 - Output schema:
all_stocks_fundamental_analysis.json