← Back to the stock backtester · Options backtester guide
Pick a stock and a rule for when to buy (or short) it, and see how that rule would have done, trade by trade, on the stock's daily prices since 1998 - and what the stock did after every signal compared with any other day. Then save it, and follow the ones you like in a portfolio.
Start a free trial The stock backtester is included with Market Chameleon Premium and Premium Options.
| Rule | When it fires | Settings |
|---|---|---|
| Every week / Every month | The first trading day of each week or month. The yardstick: a timing rule is only worth something if it beats buying on a schedule. | - |
| After a fall / After a rise | The stock fell (or rose) at least X% over the last N trading days, close to close. | Move, %; over trading days. E.g. 5% in 5 days. |
| Gap down / Gap up at the open | The stock opened at least X% below (or above) the previous close. | Move, %. Enter at the gap day's open to trade the gap itself. |
| New 52-week high / low | The close is the highest (or lowest) of the last 52 weeks. | - |
| Moving averages cross up / down | The fast moving average (or the price itself) crosses above (or below) the slow one. | Fast and slow averages in days; 50 / 200 is the "golden cross" (up) and "death cross" (down); fast 1 = the price. |
| RSI drops below / rises above a level | The 14-day RSI crosses below (or above) the level. | RSI level: 30 is usually called "oversold", 70 "overbought". |
| Around earnings | Before the report (held through it), after it, or only after a big move up or down on the news. | Earnings timing; Move, % for the "after a rise / fall" choices. |
| After an insider buy | An open-market purchase of at least $X by an officer, director or 10% owner is filed on Form 4. | Insider buy at least, $; insiders buying within 2 weeks. |
| After a big call / put buy | Someone bought calls (or puts) for at least $X in premium in one trade. | Option premium at least, $. Our big-trade records start in November 2024. |
| Setting | What it means | Example |
|---|---|---|
| Direction | Buy the stock, or short it (you make money if it falls). | Short after a 52-week low to test whether lows keep falling. |
| Enter at | The next morning's open (the default - you can act on a signal only once it's known), the signal day's close, or the gap day's open (gap rules only). | "The next morning's open" after a fall that shows at the close. |
| Hold, trading days | How long a trade stays open if nothing else closes it first. | 5 = about a week, 21 = a month, 63 = three months. |
| Profit target / Stop loss | Optional: close when the price reaches this gain (or loss) during a day - at that price, or at the open if the stock opens past it. | Out at +5% or after a month, whichever comes first. |
| Trailing stop | Optional: close when the stock falls this much from its best price since the trade opened (rises, when short). | 10% lets a winner run but keeps most of a big move. |
| Every signal its own trade | Unticked (the default): one trade at a time, like one account following the rule. Ticked: each signal opens its own trade, even while another is open. | Tick it to judge every signal, not just the ones a single account could take. |
| Signals this close count once | Signals within this many trading days of the last one count as one, so a run of signals isn't counted five times. | 20 = at most one trade a month from a run of new highs. |
| Years back, money a trade, costs | How much history to test (up to 25 years), how much each trade puts in ($10,000 by default) and the trading cost each way (5 basis points by default). | - |
These are what the rules did on our historical data, run on November 10, 2026; they are hypothetical, not predictions or investment advice - see the disclaimer below.
Important: hypothetical results, not investment advice. The backtests and portfolios on these pages are hypothetical. They show what a set of rules would have done on historical and end-of-day option prices; no trades were placed and no money was invested. Portfolios apply the same rules going forward from the day they were added, using end-of-day prices; they are not real accounts and do not reflect actual trades.
Hypothetical or simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Since the trades have not been executed, the results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown. Results reflect the fill and commission assumptions stated with each test and may not reflect taxes, margin requirements, early assignment, dividends or other costs.
Stock and option trading involves risk that may not be suitable for all investors. Options involve risk and are not suitable for all investors; before trading options, read Characteristics and Risks of Standardized Options.
This information is provided for informational and educational purposes only and should not be construed as investment advice, or as a recommendation to buy or sell any security or to follow any strategy or portfolio. Neither Market Chameleon nor any other party makes warranties regarding results from its usage. Past performance, actual or hypothetical, does not guarantee future results. Please consult a financial advisor before executing any trades.