Skip to content
Prices at 19:58
ChartsView
  1. Home
  2. MetaStock in action

MetaStock System Tester: The 50/200 Cross on SPY, 15 Trades Since 1993

Each week we give MetaStock a real job and show the screens exactly as they came out. This week: the System Tester. We tested one of the best-known rules there is, the 50-day and 200-day moving average cross, on SPY (the S&P 500 ETF) using every daily bar MetaStock had, from January 1993 to the US close on 13 November 2026. The test itself took about two seconds.

The rules

Two moving averages of the closing price: a fast one over 50 days and a slow one over 200 days.

  • Buy when the 50-day average crosses above the 200-day average.
  • Sell when the 50-day average crosses back below it.

Long only, so the system is either holding SPY or sitting in cash. No stops, no targets, nothing else.

Writing the system

Open the SystemTest tab on the left and click New System Test. The System Editor has a tab for each kind of order. The buy rule goes in the Buy Order tab:

Cross(Mov(C,50,S),Mov(C,200,S))

And the sell rule in the Sell Order tab, with the two averages swapped:

Cross(Mov(C,200,S),Mov(C,50,S))

Mov(C,50,S) is the simple 50-day average of the close. Cross(A,B) is true only on the day A moves from below B to above it, so each rule fires once per cross, not every day the fast line is on top. The Sell Short and Buy to Cover tabs stay empty. On the General tab, give it a name and leave Order Bias on Long Orders.

MetaStock System Editor with the Buy Order tab open showing the formula Cross(Mov(C,50,S),Mov(C,200,S)) and a Market order type
The System Editor: the buy rule as a market order.

Setting up the run

Back in the SystemTest Console, tick the new system, type SPY in the Instrument(s) box, choose Long trades and set Interval to Daily. We left Use last at 20,000 records, which is more than SPY has, so MetaStock used all of its history.

It is worth opening Trade Options before you start. We kept MetaStock’s defaults: a $100,000 account, a fixed 100 shares per trade, no commission and “Realistic Market Prices”. That last one matters. The signal is spotted on the close, and the trade is filled at the next day’s open, which is what you could actually have done.

MetaStock SystemTest Console with the CV 50/200 SMA cross system ticked, SPY entered as the instrument, Long trades selected and a Daily interval
The SystemTest Console: SPY, long trades, daily bars.

The results

Press Start System Test, then View Report. MetaStock tested 8,507 daily bars and found 15 trades. 13 made money and 2 lost.

MetaStock System Tester results window showing the CV 50/200 SMA cross system with a net profit of 58,976.63 dollars from 15 trades, 13 winning and 2 losing
The results window: 15 trades, 13 winners and 2 losers.

Click View for the full report. These are the numbers that matter:

Measure50/200 crossBuy and hold
Profit on 100 SPY shares$58,977$71,040
Trades151
Days in the marketabout 73%100%

So the simple version of this rule made less than just holding SPY. That is the honest headline.

A word on the percentages in the report. MetaStock shows a 58.98% gain, but that is measured against the whole $100,000 account, and the test only ever bought 100 shares. In 1994 that was under $5,000 of stock. Read the dollar figures, or change the trade size in Trade Options if you want the percentages to mean something.

MetaStock System Tester summary for SPY from 29 January 1993 to 13 November 2026 showing a profit of 58,976.63 dollars against a buy and hold profit of 71,040.12 dollars
The Summary tab: the system against buy and hold, on the same 100 shares.

What the trades show

The Orders tab lists every fill, and a few stand out:

  • It sidestepped the two big bear markets. It sold on 31 October 2000 and stayed out until May 2003. It sold again on 24 December 2007 at $148.82 and bought back in June 2009 at $90.16.
  • It paid for being late. A cross needs months of price to turn the averages, so it buys well after the low and sells well after the high. The worst trade bought in April 2019 at $286.04 and sold in the March 2020 sell-off at $260.56.
  • The biggest win is still open. The last buy was in July 2025 at $617.24. The tester closes open trades on the last bar, so it booked $754.37 on 13 November 2026. In real life that trade has not ended yet.

Click Plot on Chart and MetaStock draws every buy and sell on a SPY chart, with the account value in a pane above it. The flat stretches in the top pane are the times the system sat in cash.

MetaStock daily chart of SPY from 1993 to 2026 with green buy arrows and red sell markers from the 50/200 moving average cross, and the system's account value plotted in a pane above
Plot on Chart: every buy and sell on SPY, with the account value above.

What to try next

Things this test leaves out: dividends (neither figure includes them), commission and slippage, and interest on the cash while out of the market. The useful part is that changing any of it takes a minute. Try 20/50 averages, add a short side, or use the Optimizations tab to test a range of lengths at once. Just be wary of picking whichever setting did best in the past.

For more on how MetaStock’s versions compare, see our charting software page. Last week’s post used the Explorer: 86 S&P 500 breakouts found in under two minutes.

Try it yourself

The System Tester, the System Editor and Plot on Chart shown here are all in the MetaStock 30-day free trial.

Start your 30-day free trial

Affiliate note: ChartsView may earn a commission if you start a MetaStock trial through our link. It does not change the price you pay. This article is education, not a recommendation to buy or sell anything. Past results in a backtest do not mean future results, and your capital is at risk.

Use the arrow keys to move and Enter to openSearch every page

Share tips