PROTECTED SOURCE SCRIPT
NVentures January Trifecta

A comprehensive implementation of the January Trifecta methodology, combining three proven seasonal indicators into a unified scoring system with institutional context layers.
๐ฏ WHAT THIS INDICATOR DOES
This indicator tracks and scores three well-documented January seasonality patterns that have historically predicted full-year market direction:
โ๏ธ HOW IT WORKS
Trifecta Scoring (0-3):
Each component adds +1 to the score when positive:
Context Layer Scoring (0-3):
Additional confirmation signals:
Total Score: 0-6 points combining both layers for a complete market regime assessment.
๐ UNIQUE FEATURES
What sets this implementation apart from basic seasonal indicators:
๐ HISTORICAL CONTEXT (S&P 500, 1950-2024)
The January indicators have been documented in the Stock Trader's Almanac and studied extensively:
Base Rate Reminder: US equity markets have been positive approximately 70% of all years regardless of January signals. Always consider this when interpreting results.
๐ง HOW TO USE
Settings:
โ ๏ธ IMPORTANT DISCLAIMERS
๐ METHODOLOGY CREDITS
The January Trifecta concept builds on seasonal market research popularized through the Stock Trader's Almanac. The individual components (Santa Claus Rally, First Five Days, January Barometer) are well-established in market literature.
This implementation adds original features including the dual-layer scoring system, context integration, real-time tracking dashboard, and automated signal detection.
NVentures. Unconventional Alpha.
๐ฏ WHAT THIS INDICATOR DOES
This indicator tracks and scores three well-documented January seasonality patterns that have historically predicted full-year market direction:
- Santa Claus Rally โ Measures performance during the last 5 trading days of December + first 2 trading days of January. This 7-day window has shown a historical tendency toward positive returns. When it fails significantly, it often warns of trouble ahead.
- First Five Days โ Tracks the first 5 trading days of January. Historically, when these days show gains โฅ2%, full-year returns have been positive with high consistency.
- January Barometer โ "As January goes, so goes the year" - This classic market adage tracks full-month January performance as a predictor for the remaining 11 months.
โ๏ธ HOW IT WORKS
Trifecta Scoring (0-3):
Each component adds +1 to the score when positive:
- Santa Rally > 0% โ +1
- First Five Days > 0% โ +1
- January Barometer > 0% โ +1
Context Layer Scoring (0-3):
Additional confirmation signals:
- Price above 200-day MA โ +1 (trend confirmation)
- YTD performance positive โ +1 (momentum)
- Prior year was negative + Trifecta bullish โ +1 (mean reversion multiplier)
Total Score: 0-6 points combining both layers for a complete market regime assessment.
๐ UNIQUE FEATURES
What sets this implementation apart from basic seasonal indicators:
- Real-Time Dashboard โ Live tracking of all three components with status updates, return percentages, and completion states. No manual calculations needed.
- Automatic Trading Day Counting โ Correctly counts actual trading days (not calendar days) for accurate window detection across all markets.
- Context Layer Integration โ Goes beyond the basic trifecta by adding trend regime (200 MA), momentum (YTD), and mean-reversion context (prior year performance).
- Post-Bear Market Detection โ Automatically identifies when a 3/3 bullish trifecta follows a negative prior year - historically the highest conviction setup.
- Visual Zones โ Background highlighting shows when Santa Rally and First Five Days windows are active.
- Multi-Index Support โ Optimized display for S&P 500, NASDAQ 100, Dow Jones, Russell 2000, and DAX with automatic instrument detection.
- Configurable Alerts โ Set alerts for Santa failures, trifecta completion, and special high-conviction signals.
๐ HISTORICAL CONTEXT (S&P 500, 1950-2024)
The January indicators have been documented in the Stock Trader's Almanac and studied extensively:
- Trifecta 3/3 Bullish: ~90% of years saw positive full-year returns
- Post-Bear Trifecta: When 3/3 bullish follows a down year, historical accuracy has been exceptionally high
- Santa Failure Warning: Significant Santa declines have often preceded challenging years
- First Five โฅ2%: Strong early January gains have correlated with positive years
Base Rate Reminder: US equity markets have been positive approximately 70% of all years regardless of January signals. Always consider this when interpreting results.
๐ง HOW TO USE
- Apply to DAILY timeframe (required for accurate calculations)
- Best used on major indices (SPX, NDX, DJI, RUT, DAX)
- Monitor dashboard during late December through January
- Watch for component completion and score updates
- Use context layer for additional confirmation
- Consider setting alerts for key signals
Settings:
- First 5 Days Threshold: Adjust the "strong signal" percentage (default 2%)
- Show/hide 200 MA and YTD reference lines
- Dashboard position and size customization
- Alert toggles for different signal types
โ ๏ธ IMPORTANT DISCLAIMERS
- Historical statistics are based on S&P 500 data and may not apply equally to other instruments
- Past performance does not guarantee future results
- Seasonal patterns can and do fail โ always use proper risk management
- This indicator is for informational purposes and does not constitute financial advice
- Always combine with other analysis methods and your own due diligence
๐ METHODOLOGY CREDITS
The January Trifecta concept builds on seasonal market research popularized through the Stock Trader's Almanac. The individual components (Santa Claus Rally, First Five Days, January Barometer) are well-established in market literature.
This implementation adds original features including the dual-layer scoring system, context integration, real-time tracking dashboard, and automated signal detection.
NVentures. Unconventional Alpha.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations โ learn more here.
ยฉ NVentures. Educational purposes onlyโnot financial advice. No warranties. Users assume full responsibility. Professional use requires methodology understanding. Unauthorized reproduction prohibited. Feedback welcome via DM.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations โ learn more here.
ยฉ NVentures. Educational purposes onlyโnot financial advice. No warranties. Users assume full responsibility. Professional use requires methodology understanding. Unauthorized reproduction prohibited. Feedback welcome via DM.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.