{"schemaVersion":1,"sourceId":"xtester","product":"xtester","locale":"en","revision":"749dfeac803185fba404cb6443931435d0fe97cc219a85b4ec3e3b8cefab2a8b","results":[{"sourceId":"xtester","product":"xtester","articleId":"first-backtest","sectionId":"prepare","locale":"en","revision":3,"title":"What You Will Check","articleTitle":"First Validation Backtest","excerpt":"This ready first validation backtest is for someone who does not yet write C#. Create a folder strategy, paste the complete file, compile it and check historical candle processing.","text":"What You Will Check\nThis ready first validation backtest is for someone who does not yet write C#. Create a folder strategy, paste the complete file, compile it and check historical candle processing.\nThe example counts closed bars and writes a log. It places no orders, so zero trades is the expected result. This checks installation, data and execution before adding trading rules.\nThe complete project was checked in isolated EngineHost 1.0.0-preview.1 on macOS: clean compilation and a Binance/Spot/BTCUSDT historical run for one hour on 2020-01-01. Its code uses no extra libraries, exchange API keys or paid AI model.\nThese instructions use the Studio strategy format. Check the exact version and available API before adapting them to another release, an older Tester or SDK Handbook example.\n\nRelease compatibility","canonicalUrl":"https://xtester.pw/help/en/first-backtest#prepare","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"first-backtest","sectionId":"project","locale":"en","revision":3,"title":"Get the Example Project","articleTitle":"First Validation Backtest","excerpt":"A ready C# project for your first run: complete code, manifest, history download and a checked result without orders.","text":"Get the Example Project\nWhere to open: Command Palette → XTester: New Strategy… → Create from Scratch. Choose C#, the name First Check and a separate learning folder.\nAlternatively download the ZIP, extract first-check and open it with Open Saved Strategy in the wizard. It contains main.cs, the manifest, RU/EN instructions and the actual validation receipt; it includes neither price history nor the installed application.\nDownload example project: https://xtester.pw/help-examples/v1.0.0-preview.1/first-check-2ae5354fa59c.zip\nA folder strategy has main.cs and xtester.strategy.json. The wizard may add service fields. When using the wizard, retain its structure and replace the complete main.cs with the code below.\nfirst-check/\n  main.cs\n  xtester.strategy.json\n  README.ru.md\n  README.en.md\n  verification.json\nThe strategy wizard options\nStrategy wizard: three ways to begin.\nStrategy wizard: three ways to begin.\nCreate a new strategy from scratch.\nOpen an already saved strategy.","canonicalUrl":"https://xtester.pw/help/en/first-backtest#project","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"first-backtest","sectionId":"code","locale":"en","revision":3,"title":"Complete main.cs","articleTitle":"First Validation Backtest","excerpt":"A ready C# project for your first run: complete code, manifest, history download and a checked result without orders.","text":"Complete main.cs\nOpen main.cs, select its entire contents and paste this complete file. Save it before compiling.\nNo namespace or using was omitted for the Studio folder template: the compiler supplies standard SDK imports. This is a verified strategy-file format, not a standalone .NET console project. Check exact types and signatures against the installed engine API.\nOnInit receives the logger and resets the counter. OnBar handles closed bars. OnFinish reports the count. The code contains no order-submission calls.\npublic class UserStrategy : IStrategy\n{\n    private ILogger _logger = null!;\n    private int _closedBars;\n\n    public void OnInit(StrategyContext context)\n    {\n        _logger = context.Logger;\n        _closedBars = 0;\n        _logger.Info(\"Learning example started. No orders will be placed.\");\n    }\n\n    public void OnTick(decimal? price = null) { }\n\n    public void OnBar(ISymbolKey symbolKey, IKline kline)\n    {\n        _closedBars++;\n        if (_closedBars == 1)\n        {\n            _logger.Info(\"The first closed bar was received.\");\n        }\n    }\n\n    public void OnFinish(StrategyFinishContext context)\n    {\n        _logger.Info(\"Closed bars processed: \" + _closedBars);\n    }\n}\n\nStrategy lifecycle events","canonicalUrl":"https://xtester.pw/help/en/first-backtest#code","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"first-backtest","sectionId":"manifest","locale":"en","revision":3,"title":"Manifest and Conditions","articleTitle":"First Validation Backtest","excerpt":"{\n  \"strategy\": {\n    \"name\": \"First Check\",\n    \"language\": \"csharp\",\n    \"entryPoint\": \"main.cs\"\n  },\n  \"simulation\": {\n    \"exchange\": \"Binance\",\n    \"market\": \"Spot\",\n    \"symbol\": \"BTCUSDT\",\n    \"timeframe\": \"m1\",\n    \"period\": {\n      \"from\": \"2020-01-01T00:00:00Z\",\n      \"to\": \"2020-01-01T01:00:00Z\"\n    },\n    \"depositUsdt\": 1000,\n    \"launchMode\": \"R","text":"Manifest and Conditions\nThe manifest records language, entry point and example settings: C# and main.cs, Binance Spot BTCUSDT, m1 and 1000 USDT initial funds.\nThis is the complete manifest of the checked ZIP. With the wizard, choose the same conditions in the interface; no manual .csproj is required. Choose Bar step mode. This tutorial runs historical data.\n{\n  \"strategy\": {\n    \"name\": \"First Check\",\n    \"language\": \"csharp\",\n    \"entryPoint\": \"main.cs\"\n  },\n  \"simulation\": {\n    \"exchange\": \"Binance\",\n    \"market\": \"Spot\",\n    \"symbol\": \"BTCUSDT\",\n    \"timeframe\": \"m1\",\n    \"period\": {\n      \"from\": \"2020-01-01T00:00:00Z\",\n      \"to\": \"2020-01-01T01:00:00Z\"\n    },\n    \"depositUsdt\": 1000,\n    \"launchMode\": \"Release\"\n  }\n}\n","canonicalUrl":"https://xtester.pw/help/en/first-backtest#manifest","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"first-backtest","sectionId":"run","locale":"en","revision":3,"title":"Download Data and Run","articleTitle":"First Validation Backtest","excerpt":"Open Simulation for the selected strategy and set the conditions below. Validation used Bar steps and ordinary modeled execution; historical prices do not make execution an exact venue reconstruction.","text":"Download Data and Run\nOpen Data and download Binance / Spot / BTCUSDT m1 history for 2020-01-01. The one-hour run needs candles from 00:00 through 00:59 UTC. Check actual coverage after downloading.\nIf history is unavailable, resolve the download issue first. Another instrument, date or generated dataset changes the scenario being checked.\nOpen Simulation for the selected strategy and set the conditions below. Validation used Bar steps and ordinary modeled execution; historical prices do not make execution an exact venue reconstruction.\nChoose Binance, Spot, BTCUSDT and m1.\nSet UTC start 2020-01-01 00:00 and end 2020-01-01 01:00.\nCheck 1000 USDT starting funds and Bar step mode.\nCompile Strategy and check that it reports no errors.\nRun the selected strategy historically and wait for completion.\n\nCheck history coverage\nConfigure simulation\nOpen Data","canonicalUrl":"https://xtester.pw/help/en/first-backtest#run","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"first-backtest","sectionId":"check","locale":"en","revision":3,"title":"Check the Result","articleTitle":"First Validation Backtest","excerpt":"Log timestamps use historical simulation time. This example therefore shows 2020-01-01 rather than today’s computer date. A time step and an OnBar callback are distinct events; their counts differ at these selected boundaries.","text":"Check the Result\nActual validation produced 60 steps, 59 closed-bar callbacks, 0 orders and 0 trades. Closed bars processed: 59 confirmed execution of our code, beyond successful compilation.\nLog timestamps use historical simulation time. This example therefore shows 2020-01-01 rather than today’s computer date. A time step and an OnBar callback are distinct events; their counts differ at these selected boundaries.\nCheck your own conditions and log: the first messages show startup and a closed bar, and the last line reports the counter. Another period, dataset or build may produce a different count.\nZero return is not a trading-idea evaluation here: the code deliberately buys and sells nothing. Add specific entry/exit rules as a separate exercise and validate them separately.\nLearning example started. No orders will be placed.\nThe first closed bar was received.\nClosed bars processed: 59\nOpen the strategy log\nInspect results\nStrategy Log after running First Check\nThe lower Strategy Log panel shows startup, the first closed candle and the final line Closed bars processed: 59. The example’s source defines these messages.\nXTester first-run statistics for the educational example without orders\nThe report shows zero trades and unchanged strategy equity of 1,000 USDT. The dashed line is a separate BTCUSDT benchmark; it is not activity by the example.\nRun summary metrics.\nEquity and the comparison benchmark.","canonicalUrl":"https://xtester.pw/help/en/first-backtest#check","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"first-backtest","sectionId":"problems","locale":"en","revision":3,"title":"If the Check Fails","articleTitle":"First Validation Backtest","excerpt":"A ready C# project for your first run: complete code, manifest, history download and a checked result without orders.","text":"If the Check Fails\nIStrategy or StrategyContext type error: check the Studio C# template, selected project and complete file replacement. Verify the About version and available API before adding a namespace from another example.\nNo candles or the run will not start: check exchange, market, symbol, m1, UTC bounds and actual downloaded coverage. A symbol name in a list does not establish history availability.\nZero trades with the expected log messages is normal for this example. Missing messages call for checking the selected strategy, saved file, compilation and actual execution.\nFor support, retain the version, run conditions, your own runId and exact error. Another validation receipt’s run ID does not identify your project.\n\nStartup troubleshooting","canonicalUrl":"https://xtester.pw/help/en/first-backtest#problems","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"getting-started","sectionId":"workflow","locale":"en","revision":8,"title":"Your first backtest","articleTitle":"Getting Started","excerpt":"Open an existing strategy folder or run New Strategy from the Command Palette. The wizard creates a manifest and source files for the selected language; add your strategy logic before running a backtest.","text":"Your first backtest\nOpen an existing strategy folder or run New Strategy from the Command Palette. The wizard creates a manifest and source files for the selected language; add your strategy logic before running a backtest.\nUse the XTester Data view to choose an exchange, market, and instrument. Download the history required for your test. Data downloads require network access.\nCompile the strategy, open the simulation settings, choose a covered date range, and start the backtest.\nOpen the results to compare the price chart, equity, drawdown, summary metrics, and trades.\n\nUnderstand the project manifest\nConfigure a backtest\nA ready first-backtest example\nStrategy wizard","canonicalUrl":"https://xtester.pw/help/en/getting-started#workflow","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"launcher","sectionId":"bundle-backtest","locale":"en","revision":7,"title":"Running a robot backtest","articleTitle":"Robot Check","excerpt":"A robot backtest is a headless backtest of the file by the same engine that computes an ordinary backtest. Keys are not touched.","text":"Running a robot backtest\nA robot backtest is a headless backtest of the file by the same engine that computes an ordinary backtest. Keys are not touched.\nThe run report carries structured fields, model fingerprints among them, which show what the numbers were actually produced with.\nWhen the project’s starting balances fund the robot’s market at release, the robot carries them: the robot backtest and Paper mode start from them, and the deposit stays as the fallback for a market the table does not cover. A live launch does not use them: it trades the real account of the exchange. Such a robot is written with bundle schema v8, and an older launcher refuses to open it — update the launcher. A backtest funded by starting balances is not saved to Strategy Laboratory: the Lab compares backtests funded by one deposit.\n\nStarting and stopping\nStrategy Laboratory","canonicalUrl":"https://xtester.pw/help/en/launcher#bundle-backtest","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"mcp-workflows","sectionId":"backtest","locale":"en","revision":1,"title":"Get a reproducible backtest","articleTitle":"MCP Workflow Examples","excerpt":"Prepare a backtest of the selected XTester strategy for the instrument and period I specify. Check history, starting funds and costs first. Return the actual runId, conditions, metrics and trades, or the precise reason the run could not execute.","text":"Get a reproducible backtest\nSpecify the strategy, exchange, market, instrument, timeframe, period and starting funds. Review costs and data coverage before running. Insufficient data should produce an explanation, not substitution with another history.\nRetain the run ID, conditions and result sources. Use runId to revisit metrics, trades and equity. Distinguish an executed calculation from a proposed plan.\nPrepare a backtest of the selected XTester strategy for the instrument and period I specify. Check history, starting funds and costs first. Return the actual runId, conditions, metrics and trades, or the precise reason the run could not execute.\nCheck data coverage\nFees and slippage\nBacktest results","canonicalUrl":"https://xtester.pw/help/en/mcp-workflows#backtest","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"research","sectionId":"market-screener","locale":"en","revision":6,"title":"Market screener on historical and simulation time","articleTitle":"Researches","excerpt":"Follow Simulation observes a prepared interactive simulation on its own model steps, including its selected refinement input. Prepare and pause the simulation, choose Use Simulation Period, start screening, wait for input preparation and then advance or resume the simulation. Downloaded pairs not resident in the simulation use owned temporary ranges without ","text":"Market screener on historical and simulation time\nOpen XTester: Open Market Screener from the command palette. Choose a market and any or all downloaded instruments. No strategy project is required for historical replay or a snapshot. The instrument count is not capped at twenty.\nSet the UTC period, timeframe, rolling window, recalculation interval and candidate conditions. Historical Replay calculates consecutive time slices; Snapshot at End Time calculates only the selected end time. Include Forming Candle explicitly uses the ordinary modeled minute path, not recorded intraminute trades. Otherwise only closed bars are considered.\nFollow Simulation observes a prepared interactive simulation on its own model steps, including its selected refinement input. Prepare and pause the simulation, choose Use Simulation Period, start screening, wait for input preparation and then advance or resume the simulation. Downloaded pairs not resident in the simulation use owned temporary ranges without changing its loaded universe. A coarser simulation step never fabricates intermediate samples.\nMove the historical-sample slider and page through instruments. Show Matches Only filters the visible page; missing coverage and failed reads remain explicit. Results are descriptive observations, not a profitability verdict. A zero volume ratio may be unavailable when no prior volume exists.\nResource Limits controls decompressed source reads, saved results, temporary data and elapsed time. Large gzip prefixes also consume the read budget. Exhaustion or cancellation preserves durable result pages and partial coverage. Closing the panel cancels only its active screener, not the simulation; saved research and result pages remain available through Market Research and MCP.\nThe opening menu now includes saved definitions, saved snapshots and previous runs. Saved results can be viewed even after raw history has been removed. Save Definition retains the whole instrument set, timeframe, lookback, cadence, forming-candle choice and conditions. Old versions can be selected explicitly; archive/restore preserves them.\nAdvanced Conditions accepts the common condition JSON: metric/comparison/value, all/any arrays and not. The same value is used in Studio, Copilot/MCP and strategy code. Missing values never become matches just by negating a condition. A selected universe can include multiple markets and venues.\nSave Snapshot preserves the complete calculated time slice rather than only the displayed instrument page, with its frozen definition and input hashes. Partial coverage stays explicit. Import/export uses self-contained JSON; imported observations remain unverified, and a hash proves integrity rather than market truth. Closing a viewer does not cancel a run started elsewhere.\nCopy C# Code binds the current definition as portable JSON. Register context.Screeners().Create/CreateJson in OnInit, then read Current in OnBar/OnTick; Calculate forces a fresh read, At accepts only earlier/current model time. The Library property saves/reads exact versions and hides future snapshots. Use the same portable JSON in Python, JS/TS, Java, Go, C++, Rust, R or Pine SDKs; the calculations remain in XTester.\nFor a robot on another host, embed the exported definition JSON in source or a normal strategy parameter. OpenSaved(id,version,sha256) requires that exact document in the destination profile library; it never silently selects a replacement. Definition/snapshot/library budgets are 2 MiB/16 MiB/512 MiB; archive keeps immutable history. No screener operation changes trading permissions.\n\nMarket Research\nSaved Market Screener snapshot for BTCUSDT\nSnapshot at End Time shows the UTC time, filters, and calculated metrics for the selected instrument.","canonicalUrl":"https://xtester.pw/help/en/research#market-screener","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"results","sectionId":"robustness","locale":"en","revision":6,"title":"Check a Completed Backtest for Robustness","articleTitle":"Statistics","excerpt":"In Calculations, choose Check Robustness on a completed ordinary background backtest. This does not import the strategy into Strategy Laboratory. A frozen candidate must be available; credential-bearing project files or missing inputs can make this optional check unavailable while the original backtest remains usable.","text":"Check a Completed Backtest for Robustness\nIn Calculations, choose Check Robustness on a completed ordinary background backtest. This does not import the strategy into Strategy Laboratory. A frozen candidate must be available; credential-bearing project files or missing inputs can make this optional check unavailable while the original backtest remains usable.\nChoose the phase timeframe, maximum phase episodes, fee multiplier and added slippage. Phases default to h1: minute phases give episodes of an hour or less. Each phase and transition takes its longest stretches first, one episode per stretch, so the episodes spread over the baseline. With its warm-up the baseline may cover up to 262,144 bars of the phase timeframe: 182 days at m1, decades at h1.\nEvaluation criteria and phase-classifier thresholds stay collapsed until needed. Preview first: inspect the baseline, candidate fingerprint, periods, warm-up, overlapping episodes and limitations. Only Run Approved Scenarios submits a job. Editing an option invalidates the preview.\nProgress and cancellation use the existing Calculations jobs. Reopen a robustness job to see partial or completed results. Execution status is separate from the verdict: meets selected criteria, fails criteria, insufficient data or not evaluated. Too few closed trades cannot receive a passing verdict.\nChecks reuse historical data, including overlapping phase and transition windows. They are not held-out validation and do not promise future profit. Realized P&L and marked open-position valuation at phase boundaries are separate; a boundary valuation is not a closed trade.\nAdditional checks stays collapsed and all optional families are off by default. Select generated phases/transitions, predeclared parameter variants, another completed calculation as market/timeframe input, or closed-trade resampling. Synthetic data and measured properties remain separate from real history.\nLocal detail keeps surrounding coarse history and refines only a selected window. It matters when intraminute order changes a stop/take-profit outcome. Requesting closed detail does not rewrite past trades. A separately approved full replay with a real block or stated synthetic path can measure the execution difference; it is never mandatory.\nSeeds reproduce generated variants and are fixed before viewing strategy results. Fixed-PnL Monte Carlo measures paths/drawdown under stated assumptions; permutation preserves total PnL. Its verdict is Measured, not a passed strategy trial or a market probability.\nReserve an unused period outside the source baseline before testing the final candidate. Preserve the reservation ID and view its retained use history. Without prior reservation, a selected range is a reused-period check. Workflow reservation does not isolate files, network or public history from arbitrary strategy code.\nOrdinary background runs can request missing detail from their owning Studio host. Synthetic data requires explicit consent; unattended required requests stop. Acquired detail joins the actual frozen candidate. No risk setting is changed automatically.\n\nCalculations\nStrategy Laboratory\nCompleted robustness checks for an educational strategy\nCompare the original scenario, increased fees, and extra slippage. Two closed trades are insufficient for the selected criterion.","canonicalUrl":"https://xtester.pw/help/en/results#robustness","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"settings","sectionId":"strategies","locale":"en","revision":6,"title":"Strategies and Simulation","articleTitle":"Settings","excerpt":"Simulation Settings opens account, execution and cost settings. Check the exchange, market and selected strategy profile; another project’s parameters do not replace its settings.","text":"Strategies and Simulation\nStrategy Library Folder chooses where your strategies are found. Use your own working folder; the program installation folder should not become the store for user projects.\nSimulation Settings opens account, execution and cost settings. Check the exchange, market and selected strategy profile; another project’s parameters do not replace its settings.\n\nProjects and strategy library\nFees and execution settings","canonicalUrl":"https://xtester.pw/help/en/settings#strategies","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"simulation","sectionId":"setup","locale":"en","revision":7,"title":"Launch Settings","articleTitle":"Simulation","excerpt":"Where to open: Simulation → Launch Settings. Open the window with XTester: Show Simulation.","text":"Launch Settings\nWhere to open: Simulation → Launch Settings. Open the window with XTester: Show Simulation.\nChoose the instrument and launch profile here. Symbols come from downloaded instruments for the selected source and market. A no-candles marker means history must be downloaded before starting.\nSelect Asset Class, Source and Market.\nChoose the Symbol and then the Timeframe.\nIf candles are missing, open Data → Download Data and prepare the required history.\nGo to Simulation Settings to review the period and starting balances.\n\nCheck historical coverage\nopen Data\nLaunch Settings. History has not yet been downloaded in this example project.\nLaunch Settings. History has not yet been downloaded in this example project.\nOpen Launch Settings.\nChoose the asset class, source and market.\nA no-candles marker means history is needed first.\nChoose the timeframe.","canonicalUrl":"https://xtester.pw/help/en/simulation#setup","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"simulation","sectionId":"simulation-settings","locale":"en","revision":7,"title":"Simulation Settings","articleTitle":"Simulation","excerpt":"Where to open: Simulation → Simulation Settings.","text":"Simulation Settings\nWhere to open: Simulation → Simulation Settings.\nIn Period and Account, set the start and end of the run in UTC. The Start summary shows the source of starting capital. Balances… opens the separate window for starting balances and the current account.\nIn Auto-Pause, choose which events pause the run. Data-quality and execution-model settings control which data and assumptions the calculation uses.\nReview Start (UTC) and End (UTC).\nCheck the starting-capital summary; open Balances… if needed.\nChoose the auto-pause conditions you need.\nReview the data settings and use Apply Settings to apply changes.\n\nPeriod, starting funds and autopause in Simulation Settings.\nPeriod, starting funds and autopause in Simulation Settings.\nOpen Simulation Settings.\nSet the start and end of the period in UTC.\nThis example starts from the project’s balance table.\nChoose the events that should pause the simulation.","canonicalUrl":"https://xtester.pw/help/en/simulation#simulation-settings","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"simulation","sectionId":"profile","locale":"en","revision":7,"title":"Simulation Profile","articleTitle":"Simulation","excerpt":"Where to open: Command Palette → XTester: Simulation Profile: Fees, Slippage, Leverage.","text":"Simulation Profile\nWhere to open: Command Palette → XTester: Simulation Profile: Fees, Slippage, Leverage.\nSelect the exchange on the left. The top block shows the effective values used by the calculation engine. Use it to distinguish current calculation costs from form values that have not been applied.\nIn Market: Fees, Slippage and Funding, choose the market. Enable Own execution costs for this market to enter your own rates. Default values are marked beside the fields. With custom costs disabled, the market uses standard exchange costs.\nImportant: check the displayed units. For example, the fraction 0.0002 means 0.02%. Apply to the Market applies costs, while Apply to the Account applies leverage and account modes.\nThese parameters apply to the current engine process; the window explains that they are not written to user settings on disk. Cost changes are refused during a running or paused run.\nSelect the exchange and review the effective-values block.\nChoose the market and enable custom costs if standard rates are unsuitable.\nReview maker/taker fees, the slippage mode and any other required fields.\nUse the appropriate Apply button, then recheck the effective values at the top.\n\nConfigure exchange keys\nEffective calculation parameters for the selected exchange in the example project.\nEffective calculation parameters for the selected exchange in the example project.\nSelect the exchange in the left-hand list.\nThese are the effective values used by the calculation.\nFee and slippage fields, with custom market costs still disabled in this example.\nFee and slippage fields, with custom market costs still disabled in this example.\nChoose the selected exchange’s market.\nEnable own execution costs to edit these fields.\nCheck each fee and its displayed units.\nSet the slippage mode and its size separately.","canonicalUrl":"https://xtester.pw/help/en/simulation#profile","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"simulation","sectionId":"run","locale":"en","revision":7,"title":"Start, monitor, and cancel","articleTitle":"Simulation","excerpt":"Compile the current source before running. Start the backtest and watch progress in the panel and XTester output channel. Avoid changing the active project while an engine operation is using it.","text":"Start, monitor, and cancel\nCompile the current source before running. Start the backtest and watch progress in the panel and XTester output channel. Avoid changing the active project while an engine operation is using it.\nCancellation is a request to stop the running operation. Wait for a completion or cancellation result before assuming the engine is idle. Open the results after a completed run.\n\nRead the run summary\nSample simulation on one-minute BTCUSDT history\nFollow the chart and simulation metrics while the historical run is in progress.","canonicalUrl":"https://xtester.pw/help/en/simulation#run","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"simulation","sectionId":"limitations","locale":"en","revision":7,"title":"What a backtest can tell you","articleTitle":"Simulation","excerpt":"A backtest evaluates code against the history and execution assumptions available to the engine. Check data coverage, fees, order size, and the engine’s supported market model when assessing a run.","text":"What a backtest can tell you\nA backtest evaluates code against the history and execution assumptions available to the engine. Check data coverage, fees, order size, and the engine’s supported market model when assessing a run.\nHistorical performance is not a forecast. Studio help does not make claims about strategy profitability or promise live-trading features that are not present in the interface.\n","canonicalUrl":"https://xtester.pw/help/en/simulation#limitations","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"simulation","sectionId":"auto-pause","locale":"en","revision":7,"title":"Autopause","articleTitle":"Simulation","excerpt":"Set the instrument and period, review calculation settings and control a simulation.","text":"Autopause\nA run can stop on its own: on a strategy error, on an order placed, filled and completed, on a position opened and closed, on a stop triggered and on a liquidation. A separate switch governs stopping at chart breakpoints.\nIn an ordinary run these conditions are on. A fully automatic run that has to compute its whole period without stopping turns them off — otherwise it stops at the very first order.\n","canonicalUrl":"https://xtester.pw/help/en/simulation#auto-pause","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"simulation","sectionId":"statistics","locale":"en","revision":7,"title":"Statistics and Trades","articleTitle":"Simulation","excerpt":"Set the instrument and period, review calculation settings and control a simulation.","text":"Statistics and Trades\nWhile the session moves the statistics are re-read once a second; while it stands, and after the end of the period, once every five seconds. The numbers carry an engine revision: equal revisions mean equal numbers.\nThe numbers come either from the current session or from the report a stopped session left behind. Live series are thinned to five hundred points, which is enough for a mini chart and light enough to read once a second.\n\nSample simulation on one-minute BTCUSDT history\nFollow the chart and simulation metrics while the historical run is in progress.","canonicalUrl":"https://xtester.pw/help/en/simulation#statistics","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"simulation","sectionId":"account","locale":"en","revision":7,"title":"Account","articleTitle":"Simulation","excerpt":"Exchange balances are loaded by a separate command and shown next to the simulated ones. That is a reading, not a transfer: the simulation keeps computing with its own values.","text":"Account\nThe Balance panel shows the balances, positions and orders of the session. A position is closed fully or in part and an order is cancelled with commands of the panel; Edit Balance… and Delete Balance open the Balances window at that row.\nExchange balances are loaded by a separate command and shown next to the simulated ones. That is a reading, not a transfer: the simulation keeps computing with its own values.\n\nBalances\nSample simulation on one-minute BTCUSDT history\nFollow the chart and simulation metrics while the historical run is in progress.","canonicalUrl":"https://xtester.pw/help/en/simulation#account","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"simulation","sectionId":"balances","locale":"en","revision":7,"title":"Balances","articleTitle":"Simulation","excerpt":"The Balances window opens from the button in the title of the Balance panel, from the Balances row of its tree, from the Balances… buttons of the Simulation window and from the command Balances: Starting and Current Account.","text":"Balances\nThe Balances window opens from the button in the title of the Balance panel, from the Balances row of its tree, from the Balances… buttons of the Simulation window and from the command Balances: Starting and Current Account.\nThe Starting tab is the table every simulation and every backtest of the project starts with: Save writes it into simulation.startingBalances of xtester.strategy.json, so it survives a restart and travels with the robot; the current session keeps its old start.\nThe Current Account tab edits the account of the session: Apply to the Account changes it at once, the change lasts until Stop, and the next start begins from the starting balances again; Copy to Starting moves this account into the table, which is then left to save. Both tabs are split by the markets of the exchange; a row holds Asset, Free, Locked and Total (free plus locked), and a new asset is picked from the asset list of the exchange.\nOne rule decides what a simulation, a backtest, a robot and a preflight check start with. The table funds the start when the session runs on the exchange of the project (or the project names none) and the table has rows of the instrument’s market.\nOtherwise the start uses a deposit: the one set in the Simulation window for the session or for the backtest, else the project deposit depositUsdt, else 10,000 in the quote asset of the instrument. A deposit set for the session wins over the table and lasts until Stop; saving the table or the project deposit clears it. A fresh start first clears every virtual account and only then funds it from the table or the deposit.\nOn the Simulation Settings and Background Backtest tabs the summary that begins with Start: says what the start uses, and the deposit field is hidden where the table funds the market. Remove Table — Start from the Deposit returns the start to the deposit; an empty table starts from the deposit too, so to start with nothing, keep a row with 0.\nLocked in the starting table is the part of the asset the strategy cannot spend: no order holds it, yet it is not free either; it counts in equity. Usually it is 0. In the current account Locked is held by open orders and by the margin of positions, so while a market has orders or positions only Free changes there, and an asset with a locked part cannot be removed.\nThe current account is edited only on an ordinary pause of the simulation: not while it moves, not at a code breakpoint, not during the warm-up and not after the end of the period. Rows of 0/0 are shown on both tabs — a spot order needs a row of its base coin, even with zero; the Needed for line lists the assets the instrument needs.\nInitial equity in the statistics is the value at the start of the assets of the instruments the strategy works with: base and quote on spot, collateral on futures. Rows of other assets are not part of it; when the strategy takes up the instrument of such an asset during a simulation, the asset’s value enters equity from that moment and shows as profit, so keep the table to the assets of the strategy’s instruments.\nA coin in the spot base moves equity with its price even without trades. The statistics count an edit of the current account as a result: a top-up as profit, a withdrawal as loss; the edit is not recorded as a trade.\n\nBackground Backtest\nStarting tab in the XTester Studio Balances window\nA starting-balance draft in the running XTester app.\nChoose Starting: this table funds a new run.\nEdit the free and locked amounts for the selected asset.\nSave stores the starting table; the dot on its tab marks an unsaved edit.\nCurrent Account tab in the XTester Studio Balances window\nCurrent Account before the first simulation start.\nCurrent Account belongs to the session, rather than the saved starting table.\nThere is no session yet, so the account is empty and read-only. After starting, edit it on an ordinary pause.","canonicalUrl":"https://xtester.pw/help/en/simulation#balances","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"simulation","sectionId":"batch","locale":"en","revision":7,"title":"Background Backtest","articleTitle":"Simulation","excerpt":"Background Backtest runs a calculation without the simulation chart. Review the instrument, period and starting funds before starting. A completed result opens separately.","text":"Background Backtest\nBackground Backtest runs a calculation without the simulation chart. Review the instrument, period and starting funds before starting. A completed result opens separately.\n\nBackground Backtest\nBackground Backtest settings in XTester Studio\nSet the period and starting deposit on the Background Backtest tab for the separate run.","canonicalUrl":"https://xtester.pw/help/en/simulation#batch","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"simulation","sectionId":"parameters","locale":"en","revision":7,"title":"Strategy Parameters","articleTitle":"Simulation","excerpt":"Where to open: Simulation → Strategy Parameters. These belong to the compiled strategy, separately from exchange, period or execution-profile fields.","text":"Strategy Parameters\nWhere to open: Simulation → Strategy Parameters. These belong to the compiled strategy, separately from exchange, period or execution-profile fields.\nCompile the selected strategy and refresh first. Names, types, defaults and restrictions come from its declarations. A strategy with no declared parameters does not require invented form entries.\nAn entered value overrides the default for this project. Reset removes that override. Missing and explicitly zero values can mean different things in the code.\nChanges apply on a new Start. Continue retains parameters of the paused session; editing a field does not establish that the current calculation uses it.\nAfter source changes, recompile and inspect the list: a parameter can disappear or change type/range. Overrides belong to their project folder and must not silently drive another strategy with a similarly named parameter.\nSelect the intended project and compile.\nOpen Strategy Parameters and refresh.\nEnter values within declared constraints.\nStart a new calculation to test them.\nCompare the new run’s conditions and log.\n\nStrategy parameter API\nRecipient parameter permissions\nParameters of the compiled educational strategy\nLookback and LogEveryBars appear after compiling Parameter Demo. The application shows the default next to each field.\nFields declared in the strategy.","canonicalUrl":"https://xtester.pw/help/en/simulation#parameters","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"simulation","sectionId":"commands","locale":"en","revision":7,"title":"Related commands","articleTitle":"Simulation","excerpt":"Cancel Backtest — xtester.cancelBacktest","text":"Related commands\nFind these actions by name in the Command Palette; availability depends on the current project and operation state.\nCancel Order — xtester.accountCancelOrder\nClose Position… — xtester.accountClosePosition\nDelete Balance — xtester.accountDeleteBalance\nEdit Balance… — xtester.accountEditBalance\nLoad Balances from the Exchange… — xtester.accountLoadExchangeBalances\nBalances… — xtester.accountOpenBalances\nReduce Position… — xtester.accountReducePosition\nRefresh Account — xtester.accountRefresh\nOrder History — xtester.accountShowOrderHistory\nCancel Backtest — xtester.cancelBacktest\nPaper Scenario… — xtester.paperScenario\nBacktest Active Strategy… — xtester.runBacktest\nRun Backtest (Quick Input) — xtester.runBacktestQuick\nShow Simulation — xtester.showSimulation\nBalances: Starting and Current Account — xtester.showSimulationBalances\nSimulation Profile: Fees, Slippage, Leverage — xtester.showSimulationProfile\nPause Simulation — xtester.simulationPause\nStart Simulation — xtester.simulationStart\nStep Forward — xtester.simulationStep\nStep Forward… — xtester.simulationStepMany\nStop Simulation — xtester.simulationStop\nCalculate Strategy… — xtester.strategy.runBacktest\nShow Simulation — xtester.strategy.showSimulation\n","canonicalUrl":"https://xtester.pw/help/en/simulation#commands","appliesTo":{"versions":["1.0.0-preview.1"]},"score":40},{"sourceId":"xtester","product":"xtester","articleId":"background-jobs","sectionId":"queue","locale":"en","revision":5,"title":"Submit a Background Run","articleTitle":"Calculations","excerpt":"Where to open: Strategy Laboratory → Calculations. For an ordinary background run, open the intended strategy and choose Run Strategy Backtest in Background from the Command Palette.","text":"Submit a Background Run\nWhere to open: Strategy Laboratory → Calculations. For an ordinary background run, open the intended strategy and choose Run Strategy Backtest in Background from the Command Palette.\nStudio saves that strategy’s dirty files before submission. The job uses saved source and the engine’s current simulation configuration, including settings newer than the manifest. Check instrument, period, initial funds and execution first.\nEach job retains its identifier and originating project. Its row shows work type, state, stage and available progress; simulation time, trade count and equity may also appear. Progress is not a strategy-quality score.\nOpen the intended strategy folder and check simulation settings.\nChoose Run Strategy Backtest in Background.\nLocate the new job by project and work type in Calculations.\nWait for a terminal state and open that job’s own report.\n\nCheck an ordinary first backtest\nStrategy Laboratory\nsimulation settings\nRunning and completed calculations in XTester Studio\nThe Calculations view shows the current stage and progress. Open a recent result from the lower group.","canonicalUrl":"https://xtester.pw/help/en/background-jobs#queue","appliesTo":{"versions":["1.0.0-preview.1"]},"score":14},{"sourceId":"xtester","product":"xtester","articleId":"launcher","sectionId":"preflight","locale":"en","revision":7,"title":"Preflight","articleTitle":"Robot Check","excerpt":"This panel shows Launcher robots on this computer and offers a separate readiness check. You can work with the open project or choose a robot file. Robot Backtest requires a file.","text":"Preflight\nWhere to open: XTester: Robot Check in the Command Palette.\nThis panel shows Launcher robots on this computer and offers a separate readiness check. You can work with the open project or choose a robot file. Robot Backtest requires a file.\nPreflight checks the market, history, connection, account context and limits. It may access the network and read the connected account, but it does not start a robot or place orders.\nCreating and branding a robot application is covered by the separate Own Launcher (White Label) guide.\nOpen Robot Check.\nUse Choose Robot File… when checking an existing file. Without a file, preflight uses the open project.\nUse Run Preflight and read the resulting readiness or rejection reasons.\nUse the separate Robot Backtest block to backtest a file.\n\nOwn Launcher (White Label)\nRobot Check before preflight, with no connected robots.\nRobot Check before preflight, with no connected robots.\nChoose the robot file here when working with a file.\nPreflight runs through its own button.\nRobot Backtest requires a robot file.","canonicalUrl":"https://xtester.pw/help/en/launcher#preflight","appliesTo":{"versions":["1.0.0-preview.1"]},"score":13},{"sourceId":"xtester","product":"xtester","articleId":"charts","sectionId":"indicators","locale":"en","revision":8,"title":"Indicators and trade markers","articleTitle":"Downloaded Charts","excerpt":"For a simulation session, the history chart shows its fills as markers with hover details; compare them with the trade table. Dense zoom can make individual markers difficult to distinguish; zoom in or use the table for exact records. A completed backtest draws no markers on the charts: click a trade’s row on the Trades tab to show its entry bar on the open ","text":"Indicators and trade markers\nThe history panel’s Indicators action adds supported indicator overlays or separate panes. Indicator chips identify active instances and provide removal actions. Removing a chart instance does not delete strategy source.\nFor a simulation session, the history chart shows its fills as markers with hover details; compare them with the trade table. Dense zoom can make individual markers difficult to distinguish; zoom in or use the table for exact records. A completed backtest draws no markers on the charts: click a trade’s row on the Trades tab to show its entry bar on the open charts.\n\nReview the trade table\nOne-minute BTCUSDT chart with the toolbar\nUse the chart toolbar to choose an interval and analysis tools.\nChart toolbar\nChart area","canonicalUrl":"https://xtester.pw/help/en/charts#indicators","appliesTo":{"versions":["1.0.0-preview.1"]},"score":12},{"sourceId":"xtester","product":"xtester","articleId":"projects","sectionId":"agents","locale":"en","revision":6,"title":"External agents, MCP sessions and job ownership","articleTitle":"Portfolio","excerpt":"An MCP agent such as Codex or Claude can work with a Studio window only after you approve its connection. The External Connections view lists every connection with its access and writer state. Only one agent at a time holds the writer. Your own actions in Studio are never refused because an agent holds it: they wait until the agent's current operation ends. ","text":"External agents, MCP sessions and job ownership\nAn MCP agent such as Codex or Claude can work with a Studio window only after you approve its connection. The External Connections view lists every connection with its access and writer state. Only one agent at a time holds the writer. Your own actions in Studio are never refused because an agent holds it: they wait until the agent's current operation ends. Starting a simulation or a strategy conversion while another one runs still reports that the engine is busy.\nA job an agent starts, such as a history download, a backtest, a simulation or a strategy conversion, belongs to that agent. Only that agent, or you in Studio, can cancel it, and other agents do not see it. If the agent disconnects, the job is kept and appears in External Connections as an orphaned job; no other agent can take it over. Stop it with its usual Studio control if you no longer need it. Cancelling a simulation job stops the session and resets it to the start of its period; pausing keeps the position.\nWhile a simulation is prepared, running or paused, or a strategy conversion is running, the current engine remains bound to its project. Opening another independent project uses a new window when work, an attached agent or an unsaved result must be preserved, or when the work state is unknown. This never transfers job ownership or resumes execution in the target window.\nAgents receive stable refusal codes: WRITER_BUSY (another agent holds the writer), STALE_CONTEXT (the project changed after the agent read it, so it must read again), JOB_NOT_OWNER (the job belongs to another connection), ACTIVE_JOB_BLOCKS_PROJECT_SWITCH (an active simulation or conversion keeps the project), SHARED_PROJECT_WRITE_BLOCKED (the folder is open in another Studio window), READ_ONLY_SESSION (the connection was approved for reading only) and PROJECT_BINDING_CHANGED (the window switched to another project, so the agent needs a new approval).\nWhen Codex or Claude asks to connect, Studio shows Allow for this dialog, Read only, or Reject. Allow grants writer capability for that connection; Read only never receives a writer lease; Reject closes the request. Closing the dialog or letting it time out is the same as Reject for that request. Starting an MCP host alone does not open Studio and does not focus an existing window.\nAutonomous agents mode (setting xtester.mcp.autonomousAgents, off by default; Studio offers it once on first launch) lets agents connect, write to the project and take over the writer without these dialogs.\nAccess to exchange accounts and API keys, and deletions, still need your explicit permission: the agent asks you in its own chat and passes your answer back with consent_answer, or Studio asks in the window, where you can allow access once or always for this project. Remembered permissions are listed and revoked in Settings → External Agents; deleting exchange keys asks every time.\nTurn the mode on or off in Settings by searching for autonomousAgents; an agent cannot change this setting itself.\nYou can disconnect an agent from External Connections at any time. Disconnect revokes its grant immediately; orphaned jobs stay listed until you stop them in Studio. Secrets, tokens and nonces never appear in tool arguments the model can see.\nRead the current full agent catalog from XTester.McpHost --studio through tools/list. For a specific task, use search_tools, then get_tool_schema: the schemas of this build take precedence over an older tool list. list_studio_actions describes shared UI actions and run_studio_action executes them, including market_research_open to open the research chat and market_research_show to show a result. The portfolio section describes composition, capital, logical folders and calculation.\nIndependent projects use the shared actions list_projects, create_project and open_project (Copilot names have the xtester_ prefix). Discover their schemas with list_studio_actions and invoke them through run_studio_action with read-write approval, writer access and confirm: true, including the read action list_projects.\nIts JSON result distinguishes workspaceRoot from activeStrategy and lists projects [{folder,name,id?,current}]. create_project requires name and the exact absolute parentFolder; it creates an empty project without opening it. open_project accepts the exact absolute folder and always requests another window.\nIt keeps the invoking session and never selects or approves the target: call list_studio_sessions, then select_studio_session for the exact intended window before working there.\n\nManaging a strategy portfolio\nExternal Connections\nstrategy conversion\nhistory download\nexchange keys","canonicalUrl":"https://xtester.pw/help/en/projects#agents","appliesTo":{"versions":["1.0.0-preview.1"]},"score":12},{"sourceId":"xtester","product":"xtester","articleId":"results","sectionId":"overview","locale":"en","revision":6,"title":"Summary and charts","articleTitle":"Statistics","excerpt":"The window is named “Statistics” for a simulation, “Portfolio Statistics” for a portfolio report, or “Backtest: …” with the instrument name for an individual backtest.","text":"Summary and charts\nThe window is named “Statistics” for a simulation, “Portfolio Statistics” for a portfolio report, or “Backtest: …” with the instrument name for an individual backtest.\nThe results panel identifies the instrument and run and shows the engine’s summary metrics. The overview chart is drawn with lines, as in the first tester: the solid line is the equity of the whole strategy account across every instrument of the run, the dashed line is the benchmark (buying and holding the run’s first instrument with the starting capital), and below it is the drawdown in percent from the last peak.\nThe overview has no candles, volume, or trade markers: click a trade’s row on the Trades tab to show its entry bar on the open charts.\nThe whole run period is visible when the panel opens. The mouse wheel zooms at the cursor, dragging and Shift+wheel scroll within the period, and a double-click or the Whole Period button returns to the whole period. At any zoom the chart keeps the minimum and maximum of every stretch, so equity peaks and the depth of a drawdown never disappear.\nClicking the Strategy or Benchmark name in the legend hides or shows that line, and one of the two lines always stays on the chart. If the engine found no price for the benchmark, the dashed line is not drawn. Missing chart data should not be interpreted as a zero value.\nWhen you zoom in, the panel loads finer points for the visible stretch from the engine, down to every stored account valuation. The engine keeps this detail for the last four completed runs and for the last stopped session; during a running session, for older runs, and after an engine restart the chart stays at overview detail.\n\nPortfolio","canonicalUrl":"https://xtester.pw/help/en/results#overview","appliesTo":{"versions":["1.0.0-preview.1"]},"score":12},{"sourceId":"xtester","product":"xtester","articleId":"strategy-passport","sectionId":"explain-order","locale":"en","revision":6,"title":"Explain an Order","articleTitle":"Strategy Passport","excerpt":"Select a specific order in the simulation account and choose Explain Order. The request preserves its original context: check that the order, project and run are the ones you intend.","text":"Explain an Order\nSelect a specific order in the simulation account and choose Explain Order. The request preserves its original context: check that the order, project and run are the ones you intend.\nExample request: “Explain which code condition produced this order, which inputs were available then and where the log supports it. Do not change or run anything yet.”\nCompare the answer with source, timestamps, settings and logs. An explanation does not change a strategy or validate a hypothesis by itself. Code editing, optimization and reruns require separate action.\n\nOrders from a completed backtest and the AI explanation of the selected BTCUSDT sell\nIn this example the follow-up includes the recorded fill and lines from the run’s saved source. The answer separates the fill, the possible sell condition and the evidence limit.\nSelected order\nAnswer to the follow-up","canonicalUrl":"https://xtester.pw/help/en/strategy-passport#explain-order","appliesTo":{"versions":["1.0.0-preview.1"]},"score":12},{"sourceId":"xtester","product":"xtester","articleId":"strategy-workspace","sectionId":"build","locale":"en","revision":8,"title":"Compilation and dependencies","articleTitle":"Editor","excerpt":"Open the intended strategy and choose Compile Strategy. Diagnostics appear in XTester Build; double-click an error to open its source line. Stop a running simulation before rebuilding, or explicitly accept the build command’s stop confirmation.","text":"Compilation and dependencies\nOpen the intended strategy and choose Compile Strategy. Diagnostics appear in XTester Build; double-click an error to open its source line. Stop a running simulation before rebuilding, or explicitly accept the build command’s stop confirmation.\nAdd Package and Remove Package change strategy dependencies; installing dependencies is a separate action. Check the requirements of the selected language adapter: C# has the fullest contract, while other adapters may expose only part of it.\n\nA ready first-backtest example\nCS0103 error in the Problems panel\nSelect the error in Problems to jump to the affected line.\nCompiler error","canonicalUrl":"https://xtester.pw/help/en/strategy-workspace#build","appliesTo":{"versions":["1.0.0-preview.1"]},"score":12},{"sourceId":"xtester","product":"xtester","articleId":"strategy-workspace","sectionId":"debugging","locale":"en","revision":8,"title":"Breakpoints","articleTitle":"Editor","excerpt":"The breakpoint list can navigate to, rename or delete a breakpoint, disable all or delete all. Automatic pause at chart breakpoints belongs to simulation; stopping in source code belongs to the debugger.","text":"Breakpoints\nThe breakpoint list can navigate to, rename or delete a breakpoint, disable all or delete all. Automatic pause at chart breakpoints belongs to simulation; stopping in source code belongs to the debugger.\nStepping and pausing do not constitute a completed backtest. Compile changed code and run a new calculation before comparing results.\n\nStudio paused at a breakpoint in an educational C# strategy\nThe current line is highlighted and the call stack shows where execution paused. Use the debug toolbar to continue.","canonicalUrl":"https://xtester.pw/help/en/strategy-workspace#debugging","appliesTo":{"versions":["1.0.0-preview.1"]},"score":12},{"sourceId":"xtester","product":"xtester","articleId":"background-jobs","sectionId":"results","locale":"en","revision":5,"title":"Open or Save the Result","articleTitle":"Calculations","excerpt":"Choose Open Calculation Report for a completed ordinary backtest. It opens that job’s saved report; a missing or unreadable file must not be replaced by an unrelated interactive result.","text":"Open or Save the Result\nChoose Open Calculation Report for a completed ordinary backtest. It opens that job’s saved report; a missing or unreadable file must not be replaced by an unrelated interactive result.\nAn eligible completed result can be saved to Strategy Laboratory. If it was funded by starting balances, the application explains that it is not saved there: use the report and review funding conditions.\nOpening research, saving and checking robustness require the original strategy folder. Return to that project if prompted. Editing another strategy does not change the origin of an existing result.\n\nRead a report\nPassport and robustness\nStrategy Laboratory","canonicalUrl":"https://xtester.pw/help/en/background-jobs#results","appliesTo":{"versions":["1.0.0-preview.1"]},"score":11},{"sourceId":"xtester","product":"xtester","articleId":"background-jobs","sectionId":"commands","locale":"en","revision":5,"title":"Related commands","articleTitle":"Calculations","excerpt":"Run Strategy Backtest in Background — xtester.runBackgroundBacktest","text":"Related commands\nFind these actions by name in the Command Palette; availability depends on the current project and operation state.\nCancel Calculation — xtester.labJobs.cancel\nOpen Research — xtester.labJobs.openResearch\nOpen Calculation Report — xtester.labJobs.openResult\nRefresh Calculations — xtester.labJobs.refresh\nRemove from History — xtester.labJobs.removeFromHistory\nSave to Lab — xtester.labJobs.saveToLab\nParallel Calculations… — xtester.labJobs.setConcurrency\nRun Strategy Backtest in Background — xtester.runBackgroundBacktest\n","canonicalUrl":"https://xtester.pw/help/en/background-jobs#commands","appliesTo":{"versions":["1.0.0-preview.1"]},"score":11},{"sourceId":"xtester","product":"xtester","articleId":"charts","sectionId":"navigation","locale":"en","revision":8,"title":"Move around the chart","articleTitle":"Downloaded Charts","excerpt":"Open Another Chart in the chart context menu (and in the command palette while a chart is active) opens one more window of the same pair beside it: it starts on the same timeframe, and you switch one of the two. Such a window keeps its own timeframe and visible range — the charts of the same native window do not move it — while the crosshair, the simulation ","text":"Move around the chart\nClicking a pair in Data opens its own floating chart window. Clicking it again focuses that window. Selecting another pair inside a chart replaces that window’s contents; an already open pair is focused instead.\nOpen Another Chart in the chart context menu (and in the command palette while a chart is active) opens one more window of the same pair beside it: it starts on the same timeframe, and you switch one of the two. Such a window keeps its own timeframe and visible range — the charts of the same native window do not move it — while the crosshair, the simulation candles, orders and fills reach it like any other chart.\nThe tabs are numbered (#2, #3…), closing one leaves the others, and after a restart the windows come back each on its own timeframe. Clicking the pair in Data and the Downloaded Charts view always open or focus the window without a number: when only numbered windows of the pair are left, they open a new one.\nDrag the plot to pan and use the wheel to zoom. At maximum zoom-out (1500 bars of the selected timeframe), scrolling the wheel towards you pans in the cursor’s direction: right on the right half, left on the left half. Moving closer to the center reduces the shift.\nThe lower timeline provides a history overview. Click it to visit a date, drag its window to pan, or drag the window edges to change the visible interval. The left/right arrows move one screen; the outer buttons go to the beginning/end. The date and time field uses local time and preserves zoom.\nWith the chart focused, Left/Right and Page Up/Page Down move one screen, while Home/End go to the edges. During a simulation, End returns to model time. Loading additional candles can take time; watch the panel status.\n\nOrder Book\nData\nOne-minute BTCUSDT chart with the toolbar\nUse the chart toolbar to choose an interval and analysis tools.\nChart toolbar\nChart area","canonicalUrl":"https://xtester.pw/help/en/charts#navigation","appliesTo":{"versions":["1.0.0-preview.1"]},"score":11},{"sourceId":"xtester","product":"xtester","articleId":"charts","sectionId":"scales","locale":"en","revision":8,"title":"Price and time scales","articleTitle":"Downloaded Charts","excerpt":"The countdown below the current price shows the time left until the candle closes. It follows model time, or the test period start before a run, and stays unchanged while the simulation is paused.","text":"Price and time scales\nDrag the price scale to adjust its range. Double-click the price scale to restore automatic scaling. The time axis can be used to adjust the horizontal scale.\nScale settings are remembered by pane role where supported. Changing the interface theme should change the chart colors without changing the visible time interval or price scale.\nChanging timeframe preserves the center and visible candle count. Very wide or narrow views settle within 12–600 candles of the new timeframe.\nThe countdown below the current price shows the time left until the candle closes. It follows model time, or the test period start before a run, and stays unchanged while the simulation is paused.\n\nOne-minute BTCUSDT chart with the toolbar\nUse the chart toolbar to choose an interval and analysis tools.\nChart toolbar\nChart area","canonicalUrl":"https://xtester.pw/help/en/charts#scales","appliesTo":{"versions":["1.0.0-preview.1"]},"score":11},{"sourceId":"xtester","product":"xtester","articleId":"charts","sectionId":"levels","locale":"en","revision":8,"title":"The Levels indicator","articleTitle":"Downloaded Charts","excerpt":"During a run, the map uses the current simulation time, the right edge of the history replayed so far. It includes only candles closed by that time. Before the run, it uses the start of the test period when set, or the end of available history.","text":"The Levels indicator\nLevels builds a map of support and resistance. Levels come from swings, the volume profile, the daily high and low, round numbers and a composite source; each carries a strength from 0 to 1, and its label shows the price and that strength.\nDuring a run, the map uses the current simulation time, the right edge of the history replayed so far. It includes only candles closed by that time. Before the run, it uses the start of the test period when set, or the end of available history.\n\nThe future veil\nCalculated support and resistance levels on the BTCUSDT chart\nAfter you add Levels, the horizontal lines show each level’s price and strength.","canonicalUrl":"https://xtester.pw/help/en/charts#levels","appliesTo":{"versions":["1.0.0-preview.1"]},"score":11},{"sourceId":"xtester","product":"xtester","articleId":"charts","sectionId":"future-veil","locale":"en","revision":8,"title":"The future veil","articleTitle":"Downloaded Charts","excerpt":"During a simulation the data to the right of the current model instant is hidden. The veil prevents seeing what the strategy could not have seen at that moment.","text":"The future veil\nDuring a simulation the data to the right of the current model instant is hidden. The veil prevents seeing what the strategy could not have seen at that moment.\nThe veil is lifted and restored by their own commands. A lifted veil is a tool for reviewing a run that has already been computed, not a mode a strategy runs in.\nThe veil hangs on every chart of the window, including charts of other pairs: before a run at the Start of the test period, during a session at its model time. When the whole downloaded history of a pair begins later, the chart is empty and says so. Show the Future also reveals candles past the model time of a prepared or running session; indicator values behind the veil stay hidden.\n\nThe forming candle\nBTCUSDT minute candles and the future veil in the chart\nWith Follow the Simulation on, the chart shows the candles available at model time. The hatched area hides later data, and the time axis marks the run boundaries.\nInstrument, timeframe and following mode.\nCandles and the area hidden beyond model time.\nFuture veil on a paused XTester Studio chart\nWhile paused, the shaded area begins at the current simulation time. Replayed history is visible on the left.","canonicalUrl":"https://xtester.pw/help/en/charts#future-veil","appliesTo":{"versions":["1.0.0-preview.1"]},"score":11},{"sourceId":"xtester","product":"xtester","articleId":"charts","sectionId":"live-candle","locale":"en","revision":8,"title":"The forming candle","articleTitle":"Downloaded Charts","excerpt":"During a simulation the last candle forms right on the chart: it updates about ten times a second, and its close is the price the engine is filling orders at that instant. The crosshair legend marks such a candle as forming.","text":"The forming candle\nDuring a simulation the last candle forms right on the chart: it updates about ten times a second, and its close is the price the engine is filling orders at that instant. The crosshair legend marks such a candle as forming.\nThe candle is assembled from minute data: the closed minutes of the current bar plus a partial minute the engine builds itself. There are no ticks inside a minute in storage, so the price path within it is an estimate along a fixed route from the open through both extremes to the close, not real trades: a rising or doji minute visits its low first, a falling one its high first (at 19.8 and 39.6 seconds).\nThe engine fills orders and builds the synthetic book along the same route. Within one bar the candle only grows: the high and low never retreat, and the volume never falls.\nThe strategy does not see this candle: indicators and OnBar receive closed bars only, as before. That asymmetry is deliberate: the chart shows what is happening to the price in the engine right now, while the strategy still cannot look inside an unclosed bar.\nSmoothness depends on Display Mode in the simulation window. Visual Simulation with a small Delay between Ticks gives the picture of a live terminal: model time advances evenly and the candle fills in before your eyes. As Fast as Possible moves model time in jumps: more than a bar passes per frame, only closed candles remain on the chart, and a hint next to Follow the Simulation says so. With Step By set to Bar a step is a whole bar, so there is no forming candle at all.\n\nThe future veil\nSimulation settings\nOrder Book\nSample simulation on one-minute BTCUSDT history\nFollow the chart and simulation metrics while the historical run is in progress.","canonicalUrl":"https://xtester.pw/help/en/charts#live-candle","appliesTo":{"versions":["1.0.0-preview.1"]},"score":11}]}