> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mirrorpip.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mirror pip Backtest Engine — Beginner's Guide

## Welcome: test a trading idea before it costs you money

In about 15 minutes you will build a complete crypto strategy, run it on past prices, and read the result. No code is involved: you click parts of a sentence until it says what you mean.

A backtest answers one question: *if I had traded this exact rule over this period, what would have happened?* The engine replays history candle by candle, opens and closes trades by your rules, and charges realistic fees and slippage along the way.

This guide follows one worked example from start to finish, a moving-average crossover with an RSI filter on BTCUSDT.P at 15 minutes. It loses a little money on purpose. Working out why is the most useful lesson in the guide.

### What you will learn

1.     Find your way around the workspace.

2.     Choose a market, a timeframe and a test period.

3.     Set your capital, order size, fees and slippage.

4.     Build entry and exit rules for long and short trades.

5.     Add a target, a stop loss and a trailing stop.

6.     Run the backtest and read every number it gives you.

7.     Improve the strategy without fooling yourself.

### Before you start

•      You need a Mirror pip account and the Backtest Engine open in a desktop browser.

•      You do not need to connect an exchange API key or deposit funds. A backtest places no real orders.

•      Screenshots use sample data. Your prices, dates and results will differ.

A backtest shows how a rule behaved in the past. It is evidence, not a promise, and nothing in this guide is financial advice.

## A two-minute tour of the workspace

Everything lives on one page that you read top to bottom: the chart, then your money settings, then your rules, then the Run button.

![Image](https://mintcdn.com/mirrorpippvtltd/-Y9lnaLweBUDpZ4e/images/image-17.png?fit=max\&auto=format\&n=-Y9lnaLweBUDpZ4e\&q=85\&s=23d9f718242a8ded9db89d13740c0650)

*Figure 1. The workspace, with the six areas numbered.*

| # | Area | What it is for |
| :- | :- | :- |
| 1 | Top bar | Name your strategy, see the engine status, switch light or dark mode, and Save. |
| 2 | Chart toolbar | Pick the symbol, the timeframe, the chart type and the indicators. |
| 3 | Chart | Price candles with your indicators. After a run, every trade is marked here. |
| 4 | Capital & Execution | Starting capital, order size, leverage, slippage, fees and the backtest period. |
| 5 | Strategy Logic | Your entry and exit rules, with a Long column and a Short column. |
| 6 | Run bar | The Run Backtest button. Any problem that blocks a run is shown beside it. |

A seventh area, the **Strategy Tester**, slides up from the bottom after your first run. It holds your results.

### Shortcuts worth learning on day one

| Press | What happens |
| :- | :- |
| Any letter, with the chart in focus | Opens Symbol Search and starts typing |
| / | Opens the Indicators list |
| Ctrl + Enter (Cmd + Enter on Mac) | Runs the backtest |
| ← and → | Scroll the chart |
| Ctrl + ↑ and Ctrl + ↓ | Zoom in and out |
| Alt + R | Resets the chart view |
| Esc | Closes any pop-up |

## Step 1: Choose what to test, and with how much

Four choices frame every backtest: the market, the timeframe, the period, and the money. Set them once before you touch the rules.

### Pick a market

1.     Click the symbol button at the left of the chart toolbar, or just start typing on the chart.

2.     Type a coin name such as BTC. Use the **All**, **Perpetual** and **Spot** chips to narrow the list.

3.     Check the exchange shown at the right of each row, then click the row or press Enter.

![Image](https://mintcdn.com/mirrorpippvtltd/-Y9lnaLweBUDpZ4e/images/image-18.png?fit=max\&auto=format\&n=-Y9lnaLweBUDpZ4e\&q=85\&s=b0244c4a31897663157cd1ab1badf769)

*Figure 2. Symbol Search. The tag on the right of each row shows the contract type and the exchange.*

For this guide, choose **BTCUSDT.P**. The .P suffix means a perpetual contract, which can be traded long or short. Spot pairs have no suffix.

The same coin can behave differently on different exchanges and on spot versus perpetual. Test on the market you plan to trade.

### Pick a timeframe

The timeframe is how much time one candle covers: 1m, 5m, 15m, 1h, 4h or D (one day). Click **15m** for this guide.

![Image](https://mintcdn.com/mirrorpippvtltd/-Y9lnaLweBUDpZ4e/images/image-19.png?fit=max\&auto=format\&n=-Y9lnaLweBUDpZ4e\&q=85\&s=df321d9348986c2d2faa7c974d299b90)

*Figure 3. The chart toolbar: symbol, timeframes, chart type and Indicators.*

Your rules are checked once per candle, so the timeframe sets the pace of the strategy. Short timeframes trade often and pay more fees. Long timeframes trade rarely and need a longer test period.

### Put indicators on the chart (optional, but helpful)

Indicators on the chart let you see what your rules are reacting to. Click **Indicators** or press /, then click a name to add it.

![Image](https://mintcdn.com/mirrorpippvtltd/-Y9lnaLweBUDpZ4e/images/image-20.png?fit=max\&auto=format\&n=-Y9lnaLweBUDpZ4e\&q=85\&s=640c0ab360f7709411905fedd8d612c6)

*Figure 4. The Indicators list. The green number shows how many of each are already on the chart.*

•      **Overlay** indicators, such as moving averages and Bollinger Bands, draw on top of price.

•      **Pane** indicators, such as RSI and MACD, get their own strip below the chart.

•      Click the star to keep an indicator under **Favorites**.

•      Hover an indicator's name on the chart to open its settings, hide it, or remove it.

For this guide, add **Moving Average Exponential** twice (set the lengths to 20 and 50) and **Relative Strength Index** once.

### Set your capital and costs

The **Capital & Execution** panel tells the engine how much you start with and what each trade costs. Under every field, a grey hint shows what your number means in practice.

![Image](https://mintcdn.com/mirrorpippvtltd/-Y9lnaLweBUDpZ4e/images/image-21.png?fit=max\&auto=format\&n=-Y9lnaLweBUDpZ4e\&q=85\&s=67beb92082a4ce8a53b3ef950289ed98)

*Figure 5. Capital & Execution. Read the grey hints: they translate each setting into real amounts.*

| Field | What it means | Beginner setting |
| :- | :- | :- |
| Initial capital | The account balance the test starts with, in USDT. | 10,000 |
| Order size | How big each trade is. Choose coins (for example BTC), a fixed USDT amount, or a % of your current equity. | 1,000 USDT |
| Leverage (×) | Multiplies your position for the same margin, from 1× to 125×. | 1 |
| Slippage | The small gap between the price you wanted and the price you got. Set it in points or as a %. | 0.01% |
| Trading fees (%) | The exchange fee charged on every entry and every exit. **Taker** is for market orders, **Maker** for limit orders. | Taker, 0.05 |
| Backtest period | The stretch of history to replay. | 1M |

Three things beginners often miss:

•      **Start at 1× leverage.** The backtest does not simulate liquidation or funding payments, so leveraged results look safer than they really are.

•      **Never set fees or slippage to zero.** They are small per trade and large in total, as Step 5 shows.

•      **Watch the order size hint.** If it says the size rounds to 0, or that margin exceeds capital, those entries are skipped.

### Choose the backtest period

Click the **Backtest period** box and choose a preset from 1W to All, or enter your own From and To dates and click **Apply**.

![Image](https://mintcdn.com/mirrorpippvtltd/-Y9lnaLweBUDpZ4e/images/image-22.png?fit=max\&auto=format\&n=-Y9lnaLweBUDpZ4e\&q=85\&s=313944c91c2d068d8d897030b65e29b4)

*Figure 6. Backtest range presets and custom dates.*

The line under the box shows how many candles the test covers. The engine also loads extra candles before your start date, so indicators are already warmed up on day one.

A longer period is a more honest test, because it includes more kinds of market. If the period is too long for a small timeframe, the engine tests the most recent candles and tells you. Move to a higher timeframe to cover more history.

## Step 2: Build your entry rules

A rule is a plain sentence, *this* compared with *that*, and you change any word in it by clicking it. That is the whole idea of the builder.

![Image](https://mintcdn.com/mirrorpippvtltd/-Y9lnaLweBUDpZ4e/images/image-23.png?fit=max\&auto=format\&n=-Y9lnaLweBUDpZ4e\&q=85\&s=3041ca91c346c1cc42dbef0694585310)

*Figure 7. The Long side of Strategy Logic: an Entry block, an Exit block, and the price exits underneath.*

### How a condition reads

Take the first line in Figure 7: EMA(Close, 20) Crossed above EMA(Close, 50).

| Part | Example | Click it to |
| :- | :- | :- |
| Left side | EMA(Close, 20) | Swap it for another price, indicator or number |
| Teal number | 20 | Change the indicator length |
| Purple comparison | Crossed above | Choose Crossed above, Crossed below, Greater than, Less than or Equals |
| Right side | EMA(Close, 50) | Swap it, exactly like the left side |
| Small grey tag | 15m | Look back a number of candles, for example the close 3 bars ago |

In plain English: *open a trade when the fast average climbs through the slow average.* That is a classic sign that a trend may be starting.

### Build the example entry

First choose which directions to trade. At the top of Strategy Logic, pick **Long & Short**, **Long only** or **Short only**. Leave it on Long & Short.

Now build the Long entry:

1.     In the **LONG** column, under **ENTRY**, click **+ Condition**. A starter line appears: Close Crossed above EMA(Close, 20).

2.     Click **Close** on the left side and choose **EMA** from the list. The left side becomes EMA(Close, 20).

3.     Click the teal **20** on the right side, type 50, and click **Set**.

4.     Click **+ Condition** again for the second line.

5.     Click its left **Close** and choose **RSI**. It becomes RSI(Close, 14).

6.     Click **RSI**, click **Wrap in…** at the bottom of the list, and choose **EMA**. Change the new length to 5. This smooths the RSI so it flickers less.

7.     Click the purple comparison and choose **Greater than**.

8.     Click **EMA** on the right side and choose **Number** at the bottom of the list. It starts at 50, which is what you want.

![Image](https://mintcdn.com/mirrorpippvtltd/-Y9lnaLweBUDpZ4e/images/image-24.png?fit=max\&auto=format\&n=-Y9lnaLweBUDpZ4e\&q=85\&s=3e5831c896303b536fdf70f7716ad6d3)

*Figure 8. Click any name to open the picker. Search at the top, arithmetic and Wrap in… at the bottom.*

Your entry now says: *go long when the 20 EMA crosses above the 50 EMA, and smoothed RSI is above 50.* The second line is a filter. It keeps you out of crossovers that happen while momentum is still weak.

### All or any

The heading of each block reads "Open long when **all** of the below conditions pass". Click **all** to switch it to **any**.

•      **all** means every line must be true on the same candle. Use it to add filters.

•      **any** means one true line is enough. Use it for alternative triggers.

Need both at once, such as *A and (B or C)*? Click **Sub-group**. A group has its own all or any switch, and groups can sit inside groups.

### Check that a condition really fires

Hover a line and click the bug icon. The engine tells you how many candles in your period pass that condition, and its values on the latest candle.

![Image](https://mintcdn.com/mirrorpippvtltd/-Y9lnaLweBUDpZ4e/images/image-25.png?fit=max\&auto=format\&n=-Y9lnaLweBUDpZ4e\&q=85\&s=413d35030bb8f83d1a53a798a9139ed3)

*Figure 9. Debug shows how often a line is true. Hovering a line also reveals notes, copy, duplicate, on/off and delete.*

This is the fastest way to find a rule that is too strict (fires on almost no candles) or too loose (fires on nearly all of them). The on/off switch beside it lets you disable a line without deleting it, to see how much it matters.

### Copy your rules to the Short side

Click **Mirror to Short** at the top of the Long column. The engine copies your Long rules and flips them: Crossed above becomes Crossed below, Greater than becomes Less than.

Then choose what happens when a Short entry appears while a Long trade is open, using **On opposite entry**:

| Option | What it does |
| :- | :- |
| Reverse position | Closes the open trade and opens the opposite one on the same candle |
| Close position only | Closes the open trade and stays flat |
| Ignore it | Keeps the open trade until its own exit |

### Prefer typing? Use Edit as text

Click **Edit as text** on any block to see the same rules as one line. Edit it, then click **Apply** or press Ctrl + Enter.

![Image](https://mintcdn.com/mirrorpippvtltd/-Y9lnaLweBUDpZ4e/images/image-26.png?fit=max\&auto=format\&n=-Y9lnaLweBUDpZ4e\&q=85\&s=b128ff572814584c34b7260f5539c4a2)

*Figure 10. The same entry as text. A tick under the box confirms the line is valid before you apply it.*

Text mode is handy for pasting a rule someone shared with you. Join conditions with and or or, and use brackets for groups. If something is misspelled, the engine points at the problem and suggests a fix.

## Step 3: Decide how trades end

Every trade needs a way out, and the engine gives you two kinds: a signal exit that follows your rules, and price exits that protect the trade. Whichever is hit first closes it.

### Signal exit

The **EXIT** block works exactly like the Entry block, with one difference: it starts on **any**, so a single true line closes the trade.

For the example, add one condition under LONG → EXIT: EMA(Close, 20) Crossed below EMA(Close, 50). The trend that got you in has turned, so you leave.

### Price exits: Target, Stop Loss, Trailing Stop Loss

![Image](https://mintcdn.com/mirrorpippvtltd/-Y9lnaLweBUDpZ4e/images/image-27.png?fit=max\&auto=format\&n=-Y9lnaLweBUDpZ4e\&q=85\&s=29ae6d078748c6bf3dc5ddb7f2beaf61)

*Figure 11. The three price exits. Switch each on or off, and set its distance in points or as a % of entry price.*

| Exit | What it does | Example setting |
| :- | :- | :- |
| Target | Takes profit once price moves this far in your favour. | 1% |
| Stop Loss | Cuts the loss once price moves this far against you. | 0.5% |
| Trailing Stop Loss | Follows price as it moves in your favour, then closes if price pulls back by this distance. | Off for now |

The grey line under each box converts your setting into a USDT price distance at the current price. Use it as a sanity check: a stop that is only a few dollars from entry on BTC will be hit by ordinary noise.

A 1% target with a 0.5% stop risks 1 to make 2. A strategy like that can be right less than half the time and still profit, as long as costs stay small.

### How the engine fills your exits

These rules are deliberately cautious, so the backtest does not flatter you.

•      **Entries and signal exits happen at the close of a candle.** A condition must be true when the candle finishes.

•      **Price exits are checked inside every candle** after the entry candle, using its high and low.

•      **If one candle touches both your stop and your target, the stop wins.** The engine cannot know which came first, so it assumes the worse one.

•      **If price jumps past your level between candles, you are filled at the candle's open**, not at the level you hoped for.

•      **One trade at a time.** A new entry signal is ignored while a trade on the same side is open.

•      **If Long and Short entries fire on the same candle, neither is taken.**

## Step 4: Run the backtest

Click **Run Backtest** at the bottom right, or press Ctrl + Enter. Results appear in a second or two.

![Image](https://mintcdn.com/mirrorpippvtltd/-Y9lnaLweBUDpZ4e/images/image-28.png?fit=max\&auto=format\&n=-Y9lnaLweBUDpZ4e\&q=85\&s=a6d07d976ace66e5bd04c5dce30f228f)

*Figure 12. After a run: trades are marked on the chart and the Strategy Tester opens at the bottom.*

Three things change on screen:

1.     **The chart gets trade markers.** Green LONG and red SHORT arrows mark entries. Exits are labelled by cause.

2.     **Each side shows a running total.** Beside LONG and SHORT you see the trade count and profit for that side.

3.     **The Strategy Tester opens** with your results. The button now reads **Re-run Backtest**.

| Marker on chart | The trade closed because |
| :- | :- |
| TP | The Target was reached |
| SL | The Stop Loss was hit |
| TSL | The Trailing Stop Loss was hit |
| EXIT | Your exit conditions passed |

After the first run, results update live as you edit. Change a length or a stop and the numbers follow at once, so you rarely need to press Run again.

### If the Run button will not work

The engine explains the problem in the bar next to the button.

| Message | Fix |
| :- | :- |
| Add at least one entry condition to an enabled side to run | Add a condition under ENTRY for Long or Short. |
| Set an initial capital in Capital & Execution to run | Enter a starting balance above zero. |
| Entries skipped — order size rounds to 0 or equity is used up | Increase the order size, or lower it if margin exceeds your capital. |
| A condition has an error (marked in red) and will never fire | Find the red line in Strategy Logic and fix or delete it. |

## Step 5: Read your results

The Strategy Tester has three tabs, and they answer three questions in order: *did it work, why, and what exactly happened?*

Use the icons at the right of its header to export trades as CSV, maximize the panel, or close it. The date and capital chips let you change the period and starting balance without scrolling up.

### Overview: did it work?

*Figure 13. The Overview tab: five headline numbers above the performance chart.*

The example strategy lost 20.65 USDT over one month. Here is how to read each headline number.

| Number | Example | What it tells you | What to look for |
| :- | :- | :- | :- |
| Total P\&L | −20.65 USDT (−0.21%) | Profit or loss after fees and slippage. | Positive, and large enough to be worth the risk. |
| Max equity drawdown | 55.90 USDT (0.56%) | The worst fall from a peak to a later low. | A size you could sit through without quitting. |
| Total trades | 63 (32 long, 31 short) | How many trades closed. | Enough to trust. A handful of trades proves little. |
| Profitable trades | 38.10% (24 of 63) | The share of trades that made money. | Read it together with average win and loss, never alone. |
| Profit factor | 0.909 | Money won divided by money lost. | Above 1 is profitable. Below 1 loses money. |

**Win rate means nothing by itself.** Here the average win is 8.63 USDT and the average loss is 5.84 USDT. With that ratio, the strategy breaks even at about a 40% win rate. It managed 38.10%, so it lost slightly.

The performance chart shows the same story as a picture:

•      The **Cumulative P\&L** line is your running profit, trade by trade. You want a steady climb, not one lucky spike.

•      The **run-up and drawdown** bars show how far each trade went for you and against you while it was open.

•      Click **Buy & hold** in the legend to compare against simply holding the coin.

•      Hover any point for trade details. Click it to jump to that trade on the price chart.

•      The gear icon switches the bottom axis between trade number and exit time.

### Performance Summary: why?

![Image](https://mintcdn.com/mirrorpippvtltd/-Y9lnaLweBUDpZ4e/images/image-30.png?fit=max\&auto=format\&n=-Y9lnaLweBUDpZ4e\&q=85\&s=5a0881b30c199d24c03323db0c77fe30)

*Figure 14. Performance Summary splits every metric into All, Long and Short.*

This tab is where you diagnose the strategy. The Long and Short columns are the first place to look.

| Metric | All | Long | Short |
| :- | :- | :- | :- |
| Net profit (USDT) | −20.65 | −56.45 | +35.80 |
| Percent profitable | 38.10% | 28.13% | 48.39% |
| Profit factor | 0.909 | 0.580 | 1.383 |
| Commission paid (USDT) | 60.29 | 30.68 | 29.61 |

Two findings jump out:

1.     **The Short side made money and the Long side lost it.** In this period the long entries were the problem, not the whole idea.

2.     **Fees decided the result.** The strategy paid 60.29 USDT in commission and lost 20.65 USDT. Before fees it was ahead by 39.64 USDT.

The second finding is why you should never test with fees set to zero. Sixty-three trades in a month is a lot of commission for an edge this thin.

Further down, **Time in trade** shows how long trades last. Here winners lasted about 5 candles and losers about 3, which tells you the stop is hit quickly.

### List of Trades: what exactly happened?

![Image](https://mintcdn.com/mirrorpippvtltd/-Y9lnaLweBUDpZ4e/images/image-31.png?fit=max\&auto=format\&n=-Y9lnaLweBUDpZ4e\&q=85\&s=078a5f76a6feeae230092b7f4da87c2f)

*Figure 15. List of Trades. Each trade has an entry row and an exit row.*

Every trade is listed with its entry and exit time, price, size and result. Times are in UTC.

| Column | Meaning |
| :- | :- |
| Signal | Why the trade opened or closed: Long entry, Target, Stop loss, and so on. |
| Profit | Result of this trade after fees, in USDT and as a %. |
| Cum. profit | Running total up to and including this trade. |
| Run-up | The best the trade looked while it was open. |
| Drawdown | The worst the trade looked while it was open. |

Click the **Trade #** header to flip between newest first and oldest first. Then look for patterns: trades with a healthy run-up that still ended at the stop suggest the target is too far away, or that a trailing stop would help.

## Improve the strategy without fooling yourself

Change one thing at a time, watch the numbers move, and keep only changes that hold up on data you have not tuned against. That is the whole method.

### Five experiments to try on the example

Results update live, so each of these takes seconds. Write down the profit factor before and after.

1.     **Trade one side only.** Switch to **Short only**, then **Long only**. Does one side carry the strategy?

2.     **Move up a timeframe.** Try 1h instead of 15m. Fewer trades means less commission.

3.     **Lengthen the period.** Go from 1M to 6M or 1Y. A result that survives more market conditions is worth more.

4.     **Switch on the Trailing Stop Loss** and switch the Target off. Does letting winners run beat a fixed target?

5.     **Disable the RSI filter** with its on/off switch. Is the filter earning its place?

### A simple loop to follow

1.     Form one idea in a sentence, such as "the stop is too tight".

2.     Change only that setting.

3.     Compare profit factor, drawdown and trade count with the previous run.

4.     Keep the change only if it helps on a longer period and on a second coin.

5.     Save, and name the strategy so you can find it later.

### Seven beginner mistakes

| Mistake | Why it hurts | Do this instead |
| :- | :- | :- |
| Tuning until the curve looks perfect | You have fitted the past, not found an edge. It usually fails live. | Keep rules simple. Confirm on a period you did not tune on. |
| Testing one good month | One month has one kind of market. | Test at least several months, across rising and falling markets. |
| Setting fees or slippage to zero | Costs turned the example from +39.64 to −20.65 USDT. | Use your exchange's real fee rate and some slippage. |
| Trusting a result with few trades | Ten trades can be luck. | Look for dozens of trades before believing a number. |
| Judging by win rate alone | A 70% win rate loses money if losses are large. | Read win rate with profit factor and average win and loss. |
| Ignoring drawdown | A strategy you abandon halfway never reaches its profit. | Pick a drawdown you could live through with real money. |
| Testing with high leverage | Liquidation and funding are not simulated, so risk is understated. | Test at 1× first. Add leverage only with that gap in mind. |

A good backtest earns a strategy a small, careful live trial. It does not earn it your whole account.

## Glossary and FAQ

### Glossary

| Term | Plain meaning |
| :- | :- |
| Backtest | Replaying a trading rule on past prices to see how it would have done. |
| Candle (bar) | One block of time on the chart, showing the open, high, low and close price. |
| Timeframe | How much time one candle covers, such as 15 minutes. |
| Long | Buying first, to profit if price rises. |
| Short | Selling first, to profit if price falls. |
| Perpetual (.P) | A futures contract with no expiry that can be traded long or short with leverage. |
| Spot | Buying or selling the coin itself. |
| EMA | Exponential moving average: an average price that gives recent candles more weight. |
| RSI | Relative Strength Index: a 0 to 100 momentum gauge. Above 50 leans bullish. |
| Crossed above | Was below on the previous candle and is above on this one. |
| Target | A profit-taking exit at a set distance from entry. |
| Stop Loss | A loss-limiting exit at a set distance from entry. |
| Trailing Stop Loss | A stop that follows price in your favour and never moves back. |
| Slippage | The difference between the expected price and the price actually filled. |
| Taker and Maker | Taker fees apply to market orders, Maker fees to limit orders. |
| Leverage | Controlling a larger position than your margin. It multiplies gains and losses. |
| Notional | The full value of a position: quantity times price. |
| Equity | Your account value: starting capital plus or minus closed profit and loss. |
| Drawdown | A fall in equity from a peak to a later low. |
| Profit factor | Total winnings divided by total losses. Above 1 is profitable. |
| Warm-up | Extra candles loaded before the test period so indicators have valid values from day one. |

### Frequently asked questions

**Does a backtest place real orders or use real money?** No. It is a simulation on historical prices. Nothing is sent to an exchange.

**Which markets can I test?** Anything listed in Symbol Search. Each row shows whether it is spot or perpetual and which exchange the prices come from.

**Which indicators are available?** Moving averages (simple, exponential, weighted), Bollinger Bands, VWAP, Supertrend, Parabolic SAR, Volume, RSI, MACD, Stochastic, ATR, ADX and CCI. **Custom formula (ƒx)** lets you combine them, for example an EMA of an RSI.

**Can one strategy mix timeframes, such as a 1h trend with a 15m entry?** Not yet. Every condition is checked on the chart's timeframe.

**I ran the test and got no trades. Why?** Usually the entry is too strict. Use the debug icon on each line to see how often it fires. Also check that the side is switched on, the period is long enough, and the order size does not round to 0.

**Price touched my target, but the trade closed at the stop. Why?** Both levels were inside the same candle. The engine cannot know which came first, so it assumes the stop.

**Will live trading match my backtest?** Not exactly. Real fills depend on liquidity and speed, and the backtest does not simulate funding payments or liquidation. Treat results as a careful estimate.

**Can I keep or share my results?** Yes. The download icon in the Strategy Tester exports every trade as CSV. The camera icons save the price chart or the performance chart as an image.

**Is my strategy saved automatically?** The top bar shows the draft and autosave status next to the strategy name. Click **Save** before you leave to be sure.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.