Analyze dual-momentum sector rotation strategies with Sourcetable AI. Calculate relative and absolute momentum across sectors, optimize allocations, and backtest performance automatically—no complex formulas required.
Andrew Grosser
February 24, 2026 • 18 min read
January 2019: After a brutal Q4 2018 that cut 20% off the S&P 500, you're rebuilding a sector rotation system. Which sectors led the rebound? How do you rank them systematically? Market sectors rotate through cycles of outperformance and underperformance. Tech leads during economic expansion, utilities shine during uncertainty, and energy surges with commodity prices. Catching these rotations means the difference between 8% annual returns and 18% returns. But tracking momentum across eleven sectors, calculating relative strength, and rebalancing monthly creates a spreadsheet nightmare.
Dual-momentum sector rotation combines two powerful concepts: relative momentum (which sectors are winning right now) and absolute momentum (is the market trending up or down overall). This strategy systematically identifies the strongest sectors while protecting capital during market downturns. When SPY shows positive 12-month momentum and XLK (Technology) leads all sectors with 24% gains, you're fully invested in tech. When market momentum turns negative, you rotate to cash or bonds sign up free.
Dual-momentum sector rotation demands constant calculation and comparison. You're tracking relative performance across eleven sector ETFs (XLK, XLF, XLV, XLE, XLI, XLY, XLP, XLU, XLRE, XLB, XLC), calculating momentum scores using multiple timeframes, ranking sectors by strength, applying absolute momentum filters to the broad market, and generating monthly rebalancing signals. In Excel, this means building complex worksheets with VLOOKUP formulas to match sector prices, nested IF statements for ranking logic, array formulas for rolling returns, and manual chart updates to visualize sector strength.
Sourcetable's AI understands momentum investing terminology and sector rotation logic automatically. Upload a CSV with daily prices for all sector ETFs and the AI instantly recognizes the data structure. Ask 'Calculate 6-month momentum for each sector' and it computes returns across your specified lookback period without a single formula. Request 'Rank sectors by 3-month relative strength' and the AI sorts them from strongest to weakest, showing exact percentage gains and momentum scores.
The absolute momentum component—determining whether to be invested at all—requires comparing current prices to historical averages or calculating trend indicators. In Excel, you'd write formulas like =IF((CurrentPrice-AVERAGE(OFFSET(CurrentPrice,-252,0,252,1)))/AVERAGE(OFFSET(CurrentPrice,-252,0,252,1))>0, 'Invest', 'Cash') for a 12-month moving average crossover. With Sourcetable, you simply ask 'Is SPY above its 12-month moving average?' and get an immediate yes or no answer with supporting data.
Backtesting dual-momentum strategies in Excel means copying formulas across hundreds of rows, creating helper columns for each calculation step, and debugging circular references when your ranking logic references itself. Sourcetable handles the entire backtest through conversation: 'Backtest a strategy that holds the top 2 sectors by 6-month momentum when SPY is above its 200-day moving average, otherwise hold TLT.' The AI processes your entire price history, calculates monthly signals, simulates trades, and returns complete performance metrics including annual returns, maximum drawdown, Sharpe ratio, and win rate.
Visualization transforms from manual chart building to instant generation. Ask 'Show me sector momentum rankings over time' and Sourcetable creates a heatmap showing which sectors led each month. Request 'Chart my dual-momentum portfolio value versus buy-and-hold SPY' and you get a comparative equity curve with drawdown shading. These aren't static images—they're interactive charts you can filter, zoom, and update by asking follow-up questions.
Dual-momentum sector rotation captures market leadership while avoiding prolonged downturns. The strategy systematically moves capital to sectors showing the strongest price momentum, then rotates to safety when overall market trends turn negative. This combination of offense (relative momentum) and defense (absolute momentum) has historically delivered equity-like returns with significantly lower drawdowns. Institutional investors and tactical allocation funds use dual-momentum approaches to enhance risk-adjusted returns across market cycles.
Effective dual-momentum analysis requires calculating returns across multiple lookback periods—1-month for recent strength, 3-month for intermediate trends, 6-month for primary momentum, and 12-month for long-term trends. Many practitioners combine these timeframes with weighted averages: 12-month momentum gets 50% weight, 6-month gets 30%, 3-month gets 20%. In Excel, this means separate columns for each calculation, then a weighted average formula referencing all of them.
Sourcetable's AI calculates all momentum metrics simultaneously and applies any weighting scheme you specify. Ask 'Calculate composite momentum using 50% 12-month, 30% 6-month, and 20% 3-month returns for all sectors' and the AI computes weighted scores for XLK, XLF, XLV, and all other sector ETFs instantly. You see results in seconds, not after building and debugging complex formulas. When you want to test different weightings—maybe 40/30/30 instead—just ask again with new parameters. No formula editing, no copy-paste errors, no recalculation delays.
The core of relative momentum is ranking: which sectors are strongest right now? Excel ranking requires RANK.EQ or RANK.AVG functions, handling ties appropriately, and updating rankings as new data arrives. Then you need conditional logic to determine if your current holdings remain in the top ranks or if you should rotate to newly leading sectors. A typical rule: hold the top 3 sectors, rebalance only when a current holding drops out of the top 5 (to reduce turnover).
Sourcetable handles ranking and signal generation through natural language. Upload your current portfolio holdings and sector momentum data, then ask 'Which sectors rank in the top 3 by 6-month momentum?' You get an ordered list: 1) XLK +18.4%, 2) XLY +14.2%, 3) XLF +11.8%. Follow up with 'Are my current holdings still in the top 5?' and the AI compares your positions against current rankings, explicitly stating whether rebalancing is needed. If XLE (Energy) dropped from rank 3 to rank 7, Sourcetable tells you exactly that and suggests which sector should replace it.
Relative momentum tells you which sectors are winning, but absolute momentum tells you whether you should be playing the game at all. When SPY drops below its 200-day moving average or shows negative 12-month returns, even the 'strongest' sector might be down 15%. Absolute momentum filters rotate your portfolio to cash (SHY), bonds (TLT), or other defensive assets during these periods, avoiding the worst drawdowns.
Excel implementations require separate worksheets for market trend indicators, IF statements to check filter conditions, and complex logic to switch between offensive (sector) and defensive (cash/bonds) positions. Sourcetable consolidates this into simple questions: 'Is SPY showing positive 12-month momentum?' returns TRUE or FALSE with supporting data. 'Should I hold sectors or rotate to TLT based on SPY trend?' gives you a direct recommendation with reasoning: 'SPY is 8.2% below its 200-day MA and showing -4.3% 12-month return. Rotate to TLT.' The AI applies your absolute momentum rules automatically.
Before risking capital, you need to know how your dual-momentum strategy performed historically. Would it have avoided the 2008 crash? How often does it rebalance? What's the typical drawdown? Excel backtests require building transaction logs, calculating portfolio values at each rebalancing date, tracking cumulative returns, computing drawdowns from rolling peaks, and calculating risk metrics like Sharpe ratio and Sortino ratio. This easily becomes a 500-row spreadsheet with dozens of helper columns.
Sourcetable runs complete backtests through conversation. Specify your strategy rules: 'Backtest holding the top 2 sectors by 6-month momentum, rebalanced monthly, rotating to TLT when SPY 12-month return is negative, from 2010 to 2023.' The AI processes your entire dataset, simulates all trades, and returns comprehensive results: 12.4% annualized return, 18.2% maximum drawdown, 0.68 Sharpe ratio, 64% win rate, 8.2 trades per year. You also get year-by-year returns, monthly return distributions, and comparison metrics against buy-and-hold benchmarks. Want to test different rules? Just ask another question with modified parameters—no spreadsheet reconstruction needed.
Momentum is visual—you need to see which sectors are accelerating, which are rolling over, and how your portfolio compares to benchmarks. Excel charts require selecting data ranges, choosing chart types, formatting axes, and manually updating as new data arrives. Creating a sector rotation heatmap showing monthly leaders requires conditional formatting across a complex matrix.
Sourcetable generates visualizations instantly through AI. Ask 'Create a heatmap showing 6-month momentum for all sectors over the past year' and you get a color-coded matrix where green highlights strong sectors and red shows weakness. Request 'Chart my dual-momentum portfolio versus SPY with drawdown shading' and the AI produces a comparative equity curve with recession periods highlighted and drawdown zones shaded. These charts update automatically as you add new data—no manual reformatting or range adjustments. You can even ask 'Show me which sectors led during each market regime' and get regime-specific performance breakdowns with visual clustering.
Implementing dual-momentum sector rotation in Sourcetable takes minutes instead of hours. The AI handles data processing, momentum calculations, ranking logic, trend filtering, and signal generation through natural conversation. Here's the complete workflow from data upload to actionable trading signals.
Start by importing price histories for all eleven sector SPDR ETFs: XLK (Technology), XLF (Financials), XLV (Healthcare), XLE (Energy), XLI (Industrials), XLY (Consumer Discretionary), XLP (Consumer Staples), XLU (Utilities), XLRE (Real Estate), XLB (Materials), and XLC (Communication Services). Include SPY for your absolute momentum filter and TLT (20+ Year Treasury ETF) as your defensive position. Your CSV should have columns for Date, Ticker, and Close price.
Upload this file to Sourcetable—just drag and drop into your workspace. The AI automatically detects the date format, recognizes ticker symbols, and structures the data for analysis. You can source this data from Yahoo Finance, your broker's export tool, or any financial data provider. Sourcetable handles any reasonable date format (YYYY-MM-DD, MM/DD/YYYY, etc.) and currency formatting without preprocessing.
With data loaded, ask Sourcetable to calculate momentum across your chosen lookback periods. A common approach uses 6-month momentum as the primary signal. Type: 'Calculate 6-month total return for each sector ETF as of the most recent date.' The AI computes returns from 126 trading days ago (approximately 6 months) to the latest date for all sectors. You receive results like: XLK +18.4%, XLY +14.2%, XLF +11.8%, XLV +9.6%, XLI +8.1%, XLC +6.4%, XLP +4.2%, XLB +2.8%, XLU +1.4%, XLRE -2.1%, XLE -3.6%.
For more sophisticated implementations, calculate composite momentum using multiple timeframes. Ask: 'Create a composite momentum score using 50% weight on 12-month return, 30% on 6-month return, and 20% on 3-month return for each sector.' Sourcetable computes all three lookback periods, applies your specified weights, and returns a single composite score for each sector. This weighted approach balances long-term trends with recent momentum shifts, often improving strategy performance.
Once momentum is calculated, you need rankings to determine which sectors to hold. Ask: 'Rank all sectors by 6-month momentum from strongest to weakest.' Sourcetable returns an ordered list: 1) XLK, 2) XLY, 3) XLF, 4) XLV, continuing through all eleven sectors. The AI shows both the rank and the actual momentum percentage, making it easy to see relative strength differences.
Most dual-momentum strategies hold the top 2-4 sectors to concentrate in strength while maintaining some diversification. Decide your allocation: 'Show me the top 3 sectors by momentum.' Sourcetable highlights XLK, XLY, and XLF with their respective momentum scores. If you're currently holding different sectors, ask: 'Compare my current holdings (XLE, XLI, XLV) against the current top 5 rankings.' The AI tells you exactly which holdings have fallen out of favor and should be replaced.
Relative momentum identifies winners, but absolute momentum protects capital during bear markets. The most common filter checks whether SPY (S&P 500) shows positive momentum over a 12-month period. Ask: 'What is SPY's 12-month total return?' If the answer is positive (e.g., +11.2%), the market trend is up and you should hold your top-ranked sectors. If negative (e.g., -8.4%), rotate to your defensive position (typically TLT or cash).
Alternative absolute momentum filters include moving average crossovers. Ask: 'Is SPY currently above its 200-day moving average?' A 'Yes' answer means stay invested in sectors; 'No' means rotate to defense. Some strategies combine multiple filters: 'Is SPY showing positive 12-month return AND trading above its 200-day moving average?' This dual-condition approach reduces whipsaw trades during choppy markets. Sourcetable evaluates all conditions and provides a clear invest/defend signal.
Dual-momentum strategies typically rebalance monthly to balance responsiveness with transaction costs. At month-end, run through steps 2-4 to get updated rankings and trend signals. Ask: 'Based on current momentum rankings and SPY trend, should I rebalance my portfolio?' Sourcetable compares your current holdings against new signals and provides specific recommendations: 'SPY shows positive momentum. Current top 3 sectors are XLK, XLY, XLF. You currently hold XLK, XLE, XLV. Recommended action: Sell XLE and XLV, buy XLY and XLF.'
To reduce turnover, many implementations use a buffer zone. Instead of requiring holdings to stay in the top 3, they can remain as long as they stay in the top 5. Ask: 'Are my current holdings still in the top 5 by momentum?' If yes, no rebalancing needed. If a holding drops to rank 6 or lower, replace it with the highest-ranked sector you don't already own. This buffer reduces trading frequency from 8-10 times per year to 4-6 times, lowering transaction costs while maintaining most of the strategy's benefit.
Before committing capital, backtest your strategy across multiple market cycles. Tell Sourcetable your complete strategy rules: 'Backtest a strategy from 2010 to 2023 that holds the top 3 sectors by 6-month momentum, rebalanced monthly, rotating to 100% TLT when SPY 12-month return is negative, with equal weighting among selected sectors.' The AI simulates all rebalancing dates, calculates portfolio values, tracks trades, and returns comprehensive performance metrics.
Review results: annualized return (e.g., 13.2%), maximum drawdown (e.g., -22.4%), Sharpe ratio (e.g., 0.74), win rate (e.g., 67%), average trade duration, and turnover rate. Compare these to buy-and-hold SPY to assess whether the strategy's complexity justifies its results. Ask: 'How did this strategy perform during the 2020 COVID crash?' to understand behavior during specific market events. Sourcetable shows month-by-month returns during that period and whether the absolute momentum filter successfully rotated to defense.
Optimize parameters by testing variations. Try: 'Compare backtests using 3-month, 6-month, and 12-month momentum lookback periods.' Or: 'Test holding top 2 sectors versus top 4 sectors.' Sourcetable runs all variations and presents comparative results, helping you identify which parameters work best for your risk tolerance and market views. This iterative testing process that would take days in Excel happens in minutes through conversational AI.
Dual-momentum sector rotation adapts to various investment goals, account types, and market conditions. Traders use it for aggressive tactical allocation, retirement investors apply it to reduce drawdowns while maintaining growth, and financial advisors implement it for client portfolios seeking better risk-adjusted returns than passive indexing. Here are specific scenarios where the strategy delivers measurable value.
Sarah manages her $420,000 IRA and wants equity exposure without suffering through 50% drawdowns like 2008. She implements dual-momentum sector rotation using the top 2 sectors by 6-month momentum, rotating to TLT when SPY's 12-month return turns negative. Every month-end, she opens Sourcetable, uploads updated sector ETF prices, and asks 'What are the top 2 sectors by 6-month momentum and is SPY trend positive?' The AI responds in seconds: 'Top sectors: XLK +16.2%, XLY +12.8%. SPY 12-month return: +9.4%. Recommendation: Hold XLK 50%, XLY 50%.' She checks if this differs from current holdings and rebalances only when sectors change.
During the March 2020 COVID crash, SPY's 12-month return turned negative in April. Sourcetable's absolute momentum filter triggered: 'SPY 12-month return: -8.2%. Rotate to 100% TLT.' Sarah moved her entire portfolio to bonds, avoiding the worst of the drawdown. By June, when SPY momentum turned positive again, she rotated back to XLK and XLY, capturing the recovery. Over the full 2020 year, her portfolio returned +14.6% versus SPY's +18.4%, but with only -12% maximum drawdown versus SPY's -34%. For retirement accounts where capital preservation matters as much as growth, this risk reduction is invaluable. Sourcetable's simple monthly check-in process makes the strategy sustainable—no complex spreadsheet maintenance required.
Marcus runs a $2M trading account and wants more responsive sector rotation than standard 6-month momentum provides. He implements a composite momentum system: 40% weight on 3-month returns (recent strength), 30% on 6-month returns (intermediate trend), and 30% on 12-month returns (long-term momentum). He holds the top 4 sectors by composite score, rebalanced weekly, with no defensive rotation—he wants constant equity exposure but to the strongest sectors.
Every Friday after market close, Marcus uploads updated price data to Sourcetable and asks: 'Calculate composite momentum using 40% 3-month, 30% 6-month, 30% 12-month returns for all sectors and rank them.' The AI returns ranked results: 1) XLK (composite score: 15.8), 2) XLF (14.2), 3) XLY (12.6), 4) XLI (11.4), continuing through all sectors. He compares against current holdings. If a holding drops out of the top 6 (he uses a 2-rank buffer to reduce turnover), he rotates to the highest-ranked sector he doesn't own.
The multi-timeframe approach catches sector leadership changes faster than single-period momentum. When energy (XLE) surged in early 2022, the 3-month component recognized strength quickly while 12-month momentum was still neutral. Marcus rotated into XLE at +18% 3-month momentum; by the time 6-month momentum turned positive, XLE had already gained another 12%. His composite system captured this move weeks earlier than traditional 6-month strategies. Sourcetable's ability to calculate and weight multiple timeframes through a single question—'Calculate composite momentum using [weights]'—makes this sophisticated approach accessible without building complex weighted-average formulas across multiple columns.
Jennifer manages a family office portfolio and wants sector rotation that accounts for volatility differences. Technology (XLK) might show higher momentum than utilities (XLU), but it's also twice as volatile. She implements risk-parity weighting: select the top 4 sectors by momentum, then weight each inversely to its volatility so each contributes equal risk to the portfolio.
At month-end, Jennifer asks Sourcetable: 'Calculate 6-month momentum and 60-day volatility for all sectors.' The AI returns both metrics for each sector. She then asks: 'Which 4 sectors have the highest 6-month momentum?' Suppose the answer is XLK, XLY, XLF, XLI with volatilities of 22%, 18%, 16%, 14% respectively. She needs to weight them inversely to volatility. Rather than manually calculating inverse weights, she asks: 'Create risk-parity weights for these four sectors based on their volatilities.' Sourcetable computes: XLK 18%, XLY 22%, XLF 25%, XLI 35%—lower-volatility sectors get higher allocations.
This approach reduces portfolio volatility while maintaining momentum exposure. During volatile periods when XLK swings wildly, Jennifer's portfolio is less exposed than equal-weight momentum strategies. During calm periods when sector volatilities converge, allocations become more equal. The risk-parity overlay consistently improves Sharpe ratios—her backtest shows 0.81 Sharpe versus 0.68 for equal-weight momentum. Sourcetable makes this advanced technique practical by handling both momentum calculations and volatility-based weighting through natural language, eliminating the need for complex Excel formulas involving standard deviations and inverse weighting mathematics.
David is a financial advisor managing 47 client accounts ranging from $100K to $3M. He wants to implement dual-momentum sector rotation across all clients but can't spend hours each month updating individual spreadsheets. He uses Sourcetable as his central momentum calculation and signal generation system.
At month-end, David uploads sector ETF prices to Sourcetable once. He asks: 'Calculate 6-month momentum for all sectors, rank them, and tell me the top 3. Also check if SPY 12-month momentum is positive.' The AI provides complete signals: 'Top 3 sectors: XLK +17.2%, XLF +13.4%, XLY +11.8%. SPY 12-month return: +8.6% (positive). Recommendation: Hold XLK, XLF, XLY in equal weights.' This becomes his model portfolio signal for the month.
He then applies this signal across all client accounts, adjusting position sizes based on account values. A $500K account gets $166K in each of the three sectors; a $1.5M account gets $500K each. For clients with different risk tolerances, he modifies allocations: aggressive clients hold 100% in the model, moderate clients hold 70% model + 30% bonds, conservative clients hold 50% model + 50% bonds. But the core signal generation happens once in Sourcetable, eliminating redundant calculation work.
David also uses Sourcetable for client reporting. He asks: 'Compare the dual-momentum strategy performance versus SPY buy-and-hold for 2023.' The AI generates return comparisons, drawdown metrics, and monthly performance—data he includes in quarterly client reports to demonstrate the strategy's value. This centralized approach saves him 8-10 hours per month versus maintaining individual Excel files for each client, while ensuring all accounts use consistent, error-free momentum calculations. Try Sourcetable's advisor-friendly approach at sign up free.
If your question is not covered here, you can contact our team.
Contact Us