Your First Backtest
A hands-on walkthrough: pick an asset, select a timeframe, add entry/exit conditions, and run your first backtest.
Your First Backtest
This is a hands-on walkthrough. In about five minutes you will pick an asset, build a simple two-rule strategy, run it against years of real market data, and see exactly how it would have performed -- without writing any code or risking any money. If you are not sure what a backtest is or why traders run them, read What is a Backtest? first and come back.
What You Will Build
You will build one of the oldest trend-following ideas in trading: a moving average crossover, often called a golden cross. The rules:
The averages are simple moving averages (SMA). The exact numbers 20 and 50 are not magic -- they are just a common starting point, and later you can test other values yourself.
Step 1: Open an Asset
In the sidebar, under Backtesting, choose Stock Backtest (this walkthrough uses a stock so every plan can follow along on daily candles -- Forex Backtest and Crypto Backtest work the same way). Type a company name or ticker into the search box, or pick one of the popular tickers listed below it. Any well-known, long-listed stock works well for a first run.
The asset page opens with a price chart at the top -- a preview of the data you are about to test on -- followed by two cards: Configuration and Strategy Builder. Those two cards are where everything happens. (A Tutorial button above them replays the guided tour if you ever want an in-app refresher.)
Step 2: Check the Configuration
The Configuration card holds the settings that frame the test. For this walkthrough the defaults are almost all correct, so this step is mostly a check:
Skip the Advanced Settings row at the bottom of the card for now -- Understanding the Interface walks through every control there.
Step 3: Build the Entry Rule
Move down to the Strategy Builder card. It has two columns: Entry Logic (when to open a trade) and Exit Logic (when to close it). Each column starts with one empty rule that reads like an unfinished sentence beginning with IF. You fill in the blanks:
Read the finished sentence back: IF SMA (20) crossed over from below SMA (50). In plain language: the moment the short average overtakes the long average, buy.
Step 4: Build the Exit Rule
Now the Exit Logic column, which works identically. Build the mirror image of the entry: SMA with period 20, Crossed Under from Above (Dead Cross), compared to SMA with period 50. The moment the short average falls back under the long average, the position closes.
Every trade this strategy takes is now fully defined by rules -- no gut feeling, no "it looked toppy". That is the whole point of entry and exit conditions: rules can be tested; feelings cannot.
Step 5: Run It
Click the large Run Backtest button at the bottom of the Strategy Builder. A Processing Backtest... overlay appears while the engine replays your rules over every candle in your date range -- typically a few seconds. When it finishes, the page scrolls down to your results.
The first thing you will see is the Overview tab: a headline Total Return with a comparison against simply buying and holding the asset, followed by risk and trade statistics, with charts and a trade-by-trade log in the tabs beside it. There is a lot there, and all of it is explained in Reading Your Results -- but three numbers deserve your attention right away:
Step 6: Change One Thing
A single backtest is a single data point. The real learning starts when you re-run with one deliberate change and watch what moves. Try any of these -- each run takes seconds:
If you find yourself repeatedly nudging the SMA periods hunting for the best pair, know that this has a failure mode -- curve fitting -- and a systematic tool built for exactly this job: parameter optimization tests every combination in one run and shows you whether good settings cluster together or sit on a lucky island.
Saving Your Work
The Save Strategy button below the Strategy Builder stores your rules under a name so you can reload them later -- on this asset or any other -- with Load Strategy. Saving requires an account (and strategy slots depend on your plan). The heart button next to the asset name adds the asset itself to your favorites for quick access from the sidebar.
Where to Go Next
Understanding the Interface -- every control on the backtest page, including the Advanced Settings this walkthrough skipped.
Reading Your Results -- a guided tour of every tab, chart, and statistic in the results.
Entry & Exit Conditions -- crossovers, thresholds, AND/OR logic, and multi-condition strategies.
How the Simulation Works -- what the engine actually does with your rules, candle by candle.