Skip to content
Home / Strategy Store / SPY Swing Trading Strategy
Swing Trading SPY · S&P 500 ETF EasyLanguage · TradeStation

SPY Swing Trading Strategy

Trend-following plus mean-reversion for the S&P 500 ETF. Written in 2016 — still trading live.

1.84
Profit Factor
16.0%
CAGR (Annual Return)
72.7%
Win Rate
12,628%
Percent Gain
One-time purchase
$499
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 $25,000+ Positions scale to your account, so it works on more or less. The published figures use the default 200% position cap — 2:1 Reg T margin — and the model sits at that cap on about 95% of trades, so reproducing them takes a margin account; a cash or IRA account will not. Set maxPositionPct to 100 to run it unleveraged: same logic, lower returns and shallower drawdowns. Short trades need margin either way, or SDS / SPY options. 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
SPY Swing Trading Strategy back-tested equity curve
Performance statistics
Metric
Value
Profit Factor
1.84
CAGR (Annual Return)
16.0%
Win Rate
72.7%
Percent Gain
12,628%
Modeled Capital
$25,000
Total Trades
664
Avg Hold
5.7 days
Metric
Value
Live (Out-of-Sample)
2016–2026
Backtest
1993–2015
Max Drawdown
25.8%
Trade Types
Long & Short
Platform
TradeStation / MultiCharts
Code language
EasyLanguage
Capital to trade
$25,000+

A full back-test report — profit factor, net profit, drawdown, win rate and trade statistics, with modeled commissions & slippage — is included with your purchase. Hypothetical results have inherent limitations; past performance is not necessarily indicative of future results.

How the strategy works

The logic behind the edge.

SPY Swing Trading pairs two durable market forces — trend-following and mean-reversion — into one adaptive system for the S&P 500 ETF. It first confirms the macro trend in SPY, then waits for price to stretch well beyond its short-term range before entering long or short in the trend direction, closing the trade as price reverts toward its average. Volatility-based position sizing scales exposure to current conditions, and a user-adjustable stop-loss caps risk on every trade. Written in 2016 and live-traded since, with no re-optimization.

  1. Confirms SPY is in a sustained uptrend or downtrend (the trend filter).
  2. Enters long or short when price pushes past a volatility-based threshold away from its short-term range.
  3. Exits as price reverts to its average; a user-adjustable, volatility-based stop caps risk on every trade.

Every strategy in the RelaxedTrader store is back-tested across a minimum of 10 years of historical market data, with estimated commissions and slippage, before a line of code is sold. If it doesn't hold up under rigorous testing, it doesn't make it to the store.

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
Trend filter plus mean-reversion entries — trades with the dominant trend
Long and short — built to profit in rising and falling markets
Volatility-adaptive position sizing with a user-adjustable stop-loss
Written and live-traded since 2016 without re-optimization
Fully annotated EasyLanguage — no black boxes
Signals also work on SSO, SDS and SPY options
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