E-RSI: Enhanced Relative Strength Index System
▼
E-RSI (Enhanced RSI) represents a significant evolution in technical analysis,
transforming the traditional Relative Strength Index into a sophisticated,
context-aware trading indicator. This advanced system addresses the fundamental
limitations of standard RSI by incorporating macroeconomic factors and market
sentiment into its calculations.
Key Innovations:
• Canonical RSI Preservation: Maintains true RSI values within [0,100] bounds
using Wilder's exponential smoothing formula, ensuring mathematical integrity.
• Global M2 Integration: Incorporates GDP-weighted money supply data from
5 major economies (US 35%, EU 22%, China 25%, Japan 10%, UK 8%) to capture global
liquidity conditions.
• M2 Nowcasting: Employs high-frequency proxy data (Fed Balance Sheet,
Treasury accounts, Bank Reserves) to estimate real-time M2 growth, addressing the
typical 2-4 week data lag.
• Sentiment Analysis: Processes news articles with exponential recency
weighting (λ=0.1) to quantify market psychology and investor sentiment.
• Z-Score Normalization: Applies conditional statistics based on regime
identification, providing context-aware signal interpretation.
• Dynamic Thresholds: Replaces static 70/30 levels with adaptive thresholds
that adjust based on M2 regime, sentiment regime, and market volatility.
Advanced Features:
• Regime Classification: Identifies 4 M2 regimes (Expansion, Above Average,
Below Average, Contraction) and 4 sentiment regimes (Very Positive, Positive,
Negative, Very Negative) using percentile-based classification.
• Multi-Asset Support: Automatic asset class detection with optimized
parameters for Equities, Cryptocurrencies, Commodities, FX, and Fixed Income.
• Enhanced Backtesting: Includes Sortino Ratio (downside deviation),
Calmar Ratio (return/max drawdown), and bootstrap confidence intervals.
• Parameter Calibration: Walk-forward optimization with nested cross-validation
and L2 regularization to prevent overfitting.
Signal Generation:
The system generates 7 distinct signals based on both RSI levels and Z-score analysis:
• STRONGLY_OVERSOLD (RSI < oversold & Z < -2)
• MODERATELY_OVERSOLD (RSI < oversold & -2 ≤ Z < -1)
• OVERSOLD (RSI < oversold)
• NEUTRAL (oversold ≤ RSI ≤ overbought)
• OVERBOUGHT (RSI > overbought)
• MODERATELY_OVERBOUGHT (RSI > overbought & 1 < Z ≤ 2)
• STRONGLY_OVERBOUGHT (RSI > overbought & Z > 2)
This comprehensive approach enables more nuanced trading decisions by considering
volatility. The result is a
more robust tool designed to reduce misleading
signals, extend its applicability across asset classes like
equities, cryptocurrencies, and commodities, and provide traders
with adaptive insights that align momentum analysis with
real-world market dynamics.
For more information go to our blog read the paper: https://blog.macropulze.com
full production-ready capabilities including M2 nowcasting, multi-asset support, enhanced backtesting metrics, and adaptive parameter calibration. Explore the new features using real market data or try our ACME demo.
VIEW ACME DEMO →Disclaimer: This is a prototype implementation of the paper titled "Enhancing the Relative Strength Index with Global M2 Money Supply and News Sentiment: A Context-Aware Technical Indicator." Please note that this is not financial advice—it serves solely as a demonstration of AI capabilities.
━━━ ANALYSIS RESULTS ━━━
PRICE DATA
RSI VALUES
ENHANCEMENT FACTORS
THRESHOLDS
CALCULATION EXPLANATIONS
▶RSI VALUES
Relative Strength Index - measures momentum by
comparing recent gains vs losses over 14
periods.
• >70 = Potentially overbought (sell
signal)
• <30 = Potentially oversold (buy
signal)
Standard RSI adjusted by market sentiment and
monetary conditions.
Formula: Standard RSI × (M2 Factor ×
Sentiment Factor)
More responsive to
current market environment.
ENHANCEMENT FACTORS
Money supply growth adjustment (±10% max).
• >1.0 = Higher money supply growth
(bullish)
• <1.0 = Lower money supply
growth (bearish)
• =1.0 = Normal growth
(~7% annually)
News sentiment analysis adjustment (±5% max).
• >1.0 = Positive news sentiment
•
<1.0 = Negative news sentiment
• =1.0 =
Neutral sentiment
Dynamic threshold adjustment based on price
volatility.
Higher volatility = Wider
overbought/oversold zones
Applied to
thresholds, not RSI values directly.
THRESHOLDS
Base: 70 + Volatility Adjustment
When E-RSI exceeds this level,
consider selling.
Base: 30 - Volatility Adjustment
When E-RSI falls below this level,
consider buying.
HOW TO USE
1. Compare both signals: E-RSI
provides more context-aware analysis
2.
Watch for divergence: When Enhanced and
Standard RSI disagree, market conditions are unusual
3. Consider thresholds: Dynamic
thresholds adapt to current volatility
4.
Combine with other analysis: Use as
part of broader trading strategy
━━━ MARKET CONTEXT ━━━
M2 MONEY SUPPLY
NEWS SENTIMENT
MARKET CONTEXT EXPLANATIONS
▶M2 MONEY SUPPLY
M2 includes cash, checking deposits, savings deposits, and small time deposits. It represents the money supply available for spending and investment.
• YOY Growth: Year-over-year
percentage change
•
MOM Growth: Month-over-month
percentage change
•
Historical Average: ~7%
annually
• High Growth (>7%): More
liquidity → Bullish for stocks
•
Normal Growth (≈7%): Balanced
conditions
•
Low Growth (<7%): Less
liquidity → Bearish for stocks
Factor = 1 + 0.1 × (Growth - 7%) / 7%
Applied to E-RSI to reflect
monetary conditions
NEWS SENTIMENT
AI analyzes recent news headlines and descriptions using VADER sentiment analysis. Processes 3-5 most recent articles about the stock.
• Range: -1.0 (most negative)
to +1.0 (most positive)
•
Neutral: Around 0.0
•
Compound Score: Combines
positive, negative, and neutral
• Positive News: Factor >1.0 →
Increases E-RSI
•
Negative News: Factor <1.0 →
Decreases E-RSI
•
Neutral News: Factor ≈1.0 → No
significant change
Factor = 1 + 0.05 × Sentiment Score
Maximum ±5% adjustment to E-RSI
DATA SOURCES
• Primary: Federal Reserve
Economic Data (FRED)
•
Fallback: Simulated based on
current economic conditions
•
Update Frequency: Monthly
(cached for 1 week)
• Primary: NewsAPI + Yahoo
Finance
• Analysis: VADER
Sentiment Intensity Analyzer
•
Update Frequency: Real-time
(cached for 1 hour)
INTERPRETATION NOTES
• Combine Both Factors: M2 provides
macroeconomic context, sentiment adds stock-specific
news
• Time Sensitivity:
Sentiment is more volatile, M2 changes slowly over time
• Market Conditions: Factors may
have different impacts during bull vs bear markets
• Use as Context: These are
supplementary indicators, not standalone trading signals
━━━ SIGNAL INTERPRETATION ━━━
━━━ HISTORICAL ANALYSIS ━━━
Processing E-RSI for each historical date...
RSI COMPARISON - LAST 365 DAYS
ENHANCEMENT WEIGHT FACTORS
Weight factors multiply the original enhancement factors. 1.0 = default strength, 0.0 = disabled, 5.0 = maximum strength
DRAWDOWN ANALYSIS
E-RSI MULTI-FACTOR DECOMPOSITION
NEWS SENTIMENT ANALYSIS
SENTIMENT HISTORY
PRICE CHART - LAST 365 DAYS
━━━ CACHED CALCULATIONS ━━━
RECENT RSI CALCULATIONS
| SYMBOL | DATE RANGE | CACHED AT | ACTION |
|---|---|---|---|
| Loading cached calculations... | |||
━━━ CACHED RESULT DETAILS ━━━
CACHED PRICE DATA
CACHED RSI VALUES
CACHED FACTORS
ℹ️ This is a cached result - data may not reflect current market conditions
Charts are not available for cached results due to access restrictions.