PROTECTED SOURCE SCRIPT
Updated NVentures Yale Hirschs Trifecta

๐ฏ OVERVIEW
The NVentures January Trifecta System is an institutional-grade seasonality dashboard that combines the three most important January indicators from Yale Hirsch's Stock Trader's Almanac into a single, comprehensive tool.
The January Trifecta combines:
Enhanced with a Context Layer:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ HISTORICAL STATISTICS (S&P 500, 1950-2024)
โ ๏ธ BASE RATE REMINDER: The S&P 500 closes positive in approximately 71% of all years. Trifecta statistics must be evaluated against this baseline.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ SANTA CLAUS RALLY
Period: Last 5 trading days of December + First 2 trading days of January (7 trading days total)
The Santa Claus Rally is less of a buy signal and more of a WARNING SYSTEM. When the rally fails (negative performance), historically 5 out of 6 extreme failures preceded negative or below-average market years.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ FIRST FIVE DAYS (Early Warning System)
Period: First 5 trading days of January
Reference: Close of the last trading day in December
The "First Five Days Early Warning System" is particularly meaningful with STRONG signals:
โ ๏ธ IMPORTANT: The predictive power is ASYMMETRIC - positive signals are significantly more reliable than negative ones.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ JANUARY BAROMETER
Period: Entire month of January
Reference: Close of the last trading day in December
"As goes January, so goes the year" - this market wisdom was first documented by Yale Hirsch in the 1972 Stock Trader's Almanac.
The theoretical basis: The 20th Amendment to the U.S. Constitution (1933) concentrates important political activities in January:
This creates market impulses that can shape the entire year.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ CONTEXT LAYER
The system enhances the classic Trifecta with three context factors:
๐ 200-DAY MOVING AVERAGE
The institutional standard for determining long-term trend.
Displayed as an orange line on the chart.
๐ YEAR-TO-DATE REFERENCE LINE
Horizontal line at the close level of the previous year's end. Enables immediate visual assessment of YTD performance.
Displayed as a gold line on the chart.
๐ป PRIOR YEAR PERFORMANCE (Bear Market Multiplier)
โญ THE STRONGEST SIGNAL IN THE ENTIRE SYSTEM! โญ
When the prior year was negative (bear market) AND the Trifecta is 3/3 bullish:
Examples:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ DASHBOARD
The dashboard displays in real-time:
TRIFECTA COMPONENTS
CONTEXT LAYER
TRIFECTA SCORE
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ ALERT SYSTEM
The indicator provides 5 pre-configured alert types:
๐ด SANTA CLAUS RALLY FAILURE (Highest Priority)
Trigger: Santa Rally Return < -1%
"If Santa fails to call, bears may come to Broad and Wall"
๐ฅ POST-BEAR TRIFECTA (Highest Confidence)
Trigger: Prior year negative + Trifecta 3/3 bullish
Historical Accuracy: 100% | Avg Return: +22.1%
๐ฅ FIRST FIVE DAYS STRONG (โฅ2%)
Trigger: First Five Days Return โฅ 2%
Historical: 100% of years positive
โ TRIFECTA COMPLETE (Bullish)
Trigger: All 3 components positive
Accuracy: 90.6% | Avg Return: +17.7%
โ ๏ธ MIXED SIGNALS
Trigger: 1-2 of 3 components positive
Accuracy: ~60% - elevated uncertainty
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ๏ธ SETTINGS
TRIFECTA SETTINGS
CONTEXT LAYER
DASHBOARD
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ USAGE NOTES
โ RECOMMENDED USE:
โ ๏ธ IMPORTANT LIMITATIONS:
๐ฏ BEST PRACTICES:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ SOURCES & METHODOLOGY
Calculation methodology follows the exact definitions from the Stock Trader's Almanac. All returns are calculated close-to-close on trading days.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๏ธ DISCLAIMER
This indicator is for informational and educational purposes only. It does not constitute investment advice or a solicitation to buy/sell financial instruments.
Investments in financial instruments involve risks and can lead to loss of invested capital.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
NVentures. Unconventional Alpha.
The NVentures January Trifecta System is an institutional-grade seasonality dashboard that combines the three most important January indicators from Yale Hirsch's Stock Trader's Almanac into a single, comprehensive tool.
The January Trifecta combines:
- []๐
Santa Claus Rally (last 5 trading days of Dec + first 2 trading days of Jan)
[]๐ First Five Days (first 5 trading days of January) - ๐ January Barometer ("As goes January, so goes the year")
Enhanced with a Context Layer:
- []๐ 200-Day Moving Average (trend regime)
[]๐ Year-to-Date Reference Line (performance tracking) - ๐ป Prior Year Performance (bear market multiplier)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ HISTORICAL STATISTICS (S&P 500, 1950-2024)
- []Trifecta 3/3 Bullish โ 90.6% Accuracy โ Avg +17.7%
[]Trifecta 3/3 after Bear Year โ 100.0% Accuracy โ Avg +22.1% โญ
[]First Five Days โฅ +2% โ 100.0% Accuracy โ Avg +16.8% โญ
[]Santa Claus Rally positive โ 78.0% Accuracy โ Avg +10.4%
[]January Barometer positive โ 86.5% Accuracy โ Avg +16.2%
[]Mixed Signals (1-2/3) โ ~60% Accuracy โ Avg +2.9% - Santa Claus Rally FAILURE โ โ ๏ธ WARNING: "Bears may come to Broad and Wall"
โ ๏ธ BASE RATE REMINDER: The S&P 500 closes positive in approximately 71% of all years. Trifecta statistics must be evaluated against this baseline.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ SANTA CLAUS RALLY
Period: Last 5 trading days of December + First 2 trading days of January (7 trading days total)
"If Santa Claus should fail to call, bears may come to Broad and Wall." - Yale Hirsch
The Santa Claus Rally is less of a buy signal and more of a WARNING SYSTEM. When the rally fails (negative performance), historically 5 out of 6 extreme failures preceded negative or below-average market years.
- []Historical Win Rate: 78%
[]Average Return when positive: +1.3%
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ FIRST FIVE DAYS (Early Warning System)
Period: First 5 trading days of January
Reference: Close of the last trading day in December
The "First Five Days Early Warning System" is particularly meaningful with STRONG signals:
- []First Five Days โฅ +2.0% โ 100% of years ended positive![]First Five Days > 0% โ 83% accuracy for positive full year
- First Five Days < 0% โ Only 54% accuracy (barely better than a coin flip)
โ ๏ธ IMPORTANT: The predictive power is ASYMMETRIC - positive signals are significantly more reliable than negative ones.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ JANUARY BAROMETER
Period: Entire month of January
Reference: Close of the last trading day in December
"As goes January, so goes the year" - this market wisdom was first documented by Yale Hirsch in the 1972 Stock Trader's Almanac.
The theoretical basis: The 20th Amendment to the U.S. Constitution (1933) concentrates important political activities in January:
- []Start of new Congressional sessions
[]State of the Union Address - Budget presentations
This creates market impulses that can shape the entire year.
- []Accuracy when January positive: 86.5%
[]Accuracy when January negative: ~54% (coin flip!)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ CONTEXT LAYER
The system enhances the classic Trifecta with three context factors:
๐ 200-DAY MOVING AVERAGE
The institutional standard for determining long-term trend.
- []Price > 200 MA = Bullish regime โ
[]Price < 200 MA = Bearish regime โ
Displayed as an orange line on the chart.
๐ YEAR-TO-DATE REFERENCE LINE
Horizontal line at the close level of the previous year's end. Enables immediate visual assessment of YTD performance.
- []Price > YTD line = Year in profit โ
[]Price < YTD line = Year in loss โ
Displayed as a gold line on the chart.
๐ป PRIOR YEAR PERFORMANCE (Bear Market Multiplier)
โญ THE STRONGEST SIGNAL IN THE ENTIRE SYSTEM! โญ
When the prior year was negative (bear market) AND the Trifecta is 3/3 bullish:
- []Historical Accuracy: 100% (13 out of 13 cases since 1949)
[]Average Annual Return: +22.1% - EVERY single case delivered double-digit gains
Examples:
- []2023: After bear year 2022 (-19.4%) โ Trifecta bullish โ +24.2%[]2019: After Q4/2018 correction โ Trifecta bullish โ +28.9%
- 2009: After 2008 crash (-38.5%) โ Trifecta bullish โ +23.5%
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ DASHBOARD
The dashboard displays in real-time:
TRIFECTA COMPONENTS
- []๐
Santa Claus Rally - Status (Pending/Bullish/Failed) + Return %
[]๐ First Five Days - Status (Day X/5) + Return % - ๐ January Barometer - Status (Pending/Bullish/Bearish) + Return %
CONTEXT LAYER
- []๐ Price vs 200 MA - Above/Below + Distance %
[]๐ YTD Performance - Positive/Negative + Return % - ๐ป Prior Year - Bull/Bear Year + Return %
TRIFECTA SCORE
- []Score: X/3 (with pending count)
[]Context Score: X/3
[]Historical probability and expected return when components complete
[]Special signals highlighted (Post-Bear Trifecta, Santa Failure, Strong F5D)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ ALERT SYSTEM
The indicator provides 5 pre-configured alert types:
๐ด SANTA CLAUS RALLY FAILURE (Highest Priority)
Trigger: Santa Rally Return < -1%
"If Santa fails to call, bears may come to Broad and Wall"
๐ฅ POST-BEAR TRIFECTA (Highest Confidence)
Trigger: Prior year negative + Trifecta 3/3 bullish
Historical Accuracy: 100% | Avg Return: +22.1%
๐ฅ FIRST FIVE DAYS STRONG (โฅ2%)
Trigger: First Five Days Return โฅ 2%
Historical: 100% of years positive
โ TRIFECTA COMPLETE (Bullish)
Trigger: All 3 components positive
Accuracy: 90.6% | Avg Return: +17.7%
โ ๏ธ MIXED SIGNALS
Trigger: 1-2 of 3 components positive
Accuracy: ~60% - elevated uncertainty
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ๏ธ SETTINGS
TRIFECTA SETTINGS
- First 5 Days Strong Signal (%): Threshold for "strong" signal (Default: 2%)
CONTEXT LAYER
- []Show 200-Day MA: Toggle 200 MA display
[]Show YTD Reference Line: Toggle year-start reference line - MA Length: Moving average length (Default: 200)
DASHBOARD
- []Show Dashboard: Toggle dashboard visibility
[]Dashboard Position: Top Right/Left, Bottom Right/Left - Dashboard Size: Small/Normal/Large
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ USAGE NOTES
โ RECOMMENDED USE:
- []Timeframe: DAILY (1D) - The indicator is designed for daily candles
[]Instruments: US indices (SPY,
QQQ,
DIA,
IWM) for validated statistics
- Also applicable to: Individual stocks, FX, Crypto (trend layer is universal)
โ ๏ธ IMPORTANT LIMITATIONS:
- []Historical statistics are primarily validated for US indices[]International markets show weaker/no January effects (DAX: only 45.5% accuracy)[]Negative Trifecta signals have only ~54% accuracy (coin flip!)
[]The Trifecta is a CONFIRMATION tool, not a timing system - Remember the base rate: Markets are positive ~71% of years anyway
๐ฏ BEST PRACTICES:
- []Use the Trifecta for RISK CALIBRATION, not market timing
[]The strongest signal is the POST-BEAR TRIFECTA (100% historical)
[]Santa Failures are WARNINGS - increase cash/hedges on failure
[]First Five Days โฅ 2% is rare but very powerful - Combine with other analysis methods - never use in isolation
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ SOURCES & METHODOLOGY
- []Yale Hirsch: Stock Trader's Almanac (since 1968)[]Jeff Hirsch: Almanac Investor (current research)[]Cooper, McConnell, Ovtchinnikov (2006): "The Other January Effect" - Journal of Financial Economics (Fama-DFA Prize Winner)[]LPL Financial Research: Seasonal Pattern Analysis
- Ned Davis Research: Bull/Bear Market Definitions
Calculation methodology follows the exact definitions from the Stock Trader's Almanac. All returns are calculated close-to-close on trading days.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๏ธ DISCLAIMER
This indicator is for informational and educational purposes only. It does not constitute investment advice or a solicitation to buy/sell financial instruments.
- []Past performance is not a reliable indicator of future results
[]Seasonal patterns can change or disappear
[]Academic studies show weakening of the January effect since 2000
[]Every investor is responsible for their own decisions
Investments in financial instruments involve risks and can lead to loss of invested capital.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
NVentures. Unconventional Alpha.
Release Notes
Update of Dashboard Titel.Release Notes
Updates Code-Stile and Chart-Picture.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.