Skip to content
Home / Strategy Store / Long-Term Stock Trend Trading
Trend Following US Stock Market · SPY EasyLanguage · TradeStation

Long-Term Stock Trend Trading

A low-frequency system that stays invested through bull trends and steps aside to cash during major downturns.

2.00
Profit Factor
11.3%
CAGR (Annual Return)
38.5%
Win Rate
122,571%
Percent Gain
One-time purchase
$299
Instant download · Yours forever
  • EasyLanguage source code (.ELD)
  • TradeStation workspace (.TSW)
  • Quick start guide
  • Back-test report
  • Lifetime updates — free
  • Q&A access with Kurt
Capital to trade this Any account size It simply holds a broad-market ETF or index fund (SPY, VOO, or a 401(k) index option) and moves to cash on its bear signal, so a few thousand dollars is enough. The published figures use the default 200% position cap — 2:1 Reg T margin — and the model sits at that cap on about two-thirds of trades. A 401(k), IRA or mutual-fund account cannot borrow: set maxPositionPct to 100 for those, which holds the position fully invested and never on margin, and expect lower returns than the table above. Illustrative only — not a recommendation.
Secure checkout · SSL encrypted Credit card or PayPal
Because full source code is delivered on purchase, all sales are final. Please review the back-test data before buying.
Back-tested equity curve
Long-Term Stock Trend Trading back-tested equity curve
Performance statistics
Metric
Value
Profit Factor
2.00
CAGR (Annual Return)
11.3%
Win Rate
38.5%
Percent Gain
122,571%
Modeled Capital
$25,000
Total Trades
174
Avg Hold
100.5 days
Metric
Value
Live (Out-of-Sample)
2016–2026
Backtest
1960–2015
Max Drawdown
26.0%
Trade Types
Long · Trend Following
Platform
TradeStation / MultiCharts
Code language
EasyLanguage
Capital to trade
Any account size

A full back-test report — profit factor, net profit, drawdown, win rate and trade statistics — is included with your purchase. The test instrument is the S&P 500 index itself, so no commissions or slippage are modeled; trading a real vehicle (SPY, VOO, or an index fund) incurs normal transaction costs. Hypothetical results have inherent limitations; past performance is not necessarily indicative of future results.

How the strategy works

The logic behind the edge.

The Long-Term Stock Trend strategy is built for retirement-style portfolios that want the long-term upside of the market without sitting through its worst drawdowns. By default it stays invested to capture extended bull trends; when its bear-market indicator triggers, it moves entirely to cash, then re-enters once the downturn has run its course. Trading only a couple of times a year, it is designed for ETF, index-fund and 401(k) accounts, and its simple variables can be pointed at the index of your choice.

  1. Stays invested in the broad market by default, riding long bull-market trends.
  2. Shifts entirely to cash when its bear-market indicator fires, side-stepping major drawdowns.
  3. Re-enters once the downtrend has run its course — typically only a couple of decisions a year.

Every strategy in the RelaxedTrader store is back-tested across a minimum of 10 years of historical market data before a line of code is sold. If it doesn't hold up under rigorous testing, it doesn't make it to the store. How transaction costs are treated in this particular back-test is spelled out in the performance note above.

You receive the complete, fully-annotated EasyLanguage source code — no black boxes, no compiled files. You can read every line, understand every decision, and modify it as your knowledge grows.

Key features
What makes this strategy work
Stays invested by default to capture long bull-market trends
Moves to cash when its bear-market indicator triggers — side-steps major crashes
Very low frequency (~2 trades a year) — minimal screen time
Designed for ETF, index-fund, 401(k) and retirement accounts
Simple variables — point it at the index of your choice
Signals also work on SPY, ES futures, options and other indexes
Everything in the box

What you get with every purchase.

EasyLanguage Source
.ELD format · full open code · fully annotated
TS Workspace
.TSW format · open in TradeStation and go
Quick Start Guide
Step-by-step setup and configuration
Lifetime Updates
Free strategy updates — forever, no catch
Q&A with Kurt
Ask questions directly — get real answers
Ready to trade it?

Own the code. Trade the edge.

One-time purchase. Instant download. Full source code yours forever — including all future updates at no charge.

SSL encrypted Card or PayPal Instant download Lifetime updates
Free strategy + research by email

Get a complete SPY swing strategy,
free.

The 3-Line SPY system — full rules, the EasyLanguage code, and a fully disclaimed multi-decade back-test. Plus strategy write-ups and a monthly note on how Slugger and Switch-Hitter are performing.

Get the free 3-Line SPY strategy by email — plus new research and a monthly note on how the systems are doing. No spam — unsubscribe anytime. Privacy