Skip to content
Back to strategies

Golden Cross Timer

Holds a fund of large U.S. companies while its price trend is up. Moves to cash when the rule turns down.

Backtest this strategyFree account required
RiskHolding timeFor players who want
MediumMonths to YearsA rule for when to sell

How it works

Two price averages decide whether this strategy holds a fund or cash.

When it buys SPY is a fund tracking the S&P 500, a group of large U.S. companies. The rule holds SPY when its average closing price over 50 trading days is above its 200-day average.

When it sells If the shorter average is below the longer one, the rule moves to cash. Equal averages or too little history keep the current position.

Checks after each trading day. Trades at the next trading open when the target changes. It can enter an established uptrend without waiting for a new crossing.

Rules at a glance

Eligible assets
Fixed list: SPY.
Schedule
Checks its rule at every trading close.
Money split
All the money in one asset.
Automatic loss limit
None.
DetailWhat it means
HoldsSPY, a U.S. stock fund, or cash
StyleFollows price trends
Trade timingChecks each trading close; trades at the next open when the target changes
Money splitTargets 100% SPY or 100% cash
RiskMedium
Automatic loss limitNone; the price-average rule decides when to sell

What to watch out for

  • Repeated switches can lose money. In an unsettled market, the rule can buy and sell several times as the averages move above and below each other.
  • The rule reacts after prices move. It can sell after a decline has started and buy after a recovery has started. It does not guarantee a smaller loss.
  • Cash can miss a recovery. Money outside the market earns no interest in this game.

Source

Uses the classic golden cross rule, which compares two price averages.

Full rulebook

1. Strategy overview

  • Name: Golden Cross Timer
  • Goal: Hold SPY when its 50-day price average is above its 200-day average. Hold cash when it is below.
  • Idea: Use two price averages to decide when to invest. The rule can react late or switch repeatedly. It does not prevent losses.

2. Investments it can hold

  • Fund: SPY, the SPDR S&P 500 ETF Trust. An ETF is a fund that trades on an exchange like a stock.
  • Other investments: none

3. Data and schedule

  • Data: daily closing prices; no company financial data
  • History needed: 200 trading days
  • Check: after every trading day's close
  • Trades: only when the target changes, at the next trading day's open

4. When it buys

  • Calculate the simple averages of SPY's last 50 and 200 closing prices, including today's close.
  • If the 50-day average is above the 200-day average and the strategy holds no SPY, target 100% SPY.
  • The purchase fills at the next trading day's open.
  • Equal averages or an unavailable average keep the current position. They do not trigger a trade.
  • A new crossing is not required. Starting the strategy during an established uptrend can also produce a buy signal.
  • Maximum holdings: one fund
  • When you start: check that day's closing prices. Buy at the next trading open if the rule says to invest; otherwise hold cash.

5. When it sells

  • If the 50-day average is below the 200-day average and the strategy holds SPY, sell the whole position at the next trading day's open.
  • Keep the money in cash until the rule next says to invest.
  • Time limit: none

6. How it divides the money

  • Target: 100% SPY when invested, or 100% cash when out of the market
  • Cash: earns no interest in this game
  • Stop loss: none. There is no separate sell rule triggered by a percentage loss.
  • Take profit: none. There is no separate sell rule triggered by a percentage gain.

7. Moon's notes

  • The rule checks the relationship between the averages each day. It does not need to witness the day they cross.
  • The 50-day and 200-day averages define this strategy. They do not identify market tops or bottoms in advance.
  • The cash position can avoid some later losses, but it can also miss gains. The historical report shows what happened during its stated dates.