Skip to content
Platform

Find & understand

Discover companiesFrom the market to your shortlistStock ScreenerSee a shortlist take shapeCompany researchUnderstand the business behind a stock

Test & prepare

Test an ideaPut an investing rule in perspectivePlan your riskWork out what is at stake

Keep developing

Review & learnReflect on decisions and build knowledgeAll workspace toolsFind your next starting point
AcademyPricing
Sign inTest an idea
All tested rules

Price crosses its 10-day average: does it work after costs?

estockes · Popular rule, tested · Historical simulation* · Updated 2026-12-01

On SPY, holding did better: +289.4% vs +125.7% for the rule after costs.

Over the last 10 years on SPY (2016-11-30 to 2026-11-30), this rule made +125.7% after modelled costs, against +289.4% for simply holding SPY, across 209 trades. It ended ahead of holding on 2 of the 30 tickers in the table. Run on 2026-12-01 with the estockes strategy test; a historical simulation, not advice.

Test this rule on SPY

SPY and this rule are already selected. Run the free test when you are ready to compare the rule with holding after modeled costs.

The rule on 30 liquid tickers, closest to holding first

Across the 30 tickers with a result, the rule came closest to holding on BA (+261.6% against +22.5%, 239.1 pts ahead) and furthest from it on NVDA (+1,496% against +6,634%, 5,139 pts behind). It made 6381 trades in all; 0 of the 30 runs had fewer than 30 trades, too few to judge on their own. Luck Test: could be luck on 2, looks like luck on 27, random timing did better on 1.

Each row is one run of the estockes strategy test, fetched 2026-12-01. "-" means the value was not fetched.

TickerVerdictTradesAfter costsHoldingLuck Test
BAPassed basic checks207+261.6%+22.5%could be luck, beat 97%
TLTCosts ate it222-4.1%-9.5%looks like luck, beat 53%
DISHolding did better220+22.5%+40.8%looks like luck, beat 71%
XLEHolding did better207+192.0%+267.9%looks like luck, beat 64%
INTCHolding did better234+13.6%+109.0%looks like luck, beat 72%
DIAOnly in the past200+107.3%+220.6%looks like luck, beat 38%
GLDHolding did better217+80.6%+197.2%looks like luck, beat 56%
IWMHolding did better231+14.2%+135.6%looks like luck, beat 47%
XOMHolding did better222+39.6%+186.8%looks like luck, beat 31%
XLFOnly in the past215+55.6%+203.6%looks like luck, beat 54%
XLVHolding did better218+59.0%+215.2%looks like luck, beat 33%
SPYHolding did better209+125.7%+289.4%looks like luck, beat 42%
NFLXHolding did better201+253.6%+426.3%looks like luck, beat 74%
KOHolding did better221+47.3%+221.5%looks like luck, beat 36%
JPMHolding did better210+136.4%+421.7%looks like luck, beat 49%
QQQHolding did better201+139.2%+500.3%looks like luck, beat 44%
METAHolding did better205+58.3%+440.1%looks like luck, beat 52%
WMTHolding did better204+104.4%+554.5%looks like luck, beat 16%
VHolding did better221+16.5%+494.9%random timing did better, beat 0%
AMZNOnly in the past212+58.3%+589.5%looks like luck, beat 7%
COSTOnly in the past215+234.7%+774.0%looks like luck, beat 26%
XLKHolding did better214+127.8%+732.0%looks like luck, beat 29%
GOOGLHolding did better217+55.8%+668.1%looks like luck, beat 13%
MSFTHolding did better219+130.3%+806.1%looks like luck, beat 21%
AAPLHolding did better196+432.9%+1,295%looks like luck, beat 42%
SMHHolding did better211+315.5%+1,288%looks like luck, beat 58%
TSLAOnly in the past206+2,195%+3,177%could be luck, beat 86%
AVGOOnly in the past225+94.9%+2,344%looks like luck, beat 6%
AMDHolding did better216+145.6%+4,701%looks like luck, beat 6%
NVDAHolding did better185+1,496%+6,634%looks like luck, beat 33%

Luck Test: the run's own holding periods placed at random dates of the same window 1000 times, same costs and cash; "beat" is the share of those random versions the rule did better than. With 30 results on this page about 1 in 20 would pass by chance, so "likely real timing" here also needs to beat 99.9%.

Each number comes from one run of the estockes strategy test (public API), fetched on 2026-12-01: daily bars, signal on the close, fill at the next open, costs on every fill, idle cash earning the 3-month Treasury bill rate, compared with holding the same ticker over the same window.

How the rule works

The test enters at the next open after the close crosses above its 10-day moving average and exits after the close crosses back below. The fastest of the price-and-average rules here, so it is in and out often.

Why costs matter

Price-and-average rules are in while the close is above the line. A short average is crossed often, so whipsaws and their costs add up; a long one is crossed rarely, and the rule then gives up part of each rise while it waits to come back in.

Every result here is after modelled costs: the engine charges commission and slippage on each entry and exit, set by the ticker's liquidity (on SPY: 0 bp commission, 2 bp slippage per side), and fills at the next session's open, never at the signal's close. Holding is measured on the same total-return prices with no costs.

Limits of this test

  • It is a historical simulation of 10 years of daily data, not a forecast and not advice. A rule that did well in this window can do badly in the next.
  • Survivorship: only tickers listed today can be tested, so companies that failed or were delisted are missing, which flatters any rule tested on stocks.
  • The recent window matters: ten years that include one long rally favour holding, and a different decade could rank the rule differently. Run the test on another window to see.
  • Fixed settings for every ticker. Changing the period or the exit changes the result, and trying many settings until one looks good is how false results are made. That is also why the Luck Test bar rises with the number of results shown.

Saw someone claim a rule like this makes money? Check the claim

Related rules

  • Exit at the death cross
  • Price crosses its 20-day average
  • Price crosses its 50-day average
  • Price crosses its 200-day average
  • All tested rules
  • The scoreboard: 90 of 1,260 tests ended ahead of holding, and why
  • Strategies we tested

Every rule on one ticker

  • SPY
  • QQQ
  • IWM
  • AAPL
  • MSFT
  • NVDA
  • DIA
  • AMZN
  • GOOGL
  • META
  • TSLA
  • AMD
  • AVGO
  • NFLX
  • INTC
  • JPM
  • V
  • XOM
  • KO
  • WMT
  • COST
  • DIS
  • BA
  • XLK
  • XLF
  • XLE
  • XLV
  • SMH
  • GLD
  • TLT

Questions

Price crosses its 10-day average: does this rule work?

Over the last 10 years on SPY (2016-11-30 to 2026-11-30), this rule made +125.7% after modelled costs, against +289.4% for simply holding SPY, across 209 trades. It ended ahead of holding on 2 of the 30 tickers in the table. Run on 2026-12-01 with the estockes strategy test; a historical simulation, not advice.

Price crosses its 10-day average: how does the rule work?

The test enters at the next open after the close crosses above its 10-day moving average and exits after the close crosses back below. The fastest of the price-and-average rules here, so it is in and out often.

Why do trading costs matter here?

Price-and-average rules are in while the close is above the line. A short average is crossed often, so whipsaws and their costs add up; a long one is crossed rarely, and the rule then gives up part of each rise while it waits to come back in.

How was it tested?

Each number comes from one run of the estockes strategy test (public API), fetched on 2026-12-01: daily bars, signal on the close, fill at the next open, costs on every fill, idle cash earning the 3-month Treasury bill rate, compared with holding the same ticker over the same window.

* Simulated on past data. Past results do not predict future ones, and trading involves risk of loss. Not advice. Details

Test a trading rule against holding. Keep the evidence and build your research from there.

support@estockes.comSupport replies within 1-2 business days.

Product

  • Home
  • Pricing
  • Features
  • Free tools
  • Calculators
    • Compounding
    • Position size
    • Risk and reward
    • Leveraged ETF decay
    • Day trading account checker
  • Academy - free course
  • Test an idea
  • Strategies we tested
  • Do popular rules work?
  • Compared with TradingView
  • Compared with Finviz
  • Compared with Investing.com
  • Test an idea without code
  • System status
  • What's new

Company

  • About
  • Contact
  • Support

Legal

  • Terms of Service
  • Privacy Policy
  • Refunds
  • Security
  • Data request
Review us on Trustpilot (opens in a new tab)

Share your honest experience.

Featured on LaunchBuffestockes on VibeRank
© 2026 estockes - estockes.com · Operated by Eylon Sabag · Prices in USD
  • We make money from subscriptions only.
  • Prices may be delayed.
  • Screenshots are illustrative.
Not investment advice. Trading involves risk of loss.Full notice

estockes is a research and analytics tool, not a registered investment adviser, broker-dealer, or financial planner. Nothing here is investment, financial, legal, or tax advice. All content is for informational and educational purposes only. Trading involves substantial risk of loss; past performance does not guarantee future results. You trade at your own risk.

Mailing address (correspondence only)
800 N. King St, Suite 304-2048, Wilmington, DE 19801, USAThe operator is Eylon Sabag, an Israeli sole proprietor. This iPostal1 address receives correspondence; it is not a U.S. office or a separate U.S. company.