People spend a lot of time tweaking rules, but the account you run them in can make a huge difference too.
To show it, I backtested about the simplest strategy there is. Hold a 3x Nasdaq-100 fund when the NDX is above its 200 day SMA. Move to T-bills when it's below. I started with $10,000 in October 1985 and ran it twice. Same signals both times. The only change was turning taxes on. TQQQ didn't exist until 2010, so this uses a simulated 3x fund.
Results
- Non-taxable ended around $16.5 million (19.7% a year)
- Taxable ended around $5.7 million (16.7% a year)
That's about $10.8 million less, or roughly 65% of the ending balance. The crazy part is that the total tax paid was only about $1.1 million. Most of the gap is growth you never got, because every dollar sent to taxes stopped compounding.
Why it hurts so bad
This rule averaged about 7 trades a year. Every time you sell at a gain after holding a year or less, it's usually taxed like regular income. You owe that along the way, so you have less money working for you later. Over 41 years that really adds up.
What about buy and hold?
Buy and hold ended around $3.2 million without selling, or about $2.5 million if you sold it all at the end and paid 20%. The 200 day rule beat it in both accounts here.
It was still a rough ride. The worst drop was about 89% without taxes and 90% with them. Buy and hold was even worse and lost more than 99.9% at its low.
Assumptions
Trades fill at the next close with a 0.10% cost each. The taxed run uses 24% federal on short term gains and 15% on long term gains, plus 5% state on both. Those same rates are used for every year, even though real tax rates changed over time. Your rates could be very different, and this is only a backtest on simulated data.
The takeaway
If you're going to run a strategy that trades, look at a Roth IRA or another tax-advantaged account first. A Roth can be tax free if you follow its rules. A traditional IRA delays the tax until you take money out. Both have yearly contribution limits.