Skip to content
WalkStrat Docs

Tab Reference

Every WalkStrat tab, field by field.

WalkStrat's tabs live inside TradeStation's TradingApp, with two native tabs (Settings and Optimization) and several externally built tabs. A Docs tab at the front of the strip holds the app's own built-in reference material — open it any time, independent of the workflow below. Work through the rest left to right; the >> / << buttons on most tabs move to the next/previous step in the guided flow rather than simply moving one tab over — see the note at the end of this page for exactly where each arrow goes.


In this page


Settings

Settings tabSettings tabIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

The Settings tab is the foundation of every session — every tab after it works from what is set here.

Set the Working Folder first. Nothing else on this tab, or any other tab, works without it.

Every pre-filled value on this tab is a starting default. Prefix/Suffix text, DaysBack, Holdout %, Commission/Slippage, the Metrics thresholds, MaxBarsBack, Trade Size, Genetic Optimization settings — all of it ships with a reasonable starting point, and all of it can be changed. Review every field against the strategy, instrument and account actually in use before relying on any result, rather than assuming the shipped numbers suit this particular case. Only the settings labeled with a '*' are required.

Work Environment

FieldWhat it does
Folder (+ Browse)Root folder WalkStrat reads and writes everything under. Required before Save Settings will do anything.

User Naming Convention

FieldWhat it does
Prefix / SuffixFree text combined with the original strategy name to build the generated strategy name and folder: Prefix + StrategyName + Suffix. Ships with defaults _TE / _ST. This is the name that the compiled strategy will use.

Strategy Selection

FieldWhat it does
Strategy dropdownShows every strategy currently compiled in TradeStation. Selecting one clears and repopulates the Inputs grid below.
Inputs gridOne row per input the selected strategy declares. Columns are Name, Start, Stop, Step. Leave Stop/Step blank on any input to be held fixed; fill all three on inputs to be optimized. At least one row has to be fully filled before Settings will save the configuration.

Data Settings

FieldWhat it does
Last DateEnd date of the test window. The window is fixed when Start Optimization is clicked (Optimization); a different Last Date set later is used by Feasibility only, and does not move the walk-forward test or the holdout.
History Type + DaysBackHow much history to load — a day count or year count, selected by the History Type dropdown (Days / Years). Note this is trading days, not calendar days.
Use Holdout Validation checkbox + Holdout %Holds out the last Holdout % of the data history before Optimization or Feasibility ever runs — that reserved tail is never 'seen' by TradeStation, till the final Holdout Validation step, later in the flow (see Holdout Validation). Turn it on before optimizing: turning it on afterwards does not create a clean holdout, because that period was already part of the optimization.

Time zone and session. WalkStrat runs every test on the exchange time zone (Chicago, for CME futures), whatever time zone TradeStation is set to on this computer. Every time in the results, and every time setting of the strategy, is exchange time. Tests also use the symbol's regular session as TradeStation defines it. For index futures such as @ES and @NQ, that is the nearly 24-hour electronic session (Sunday 5 PM to Friday 4 PM, exchange time), not only 8:30–15:15. The strategy's indicators therefore see the overnight bars too, even when the strategy only trades during the day. To see the same trades on a chart, set the chart to exchange time and the regular session.

Costs

FieldWhat it does
Per Trade checkboxChecked (the default): commission and slippage are charged once per trade, whatever the number of contracts. Unchecked: they are charged per contract, so a 2-contract trade costs twice as much.
CommissionDollars per side, charged on entry and again on exit, for every trade in the results.
SlippageTicks per side, also charged on entry and exit, converted at the instrument's tick value.

Optimization Settings

FieldWhat it does
MethodExhaustive (every combination) or Genetic (evolutionary search — faster on large spaces, not guaranteed exhaustive). Selecting Genetic reveals a Genetic Optimization Settings panel: Population Size, Generations, Mutation Rate, Crossover Rate, and a "terminate if fitness hasn't improved for N generations" cutoff, all with sensible defaults that can be left alone unless there is a specific reason to tune them. Exhaustive gives the complete map of results, which the candidate and Walk-Forward checks use best; Genetic is for grids too large to test in full in the time available. When Population × Generations is not below the number of combinations, Genetic cannot save anything: Exhaustive is used instead and a message says so. The method is recorded with the run; after a Genetic run, WFO Config shows a warning line (WFO Config).
FitnessThe metric the Optimization maximizes: Net Profit, Profit Factor, Expectancy Score or Pessimistic Return On Capital (winners and losers shrunk and grown by the square root of their count, so a test with few trades scores lower). Defaults to Net Profit. It decides which tests the Optimization keeps (when there are more than Top Tests), what a Genetic search climbs toward, and how WFO Config and the Walk-Forward rank each segment's winner. Candidates are always ranked by Net Profit.
Swing StrategyTick it for a strategy that holds positions overnight. Strategy Code then hides the day-trading filters (EOD Exit, Day P&L, Test Hour), and WFO Config starts on Anchored windows with Min trades per segment 1. Click Save Settings after changing it.
Top TestsThe number of best tests (by Fitness) each optimization run keeps in its results file. Default 1,000; an empty or invalid entry falls back to 1,000. These are the tests the candidates are chosen from and the Robustness tab shows. The WFO Config matrix judges every test the Optimization ran, and the Walk-Forward tests every setting in each segment, whatever this number is.

Metrics

The thresholds grid that filters which optimization results survive into the first, basic filtering — this is the gate described in Optimization's Optimization mode. Change the defaults as needed. The comparison column shows how each threshold applies — for example ≥ (at least) for Expectancy Score (TS), TradeStation's own Expectancy Score, and ≤ (at most) for the drawdown. A test must pass every row.

Net Profit / year and Trades / year are checked year by year: the in-sample history (the holdout is not part of it) is cut into 12-month blocks from its first day, and each block must make both values. A last piece shorter than 3 months is added to the year before it; a longer or shorter block has its values scaled to its length. The defaults ($1000, 40 trades) suit the e-mini contracts; for micro contracts use about a tenth of the Net Profit value (e.g. $100).

Weak years allowed (%) is the share of those years that may miss Net Profit / year or Trades / year — a losing year counts as a weak one. The share is rounded down: with the default 25%, a history of 2–3 years allows none, 4–7 years allow one, 8–11 years allow two. A short history therefore has to make the values every year; testing at least 5 years back gives a strategy room for one weak year.

Trades Settings

FieldWhat it does
MaxBarsBackWarm-up bars before the strategy is considered ready to trade. Match this to the strategy's slowest indicator lookback.
Look-Inside-Bar Type + QtyIntrabar resolution: None / Tick / Second / Minute, plus a sub-bar count. With None, a backtest has to assume the order of prices inside each bar, so stops and targets can fill at prices that never traded and results can look far better than they are. Minute 1 is recommended for any interval longer than 1 minute (Tick is exact, but tick history covers only about 6 months). Look-Inside-Bar can't be used together with Data2-4 streams: when any of them is set, runs are without it. Without Look-Inside-Bar (None, or Data2-4 set) on an interval longer than 1 minute, a Feasibility Test, Optimization, Generate Trades or Walk-Forward asks once per strategy folder before it starts (Continue / Cancel).
Trade SizeContracts/shares per trade used for testing.

Historical tick-data limits (a TradeStation platform limit, not a WalkStrat one). TradeStation only keeps about 6 months of tick-level history locally. Testing an expired futures contract older than 6 months at a Tick or Second Look-Inside-Bar resolution will fail with a data-acquisition error rather than complete — for deep historical testing, use Minute resolution instead. Look-Inside-Bar resolution also drives processing cost directly: a daily-chart backtest with 1-minute Look-Inside-Bar enabled evaluates roughly as many steps as a native 1-minute chart would, so optimizations can slow dramatically.

Capital

FieldWhat it does
Initial CapitalStarting account size used by cost/sizing calculations downstream. Defaults to 100000. It is recorded with the run and becomes the one Initial Capital of every chart and test in Candidates and Test & Validation (Candidates). A run with no Initial Capital recorded uses 25,000.

Application Settings

FieldWhat it does
Max number of coresCaps how many CPU threads TradeStation's Optimizer uses for Optimization, Trades Generator, and walk-forward test runs (1–8, or the machine's actual core count if lower — the Optimizer never uses more threads than physical cores exist regardless of this setting). Lower values leave more of the machine free for other work, at the cost of slower runs — a single-thread setting in particular will make full parameter sweeps noticeably slower, though single-parameter-set passes like Trades Generator barely change, since there's nothing to parallelize in a one-pass job either way.
License buttonShows the current license state and opens the WalkStrat License window. See Initiating the App.

Click Save Settings when done. If Working Folder, Strategy, or all optimization rows are incomplete, nothing is written and the status line reads:

Settings are not complete yet. Please select Working Folder, Strategy, and complete at least one optimization row.

Once everything required is filled, the status line instead reads "Settings are ready. Continue to Strategy Code." — click Save Settings and it confirms "Settings saved successfully." Saving also clears the Optimization tab for the new setup: its Strategy box, Inputs grid, progress grids, progress bar and messages are emptied. Save Settings does nothing while a run is in progress; pause or abort the run first. Any later edit to Working Folder, Strategy, or a grid cell disables Next until the settings are saved again. Save Settings itself is always clickable; a value still being typed in the grid is taken when it is clicked.

Click >> to move to Strategy Code.


Strategy Code

Strategy Code tabStrategy Code tabIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Takes the raw EasyLanguage strategy and produces the optimization-ready version WalkStrat will run through the process.

Strategy Name field at the top mirrors the name from Settings. It's editable here. (The Deployment Code tab has its own Strategy Name, set from the chosen pair.) Copy Name right beside it copies the current name to the clipboard.

SOURCE CODE panel (left) — paste the raw strategy (copied straight from the TradeStation Development Environment). If the strategy already has a name in its code, pasting automatically re-reads the StrategyName(...) input in the pasted source and may refresh the Strategy Name field to match it — when relying on the Prefix/Suffix name from Settings, paste the source before checking that the name field still reads as intended.

RULES & FILTERS — five checkboxes, all unchecked by default:

FilterWhat it does
RTH - Mon to FriRestricts new entries to the market's Regular Trading Hours, Monday–Friday. The last entry is 3 bars before the end of the session.
Day P&LBlocks new entries for the rest of the day once the day's profit (closed + open trades) reaches profitToday (default $1,000), its loss reaches stoplossToday ($500), or todayTrades (5) entries have been made. Adds these three inputs; set or sweep them like any other input. Open positions are not closed.
EOD ExitCloses every open position in the last 2 bars before the end of the market's Regular Trading Hours.
HolidayBlocks new entries on US market holidays (New Year's, MLK, Presidents', Good Friday, Memorial, Juneteenth, Independence, Labor, Columbus, Veterans, Thanksgiving + the day after, Christmas Eve/Day, New Year's Eve).
Test HourRestricts new entries to one of 9 time windows inside the market's Regular Trading Hours (adds a Test_Hour input, 0–8; see Test Hour windows below).

Market hours. RTH and EOD Exit follow each market's own Regular Trading Hours, which WalkStrat sets for every symbol of the run. All times are in the exchange's time zone: WalkStrat always runs on Exchange time, whatever time zone TradeStation is set to. Where the exchange publishes regular hours, those are used (grains, livestock, softs, VIX); index and single-stock futures use the stock market's hours; where the exchange publishes none (interest rates, currencies, energy, metals), WalkStrat uses the traditional pit-session hours. The hours used for each symbol are listed in the messages under the Optimization grid when its test starts.

Market groupClockRegular Trading Hours
Equity index and single-stock futures (ES, NQ, YM, RTY, their micros…)Chicago08:30–15:00
VIXChicago08:30–15:00
Interest rates (US, TY, FV, TU, SOFR…)Chicago07:20–14:00 (pit hours)
Currencies (EC, JY, BP, AD, CD…)Chicago07:20–14:00 (pit hours)
Grains (C, S, W, BO, SM…)Chicago08:30–13:20
Livestock (LC, FC, LH)Chicago08:30–13:05
Energy (CL, HO, RB, NG…)New York09:00–14:30 (pit hours)
Gold / Silver / CopperNew York08:20–13:30 / 08:25–13:25 / 08:10–13:00 (pit hours)
Coffee / Cocoa / SugarNew York04:15–13:30 / 04:45–13:30 / 03:30–13:00
CottonNew York10:30–14:20 (pit hours)
Crypto (BTC, ETH…) and NikkeiChicagonone (nearly 24 hours): RTH allows entries from the 17:00 reopen, through the night, until 3 bars before 16:00; EOD Exit closes before 16:00

A symbol that is not in WalkStrat's list runs on 08:30–15:00 exchange time, and the messages say so.

Test Hour windows. The windows are counted from each market's open and close (the hours above), so the same value means the same part of the session on every market. Sweeping Test_Hour (for example 1 to 6) shows which part of the session suits the strategy.

Test_HourWindowIndex futures (08:30–15:00)Grains (08:30–13:20)
0Open to 30 min before the close08:30–14:3008:30–12:50
1–6The 1st … 6th hour from the open08:30–09:30 … 13:30–14:301st–4th hour full, 5th 12:30–13:20, 6th none
7The first two hours08:30–10:3008:30–10:30
8From 2 h to 30 min before the close13:00–14:3011:20–12:50

A window never runs past the close, and any other value allows no entries. On markets with no regular hours (crypto, Nikkei) Test Hour lets every hour through. The Time tab of Candidates (Hour of Day) counts plain clock hours (09:00–09:59…), not these windows, so the two do not line up on markets that open on the half hour.

A strategy with its own time rules. When the strategy already decides its own trading hours or closes its own positions at the end of the day, leave RTH and EOD Exit unchecked: the two sets of rules would work against each other. Clock times written into the strategy's code (for example if Time >= 1500 then Sell) are fixed exchange times: they fit the market they were written for and mean other hours on a market with a different session or exchange time zone. Check them before running the strategy on other symbols.

Swing and daily-bar strategies. EOD Exit, Day P&L and Test Hour are built for day trading. With Swing Strategy ticked on Settings, they are hidden here and never added to the code; RTH and Holiday stay available. On daily bars leave RTH unchecked as well: a daily bar has a single time stamp, so an intraday time window would block every entry.

The filters are named differently inside the generated code, in the order listed above: WS_OKDay, WS_OKPnl, WS_EODExits, WS_OKHoliday and WS_OKTestHour. These names appear only in the code.

Click Generate Code. WalkStrat reads the source, applies the checked filters, and writes the result to OPTIMIZED CODE panel, on the right. Status messages that may appear:

  • "Ready. Paste source code and click Generate." — initial state
  • "Settings changed or not yet saved. Click Save Settings before generating code." — go back to Settings first
  • "Warning: Please paste source code first."
  • "Error: Parse failed. Check code format." — something in the pasted source doesn't parse; check for stray brackets or malformed Inputs/Vars sections
  • "Success: Optimization strategy code generated and saved to Code\Optimization.txt."

The generated file is written to StrategyFolder\Code\Optimization.txt, regardless of which Prefix/Suffix or filter combination was used.

Don't edit the generated code in TradeStation. The generated strategy opens with a warning block saying the same thing, and it's worth taking seriously. Every result WalkStrat produces — candidates, trades files, walk-forward validation — is recorded against this exact code. Edit it in the TradeStation Development Environment and those results describe a strategy that no longer exists. WalkStrat cannot see an edit made there: the results simply stop matching the code, without any warning.

To change how the strategy behaves: edit the original strategy — the one picked on the Settings tab — then generate the code again here and re-run the Optimization. Anything typed into the generated file is lost the next time code is generated.

  1. Click Copy Name.
  2. In the TradeStation Development Environment: Click File — New — Strategy, paste the name in the opening wizard and click OK.
  3. Back in WalkStrat, click Copy Code.
  4. In the TradeStation Development Environment: paste the code and compile.
  5. Return to WalkStrat and click >> to continue.

Clear wipes both panels and resets the status line to "Cleared. Ready for new strategy." Generating a strategy after this replaces the existing one (Code\Optimization.txt).


Optimization

Optimization tab — FeasibilityOptimization tab — FeasibilityIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved. Optimization tab — OptimizationOptimization tab — OptimizationIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

One tab, three modes (defaults to Optimization):

  1. Feasibility - Selected only by the user, if needed.
  2. Optimization - Default selection or selected by the user in the Test Mode dropdown.
  3. There's a third mode: Walk-Forward - Selected automatically or by the user, further down-stream. It runs the walk-forward test and the holdout validation.

Everything on the tab — button captions, visible panels and messages — changes with the mode.

Note: To avoid confusion - "the Optimization tab" is this whole tab; "Test Mode: Optimization" is one of its three modes.

The Inputs grid and values, in Optimization and Walk-Forward, are already filled — carried over from the saved settings, if the Settings/Strategy Code route was used. In that route the grid is read-only: the ranges belong to the Settings tab, so change them there and click Save Settings. The grid can be edited only when the Working Folder is set on this tab (an own strategy, with no Working Folder on Settings), and never in Walk-Forward mode, which takes its ranges from the plan. All other settings are defaults, not fixed. Change Symbols and Intervals of DATA1 to DATA4, as needed, before running.

Strategy selection (all modes) — run an already-compiled strategy directly:

This tab has its own Strategy* dropdown and Inputs grid, independent of Settings. There is no need to go through Settings → Strategy Code → compile at all if a strategy is already compiled in TradeStation exactly the way it needs to be tested:

  • Pick it from the Strategy dropdown here — same list of compiled TradeStation strategies Settings' own dropdown shows.
  • The Inputs grid clears and refills automatically with that strategy's own input names and current values in the Start column (and reapplies the last-used Stop/Step ranges for this strategy, if it has been swept before). Fill in Start/Stop/Step for whichever inputs are to be optimized, same as the Settings grid.

This tab also has its own Working Folder box and Browse button, right above the Strategy dropdown — so nothing on Settings is required for this path at all. It mirrors Settings' own Working Folder one-way (setting it on Settings updates this box too; the reverse isn't true), or works entirely on its own if Settings is never visited.

Info popup — the default values a run will useInfo popup — the default values a run will useIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

As soon as both a Working Folder and a Strategy are set here (in either order) without a Working Folder on Settings, a one-time popup lists every default value the run will actually use — the strategy name, Data (History/Holdout Validation), Costs, Optimization method and fitness (plus Genetic settings, if selected), Metrics thresholds, Trade settings (MaxBarsBack/Look-Inside-Bar/Trade Size), and Capital — since none of those were explicitly reviewed. It only appears once per session; review it to confirm exactly what's running, or visit Settings first to set any of it explicitly.

Either way — generated from Strategy Code, or an already-compiled strategy selected here — the route taken no longer matters. WalkStrat automatically creates the relevant Trades files, in the Working Folder, at run time. This applies also downstream, into Trades Generator and the Walk-Forward.

Leave the strategy unchanged until the run is finished. Once an optimization starts, do not edit or recompile the strategy selected here until every step that uses its results — Trades Generator, WFO Config and the Walk-Forward — is done. WalkStrat checks that its own settings have not changed between steps, but it cannot see changes made to a strategy's code in TradeStation. A strategy edited part-way through produces trades from different logic than the one that was optimized, with no warning.

Symbols and data streams (all modes):

  • DATA1 Symbols / DATA1 Intervals — This is the main data, where all Trades are executed; comma-separated, e.g. @ES,@NQ / 5,10. Intervals are minutes; D means daily bars, e.g. 60,D. The same applies to DATA2–DATA4. Don't mix e-mini and micro contracts in one run (e.g. @ES,@MES): the Commission and the dollar thresholds (Metrics, WFO Config rules) apply to every symbol alike, and suit only one contract size. Run the micros separately, with their own Commission and thresholds.
  • DATA2 — Optional. Can be either:
    • Higher timeframes of the same Symbols as DATA1, in which case all symbols from DATA1 have to be added here too.
    • Market Internals (VIX.X, $TICK and such) - Both Symbol and Interval required.
  • DATA3 / DATA4 — Optional supporting streams.

Each of the above requires both Symbol and Interval filled, or both left blank — filling only Symbol or only Interval will throw an error message.

  • Data Warm-Up checkbox (checked by default) — when DATA2–DATA4 are used, every data stream starts loading some time before the test period, so slower streams (a 240-minute or daily stream, for example) have enough bars for the strategy to trade from the first day of the period. This applies to every test period: the optimization window, each walk-forward segment and the holdout. Trades in that extra history are not recorded: every trades file and every result cover only the test period itself. With DATA2–DATA4 empty, the checkbox changes nothing.

DATA2, DATA3 and DATA4 depend on the strategy. Fill exactly the data streams the strategy's code uses, and fill them the same way in every mode — Feasibility, Optimization and Walk-Forward. A strategy that uses all four needs all four filled, every time.

Test Mode: Feasibility

A quick sanity check before committing to a full sweep — seconds, not hours. Unlike Optimization, Feasibility runs a single pass per symbol and interval (no parameter sweep): every input with a range runs at its Start value, and an input without a range runs at the value in its Start cell. It runs as many of the DATA1 Symbols as the Symbols box beside Test Mode says, each on as many of the listed Intervals as the Intervals box says, counted from the first one — by default the first interval only, so list the main interval first. A real edge in correlated e-mini index futures usually generalizes across the group, so clearing 2-4 symbols is a much stronger "worth pursuing" signal than clearing just one.

There's no field validation gate on this mode beyond the optimization grid itself — an empty Symbol won't be caught with a friendly message, so fill Symbol and Interval before clicking. If no input row has Start, Stop and Step set, the message reads "No optimization ranges defined — set Start/Stop/Step for at least one input in the grid."

  1. Set Test Mode to Feasibility.
  2. Set Symbols (1-4, beside Test Mode) — how many of the symbols listed in DATA1 Symbols to test this run. If fewer symbols are listed than that number, only the ones actually listed run.
  3. Set Intervals (1-4, beside Symbols) — how many of the listed intervals each symbol is tested on, from the first one. Three symbols on two intervals is six passes.
  4. Confirm Symbol/Interval and at least one Start/Stop/Step set are filled.
  5. Click Run Feasibility Test.

Feasibility tests the history up to the Last Date currently on screen (less the holdout, when Use Holdout Validation is checked). A different date can be tried freely: it does not move the run's test window, which only Start Optimization sets.

Pairs run one at a time: each symbol on its intervals, then the next symbol. As each pair finishes it gets a row in the Feasibility Progress grid:

ColumnWhat it shows
Symbol, IntervalThe pair tested
Net Profit, DrawdownThat pass's net profit and max intraday drawdown
NP / DDNet profit divided by the drawdown
WorthyYes (green) when Net Profit > 1000 and NP / DD > 1.2 (a pair with a net profit above 1000 and no drawdown also counts), otherwise No (red)

Each pair is judged on its own: there is no overall pass or fail for the batch, because a strategy can suit one market and not another. The line below the grid, next to the chart, counts them, e.g. Worth optimizing: 2 of 6; the chart shows the same pairs as columns (Net Profit in blue, Max Drawdown in orange). The result box beside the progress line, Net Profit:, is about the pair running now. The Message Center logs each pair's result plus a final recap line, e.g. "── Feasibility Test Complete: 2 of 6 pairs worth optimizing ──".

Nothing is written to disk in this mode — it's a look, not a record. Click Abort Feasibility Test to cancel; there's no pause/resume in this mode. If a job fails partway through, the next Run Feasibility Test restarts the whole (small) batch from the first symbol rather than resuming mid-batch — Feasibility is meant to stay lightweight, so this trade-off is deliberate.

Test Mode: Optimization

The full parameter sweep — every combination (Exhaustive) or a genetic search, across every symbol/interval pair, filtered by the Metrics thresholds grid on Settings (Settings).

Mandatory before Start: Symbol and Interval filled for DATA1 through DATA4, as the strategy requires. Missing settings will show: "Fill all mandatory fields and Start again!"

  1. Set Test Mode to Optimization.
  2. Click Start Optimization.

Start Optimization fixes the run's test window. The first day of history, the Last Date and — with Use Holdout Validation — the holdout start are recorded when the Optimization starts, together with the costs, the Initial Capital, the Method and Top Tests. WFO Config, the walk-forward test and the holdout all use that window. Running Feasibility or Generate Trades with another Last Date on screen does not move it. A new Optimization Start begins a new run with its own window; earlier runs keep theirs (Working Folder).

One check on Start. If Settings is set for one strategy and another one is selected on the Optimization tab, the Optimization does not start: a message names both, since the results would go into the Settings strategy's folder. Select the Settings strategy here, or change the strategy on the Settings tab and click Save Settings.

One run per symbol and interval. If two symbols and two intervals are listed, that is four separate optimization runs, executed one after another — @ES|5, @ES|10, @NQ|5, @NQ|10 — each producing its own results file. The progress rows are labelled with the pair currently running.

This matters for the results, not just for bookkeeping. TradeStation keeps only the best tests from each run (the Top Tests number on Settings, 1,000 by default). Optimizing every interval together would make those 1,000 slots a contest between intervals, and whichever interval happened to suit the strategy best would crowd the others out of the file entirely. One run per pair means each interval keeps its own best 1,000, so nothing is lost before it can be seen.

Workload and time left. When the Optimization starts, the Message Center shows what the run will cost: the number of combinations, the symbol/interval pairs and the total number of tests, each over the chosen history, e.g. "Workload: 36 combinations x 4 pair(s) (2 symbol(s) x 2 interval(s)) = 144 tests, each over 10 Years of history." Intraday intervals over many years make every test long: 10 years of 5-minute bars is a few hundred thousand bars per test, on every symbol listed. While the run goes, the test counter shows the position and the time left for the whole batch, e.g. "Test: 12 of 36 | pair 1 of 4 | about 1 h 20 min left". The estimate is measured from the speed so far and settles after the first tests. If the time is too long, pause, narrow the ranges, list fewer symbols or intervals, or switch to Genetic.

The Optimization Progress grid fills in as tests complete, and the test counter accumulates across the whole batch rather than resetting each run. While a run is going, the result box beside it is labelled Best Fitness, e.g. Best Net Profit:; once it finishes it reads Net Profit (best test):, and the Message Center names that test, e.g. "Optimization Complete! Best test (by Net Profit): Net Profit 12450.00 Test number: 17". When the batch finishes, results are filtered through the Metrics thresholds and the parameter sets that passed, from every pair, are collected into a single file in Selected\. A pair where no test passed is named in the Message Center, with the thresholds its tests missed, most missed first, e.g. "No test of @ES 3 passed the candidate thresholds (best net -705) - it is not in Candidates or Trades Generator. Thresholds missed, in how many of its 36 tests: Net Profit / year 36, too many weak years 36, Profit Factor 30, Drawdown 12." The thresholds to relax, or the pair to drop, can be read from it. Net Profit / year and Trades / year are counted only for tests with too many weak years (named too many weak years in the same line).

Click Pause Optimization once, to pause execution. Pause happens after the current pair completes, and the "Start Optimization" button relabels to "Continue Optimization". Results completed so far are kept. Click Continue Optimization whenever ready to run the remaining pairs. While a pair is still running, the button reads Abort: press it to cancel that pair immediately.

Once paused, failed or cancelled, two more choices appear: Restart runs the same batch again from the first pair, as a new run, and Abort (the same button) discards the saved progress without running anything, so the settings (for example a symbol that made the run fail) can be changed before a new run — see Pause and Resume for details.


Trades Generator

Trades Generator tabTrades Generator tabIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

This tab only shows the status of each Trades file generation in a status grid. If the Generate Trades checkbox has been checked in the Optimization tab, Trades generation is fired automatically. Otherwise, click Generate Trades.

Each candidate runs with the tick value of its own symbol, so slippage is charged correctly for every candidate. If a symbol's tick value cannot be loaded while Slippage is not 0, generation stops rather than run that candidate with $0 slippage: "Trades generation stopped: no tick value for @NQ (slippage would be $0). Press Generate Trades again."

Generating trades does not score the candidates. The Scorecard (Candidates) scores the open candidate when it is viewed or rescored.

ColumnDescription
Parameter columnsThe specific input values for this candidate
StatusWorking... (orange) while TradeStation regenerates that parameter set's trades, then one of the three outcomes below
Trades FileClickable filename — opens the CSV with the system's default handler once complete

Each row's final status reports what actually landed on disk, not merely that the job stopped running:

StatusMeaning
Complete (green)The file was written and contains trades. Hover for the trade count.
No trades (orange)The file was written correctly, but this parameter set never entered a trade. A real result, not a failure — just nothing to analyse.
FAILED (red)No usable file was produced. Hover for the reason.

A green Complete means the file exists and has content in it — it is still not a quality signal about the strategy. There's no re-run button on this tab; to regenerate, go back to the Optimization tab and run Generate Trades again.

Hover a row (once it's Complete) to preview a small equity curve popup for that parameter set right in the grid — a quick visual gut-check without leaving this tab.

Click a row to jump straight to Candidates with that row's trades file already selected — the fastest way from a specific parameter set here into full analysis. Clicking the Trades File column specifically opens the CSV file directly.

The data stays local. Every trades file WalkStrat generates is written as a plain, unencrypted .csv under StrategyFolder\Trades\<run>\ (Working Folder) — on the local machine, not uploaded anywhere. Strategy logic, parameter sweeps, and trade history remain under local control throughout the pipeline.

Before anything has run, the tab shows: "Waiting for Trades Generator to run…" Once the batch finishes, a green banner confirms: "✓ Generation complete — {N} trades files generated." If anything failed, the banner turns red and says so instead — "2 of 20 generations FAILED — 18 files written".

Which run, and which settings

Generate Trades works on the latest finished run of the strategy on Settings or the Optimization tab. It runs each candidate through TradeStation again with that run's own saved settings — commission, slippage, trade size, MaxBarsBack and the rest — and puts them back on the screen; the Message Center says "Settings taken from the run's saved settings: …". Changing the Settings tab after the run does not change these trades. Pressed again later, Generate Trades rewrites the same run's trades files; other runs' files are not touched. While a run is going, it waits: "A run is in progress - generate the trades when it has finished."

New trades for an earlier run. Set the Optimization tab's Working Folder to that run's trades folder (StrategyFolder\Trades\B_…) and click Generate Trades: the trades are made for that run, with its strategy and its saved settings. Set the Working Folder back afterwards — with a run's trades folder as Working Folder, Start does not run and says "This Working Folder is a run's trades folder: it is only for Generate Trades."

When generation stops. If the run's candidates no longer match its saved settings or its strategy code — the strategy code was generated again with other content, or a setting was changed while the run was going — generation stops before it starts, and a message names exactly what differs:

SettingWhen producedNow
Commission1.52.5

Nothing is generated, and a red bar stays on the tab until it's resolved. These candidates were chosen under the run's settings and code; trades made under other ones would measure something else, and every tab after this reads those files. This kind of mistake can never be spotted in the numbers. Generate the run's original strategy code again, or run a new Optimization and continue from there.

DO NOT change any settings mid-run, or an orange bar appears, reporting that settings changed during the optimization batch itself. That means some candidates were produced under different conditions than others, so comparing them isn't meaningful. If this happens, re-run the Optimization.

Strategy code not checked. A run's strategy code is recorded only when the generated code (StrategyFolder\Code\Optimization.txt) is in the strategy folder as the run finishes. A run made without it — the strategy folder was deleted after the code was generated, or the run used another Working Folder — has no record of its code, so a later change to the code cannot be detected. Generation still runs, and an orange bar says "Strategy code not checked: this run has no record of its code." To have the code checked, generate it on Strategy Code before the next Optimization. A strategy of one's own, run straight from the Optimization tab, has no generated code, so this bar never appears for it.

When every row shows Complete, the next step is either:

  • Candidates — for a closer look at individual parameter sets, or
  • WFO Config — the primary next step, to build the walk-forward plan (WFO Config itself does not need the trades files; it works from the Optimization's own results)

Click >> to continue to WFO Config.


WFO Config

WFO Config tabWFO Config tabIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

This is the most important decision in WalkStrat. Everything before it produces options; this is where one is chosen and committed to the Walk-Forward. The chosen cell determines how the history is divided, which parameters get tested out-of-sample, and what the Walk-Forward result will mean. Take time over it.

The Symbol/Interval dropdown lists the pairs of the run the results tabs show (Runs and the Results Tabs) — after an Optimization, that run — each with the time the run started, e.g. @ES | 5 min (21 Nov 13:05). No trades files are needed. Browse... picks another run: a run's own folder (Trades\B_… or Validation\B_…) for that run, or the strategy folder for all of its runs. Selecting a pair builds the matrix immediately. The matrix judges every parameter set tested in the Optimization, not only the candidates: in each segment it picks the winner the same way the Walk-Forward will, using only that segment's in-sample days. A trade counts in the window it was entered in.

The walk-forward range is the run's test window, fixed at Optimization Start (Optimization): from the first day of history to the day before the holdout (or to the Last Date, without a holdout). The last out-of-sample window ends on that day, so the holdout starts the next day. The MATRIX summary panel shows it, e.g. "Walk-forward range: 2024-11-07 .. 2026-04-30 (holdout from 2026-05-01)", under a line that counts the settings judged, e.g. "Matrix judges all 36 tested settings (rolling windows). Cells show the Efficiency (OOS per day ÷ IS per day)."

The matrix needs the daily results the Optimization records in the strategy's Ledger\ folder. If they are missing, the tab says so — "No grid ledger for this run in the strategy folder's Ledger folder. Run the Optimization first: it records every test the matrix needs."

Warning line. When the Optimization was Genetic, or the grid has more than 20,000 settings, a warning line appears under the matrix: the matrix judges the settings the Optimization tested, while the Walk-Forward tests every setting in each segment and keeps the best 20,000 — so the Walk-Forward's winners can differ from the matrix's.

Rolling or Anchored windows

The box next to Symbol/Interval sets how the walk-forward cuts its in-sample windows. Changing it rebuilds the matrix, so both can be compared on the same run.

ModeIn-sample windowsSuits
Rolling (default; Anchored for a Swing Strategy)All the same length, sliding forward: each segment learns from the most recent stretch of history and forgets the oldestDay-trading strategies with many trades, where recent behaviour matters most
AnchoredAll start on the history's first day and grow: each segment learns from everything before itSlower and swing strategies with fewer trades, where every segment needs as much history as possible

The out-of-sample windows are the same in both modes. With Anchored, the OOS % describes the first segment's split; later segments have longer in-sample windows. The chosen mode travels with Add to WFO into the Walk-Forward, and an anchored run is listed as anchored on the Test & Validation and Deployment Code tabs.

Segment Winner Rules

Inside every cell, each segment holds its own contest among all the tested parameter sets, and one wins it. These three rules decide which parameter sets are allowed to win.

ControlWhat it does
Min trades per segmentA parameter set must have at least this many trades inside that segment's in-sample window to win it. Default 10 (1 for a Swing Strategy).
Min net per dayA parameter set's in-sample net profit divided by the in-sample window's calendar days must be at least this. Default 0 = no requirement.
Min net per tradeA parameter set's in-sample net profit divided by its in-sample trades must be at least this. Default 0 = no requirement.

Whatever the values, a winner must always be profitable in-sample. If no parameter set meets the rules in some segment, that segment has no winner and the whole cell is excluded.

They matter because a parameter set can trade thousands of times across the full history and only a handful of times inside one particular segment — and a winner chosen on a handful of trades says nothing. Raise Min trades per segment if the strategy trades infrequently, or to have every segment winner backed by a solid sample. For slow strategies (for example daily bars) that trade only a few times a month, lower Min trades per segment instead, and prefer Anchored windows — later segments then have more history, and more trades, to choose from. Min net per day and Min net per trade raise the bar above "profitable": a winner that made only a few dollars a day, or a few dollars a trade, in-sample is a thin edge to carry into unseen data.

These same three rules travel with the chosen cell into the Walk-Forward, so a winner has to clear them there too. Set them here and they apply throughout.

Reading the matrix

7 columns (4 to 10 segments) across, 6 rows (10% to 35% out-of-sample) down — 42 configurations.

The number in each cell is the Efficiency (Efficiency): out-of-sample net profit per calendar day, divided by in-sample net profit per calendar day, over the whole schedule. It answers one question — how much did performance fall off once the parameters met unseen data? The same number appears in the hover breakdown, the summary panel, the per-segment table (per segment) and on the Test & Validation tab.

CellMeaning
1.00No degradation at all — it earned at the same daily rate on unseen data
Above 1.00Out-of-sample beat in-sample. Green, darker as it rises; solid dark green from 2.00
Below 1.00Some degradation. Orange to yellow. Normal to a degree — how far below is a judgement call
BlankExcluded, or not enough data to score. Never pick these

A * after the number means that in at least one segment every candidate failed the stability check, so that segment's winner was picked with the check one step looser (How WalkStrat Picks a Walk-Forward Winner).

Efficiency measures degradation, not profit. A cell can hold a strong ratio while earning very little, and a lower ratio on a far more profitable schedule can be the better choice. Always read the Aggregate OOS Net alongside it before deciding.

Why cells go blank

A configuration is excluded when any of these is true:

TestExcluded when
Too many losing segmentsMore than 20% of segments lost money (or made nothing) out-of-sample. One losing segment is always forgiven; from ten segments, two are
One loss too deepA single losing segment gave back more than 20% of the schedule's total out-of-sample profit
Profit too concentratedOne segment produced more than 2.5× its fair share of the profit — over 62% at 4 segments, over 25% at 10
No net profitThe out-of-sample total was zero or negative
In-sample not profitableThe in-sample total was zero or negative — there is no in-sample edge to measure the out-of-sample against
In-sample too smallThe efficiency came out above 3.0 — the in-sample profit was too small for the ratio to mean anything
A segment had no winnerIn at least one segment, no tested parameter set met the Segment Winner Rules

The line above the status box always reports the tally, e.g. "Matrix: 31 of 42 cells scored · 10 excluded (hover a cell for the reason)", and hovering any blank cell shows exactly why that one was excluded. An empty matrix is never a mystery — if every cell is blank, this strategy has no schedule worth trading on this Symbol/Interval, and that is a real answer, not a fault.

WFO Config — hovering a blank cell shows why it was excludedWFO Config — hovering a blank cell shows why it was excludedIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Choosing the right cell

This is the part that repays care. A high number alone is not a good reason to pick a cell.

1. Hover before clicking. Every scored cell shows its full breakdown on hover: total out-of-sample profit, the largest single segment's share, any losing segments, and what each segment contributed. Two cells with identical efficiency can look completely different here.

2. Prefer an even spread. A schedule earning 21806 | 7564 | 7460 | 1810 is doing something repeatable. One earning 1202 | 41715 | -19454 | 30195 had one good quarter and a lot of noise — the total flatters it. The Largest segment profit figure is the fastest way to see this.

3. Check it doesn't depend on the exact split. Clicking a cell also scores the same schedule at 1 and 2 percentage points more and less OOS (same segment count), shown under the results as "Nearby OOS %: 23% 1.21 · 24% 1.35 · [25% 1.40] · 26% 1.30 · 27% excluded (…)", and the cell itself shows how many of those nearby schedules also scored, e.g. 1.40 (3/4). Similar values close by mean the result holds up when the split moves a little; a lone high value with its neighbours excluded means this exact split was lucky, and it will likely not survive the Walk-Forward. An asterisk after the value, e.g. 1.21*, means that in at least one segment no setting passed the stability check, so that segment's winner was picked with the check one step looser, or that a winner had too few neighbouring settings for its stability to be measured (How WalkStrat Picks a Walk-Forward Winner). Hovering the cell says which.

4. Check the segments picked different winners. In the per-segment table below the matrix, look at the Winner column. If every segment chose the same parameter set, the strategy isn't adapting — it is a single fixed configuration wearing a walk-forward costume. A winner marked (candidate) is one of the run's Candidates; most winners usually are not, and that is expected — the Candidates were ranked on the whole history, the segment winners on their own in-sample days.

5. Remember that the best cell is chosen. With 42 schedules to choose from, one of them can look good by chance alone — choosing the best is itself a small piece of hindsight. The holdout is the guard against it: its verdict on Test & Validation → Holdout Validation (Test & Validation) is the test the choice never saw.

6. Treat a green cell as a ceiling, not a forecast. The matrix works from the daily results already recorded during the Optimization, which makes it fast enough to compare 42 configurations at once. The Walk-Forward re-optimizes each segment properly and will usually come in below what the matrix suggested. Use this tab to narrow the field; let the Walk-Forward deliver the verdict.

Committing the choice

Click a scored cell to select it. The panel on the right fills in with the configuration's results — aggregate OOS net, Efficiency, largest segment share, any losing segments, and how many distinct parameter sets won across the segments. The table below fills with the per-segment schedule: for each segment its IS and OOS dates, the Winner and its parameter values, IS Net, OOS Net and the segment's Efficiency. The selection is saved on click, so leaving the tab and returning restores it; the status box then reads "Ready to add to the walk-forward test."

Blank cells cannot be selected — there is no configuration to commit.

A selection saved for an earlier Optimization run or another test window is not reused: the status box reads "The saved plan was made for another Optimization run or test window." Select the Symbol/Interval pair and click a matrix cell again.

Click Add to WFO to commit the selected cell. A message box confirms "Candidate added!" with the walk-forward test plan's details.

To validate more than one configuration in the same session, repeat — select, inspect, Add to WFO — once for each Symbol/Interval or matrix combination to be run.

Click >> to continue to the Optimization tab, Test Mode Walk-Forward.

Start Walk-Forward always runs the plan added last, on its own run's saved settings — even when the Settings or Optimization tab shows a different strategy, or the results tabs show another run. The Optimization tab switches to that strategy and the messages name it. Before any Add to WFO in the session (for example after a TradeStation restart, to continue a paused walk-forward), it runs the strategy on Settings or the Optimization tab.


Walk-Forward Run (Optimization tab)

Test Mode: Walk-Forward

Optimization tab — Walk-ForwardOptimization tab — Walk-ForwardIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Runs the walk-forward test planned on the WFO Config tab (WFO Config), then the holdout validation. This mode has no field validation of its own — Symbol, Interval, and every date window come from the walk-forward plan locked in on WFO Config. If no plan has been locked in yet: "No walk-forward plan found. Run WFO Config first."

  1. Complete WFO Config first — the section on that tab explains how.
  2. Set Test Mode to Walk-Forward.
  3. Click Start Walk-Forward.

Each walk-forward runs on its own run's settings. The Walk-Forward doesn't read the existing trades files — it runs fresh backtests for every in-sample and out-of-sample window, with the saved settings of the Optimization run its plan came from (commission, slippage, trade size and the rest), whatever the Settings tab shows now. Queued plans from different runs each use their own run's settings.

Before the queue starts, the plan's run is checked the same way as for Generate Trades (Trades Generator): if its strategy code was generated again with other content, or a setting changed while that Optimization was going, the Walk-Forward won't start, and the same table shows what differs. A walk-forward result is a comparison between in-sample and out-of-sample performance; run the out-of-sample windows under other conditions than the in-sample ones and the comparison quietly measures that change instead of the strategy.

The check runs once, when Start is pressed — not once per queued configuration.

The progress grid under the buttons fills in as the walk-forward runs: one row per segment, plus a Holdout row when the run has a holdout.

ColumnWhat it shows
SegThe segment number, or Holdout.
StatusDone, Waiting, or what runs now: IS 120/500 (in-sample test 120 of 500), OOS (the out-of-sample run), Running (the holdout). After a pause it shows what comes next: In-sample or Out-of-sample.
WinnerThe segment's winning input values, in the order of the Settings inputs grid.
OOS Net / OOS TradesThe out-of-sample result of that segment (for the Holdout row: the holdout result).
OOS totalThe out-of-sample net so far, segment by segment.

A losing segment shows as soon as it finishes, so the run can be paused early instead of waiting for the end. The grid is rebuilt from the run's files, so after Continue Walk-Forward or a TradeStation restart it shows the segments already done.

Click Pause Walk-Forward once, to pause execution. Pause happens after the current job completes, and the "Start Walk-Forward" button relabels to "Continue Walk-Forward". Results completed so far are kept. Click Continue Walk-Forward whenever ready to execute the remaining segments. To cancel the job in progress immediately, click the button again once it reads Abort.

Once paused, failed, or cancelled, two more choices appear: Restart runs the whole walk-forward plan again from the first segment, and Abort discards the saved progress without running anything — see Pause and Resume for details.

Anchored walk-forwards take longer. With Anchored windows (WFO Config) every in-sample window starts on the first day, so each segment's in-sample optimization covers more history than the last — expect roughly 1.5–2× the run time of a Rolling walk-forward with the same segments.

From here the app runs unattended: for each segment in the WFO plan it optimizes on the in-sample window, automatically picks a winner (see How WalkStrat Picks a Walk-Forward Winner), locks those parameters, and re-runs the out-of-sample window. It repeats this for every segment, stitches the out-of-sample trades together in the order they closed, and — if Use Holdout Validation was checked when the Optimization started — runs one final backtest over the held-out tail. If more than one WFO configuration is queued, it moves straight on to the next once the current one finishes; "All queued walk-forward tests complete!" appears when there's nothing left. When a holdout is done, the Message Center says "Holdout results ready — see Test & Validation → Holdout Validation."

The walk-forward test always uses the run's test window, fixed at Optimization Start (Optimization): its last out-of-sample window ends on the day before the holdout.

Strategies that hold positions overnight. A trade belongs to the segment in which it was entered. Each segment's out-of-sample run continues past the segment's end so that such a trade can close normally, and it counts in the segment it was entered in. The last segment is the exception: it stops on its own last day, the day before the holdout, so no holdout data enters the walk-forward test. A position still open at the end of the data is not counted. Because of the extra data, out-of-sample runs take a little longer. Strategies that exit by the end of each day are not affected.

When the Walk-Forward starts, the Message Center shows what it will cost, e.g. "Walk-forward workload: 36 combinations x 8 segments = 288 in-sample tests, plus 8 out-of-sample tests and the holdout." Every combination is tested again in every segment, even after a Genetic Optimization, so a large grid costs most here.

The progress line shows where the run is, e.g. "Segment 2 of 4 in-sample — test 18 of 36 | about 25 min left", "Segment 2 of 4 out-of-sample — test 1" or "Holdout — test 1", and the message log records each finished step. The time left covers the whole run and appears after the first few tests of each in-sample segment; the out-of-sample tests and the holdout are one test each and take little time.

When the run stops on its own:

  • A segment has no winner — no parameter set met the Segment Winner Rules in that segment's in-sample window, or every candidate failed the stability check even one step looser (How WalkStrat Picks a Walk-Forward Winner). The run stops and a message says why, e.g. "Walk-forward test stopped at segment 3: …". Choose another schedule in WFO Config, or change the Segment Winner Rules there, and click Add to WFO again.
  • A segment's trades are missing when all segments are done — "Walk-Forward Test stopped: a segment's trades are missing - press Start to run it again." The holdout does not start until the walk-forward test is complete.

Robustness

Robustness tab — 3D surfaceRobustness tab — 3D surfaceIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

A visual check on how stable the optimization results are across nearby parameter values. It asks the same question the Walk-Forward's stability check does (How WalkStrat Picks a Walk-Forward Winner) — does this setting still work if nudged? — but based on the initial optimization across the whole history, and is only for the user to read and decide. Nothing on this tab feeds any decision the app makes.

The tab opens on the optimization results of the run the results tabs show (Runs and the Results Tabs). Pick another Optimization File — one of that run's raw result CSVs, one per Symbol/Interval — from the dropdown, or Browse... to a folder to list its files. A Browse here changes this tab only. Open Selected File opens it outside the app for inspecting the raw numbers. There's no forward/back button here; the tab is opened from its header.

The main view is a 3D surface: two of the swept parameters on the horizontal axes, Net Profit on the vertical axis. The 2D, 3D and 2D + 3D buttons show the same values as a heatmap, as the surface, or both (heatmap above the surface). A broad, smoothly-sloped profitable region means nearby parameter combinations behave similarly — a plateau that can be trusted. A sharp, narrow peak surrounded by poor results is a warning: the optimizer found one lucky combination rather than a durable edge.

Colour is anchored at zero. Green means profitable, red means losing, and the intensity shows magnitude on each side. A region that loses money everywhere reads as unmistakably red — it will never appear green just because it happens to be the least-bad part of the loaded file.

Two numbers per row, in the ranked table and on hover:

ReadingWhat it indicates
Spike RatioThis combination's result divided by the average of its neighbours. Around 1.0 means it scored about what its neighbours scored — it sits on a plateau. A high value means an isolated peak, which usually means curve-fitting.
SpreadHow much the neighbourhood varies within itself. A row can sit exactly on its neighbours' average while those neighbours swing between big wins and big losses — Spike Ratio alone cannot see that, and this can.

Both are ratios rather than dollar amounts, so they mean the same thing on a $5,000 strategy and a $500,000 one, and they can be compared across symbols and strategies.

The rule is exactly the one the Walk-Forward uses to pick its winners (How WalkStrat Picks a Walk-Forward Winner):

  • Neighbourhood — the combination itself plus every combination one step away along one swept parameter. Only parameters with more than one value count.
  • Spike Ratio = the combination's result ÷ the neighbourhood's average. Spread = how far the neighbourhood's results vary (standard deviation) ÷ that average.
  • Bands — Spike up to 2.0 and Spread up to 2.5: stable. Up to 2.5 / 3.0: looser (the step the Walk-Forward allows when nothing is stable). Above that: unstable. The threshold boxes start at 2.0 and 2.5.

n/a instead of a number means there is nothing sound to divide by: the combination has fewer than 3 points in its neighbourhood ("n/a (only 2 neighbours)", typically at the edge of the swept range), or the neighbourhood's average is zero or negative. It does not mean the combination scored zero.

Two things worth knowing when the picture and the numbers seem to disagree:

  • The plateau numbers are measured across every swept parameter, not only the two on the axes. A region that looks flat on screen can still report a poor Spread because it is a cliff along a third parameter not currently on screen.
  • The neighbourhood is measured against the whole file, losing combinations included. That is deliberate: a curve-fit spike is precisely a good result surrounded by bad ones, so hiding the bad ones would make the worst cases look flattest.

Candidates

Candidates tab — Equity CurveCandidates tab — Equity CurveIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved. Candidates tab — AnalyticsCandidates tab — AnalyticsIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved. Candidates tab — RiskCandidates tab — RiskIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved. Candidates tab — SettingsCandidates tab — SettingsIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

The analysis hub for individual trades files, reading whichever trades file the tab was opened with. The Trades File list holds the trades files of the run the results tabs show (Runs and the Results Tabs), each labelled with the run's start time, e.g. 21 Nov 2026 13:05 - Trades_@ES_5 min_3.csv. Browse picks another run: its trades folder (Trades\B_…) for that run, or the strategy folder for every run of it, newest first. There's no forward/back wizard button here; it can be opened at any time, once trades files exist. This tab opens as an embedded view of WalkStrat's own web app.

Optional. Candidates is for a closer look at individual parameter sets. Nothing in it is needed to reach WFO Config or the walk-forward test, and nothing in it changes the run. The screenshots show only a few of its views — the tab holds many more (trades blotter, deep analysis, time breakdowns, four more Monte Carlo views, the Scorecard), all described below. They are a reference: read the ones that answer the question at hand.

Everything in Candidates is in-sample. A candidate's trades cover the run's in-sample period, from the first day of history to the day before the holdout; the holdout is never shown here. That is why there is no out-of-sample split in this tab — the real out-of-sample results, with their real boundaries, are on the Test & Validation tab (Test & Validation).

Tab strip: Trades · Equity Curve · Analytics · Deep Analysis · Time · Monte Carlo · Risk · Stability · Scorecard · Settings. Stability has two views: Partition study and Time stability.

One Initial Capital. Every chart and test in Candidates uses one Initial Capital: the candidate's own Settings Initial Capital, or 25,000 (default) when it has none. It is shown on the Settings tab and in the Capital boxes of Forensic Deep-Dive, Risk & Scaling and the Scorecard — all the same value. Change any of them for a what-if: the label changes from from Settings to edited, and every chart and test uses the new value at once. Loading another candidate starts again from that candidate's Settings.

  • Trades — a sortable, filterable blotter (Direction filter, Profitable-only toggle, live trade count and total P&L, CSV export).
  • Equity Curve — cumulative equity with a range toggle (1M/3M/6M/1Y/ALL) and automatic annotations: shaded drawdown/recovery regions, Best/Worst trade markers, and footer KPIs: Max Drawdown in dollars, Capital needed, Capital coverage, Annualized ROI (on Initial Capital) and Annualized ROI (on Capital needed) — both net profit per year as a percentage of that amount. Over the full range the footer's Max Drawdown is the same number as the Analytics Max Drawdown (Definitions Used Throughout); on a zoomed range it is measured from the start of that range.
  • Analytics — a performance dashboard (Net Profit, Profit Factor, Win Rate, Avg Trade, Sharpe, Sortino, Calmar, Max DD, Recovery Factor, and more) alongside Monthly Returns, Drawdown, Rolling Sharpe/Sortino, Rolling Win Rate, Trade Distribution, and Long-vs-Short charts, a Monthly Heatmap, a Duration-vs-PnL scatter, and By Direction / By Symbol breakdown tables. A Compact / Show all switch sits beside the metric tiles: Compact (the default) shows two chart panels, each with a dropdown to choose its chart and a ⤢ button to enlarge it; Show all lays out every chart one after another.
  • Deep Analysis — opens with the binomial "randomness" test (is this win rate better than a coin flip, given the trade count?), then — if the trades CSV includes the relevant columns — cost-drag, MAE/MFE, and bars-in-trade charts. The drawdown the trades file itself records during each trade is labelled Intraday DD (recorder), so it is never confused with Max Drawdown. The same Compact / Show all switch applies: two panels with a chart dropdown each, or every chart at once.
  • Time — three views: Tables - breaking performance down by hour of day, day of week, and month, a Heatmap and a Calendar, for every day and week of the month performance.
  • Monte Carlo — six views; see below.
  • Risk — three panels: a PnL/MAE Efficiency breakdown (each trade's result measured against how far it went against it first, including Avg trade ÷ avg MAE), a Strategy Behaviour panel showing how this strategy's losses actually behave, and a Slippage Sensitivity - Cost study. The study adds extra ticks per side on top of the run's own costs — commission and slippage from the run's settings are already in every trade, so 0 extra ticks is the run's own net. It shows the Break-even extra ticks per side (the same number as the Scorecard's Cost Stress) and a table across a range of extra ticks, each value with its guide value rather than a verdict word. If any trade has no tick value, the study shows "n/a — tick value missing for N trades" instead of a result. Strategy Behaviour is covered below.
  • Stability — two views: Partition study re-cuts this one candidate's in-sample trades into an earlier and a later part, and Time stability compares equal date slices. Exploratory only — it does not feed the locked WFO plan, which is decided on the WFO Config tab (WFO Config). Covered below.
  • Scorecard (study) — the candidate's results on eight robustness tests, each shown next to its guide value; see below.
  • Settings — a record of the conditions this candidate was actually produced under, laid out to match TradeStation's own Strategy Performance Report header: symbol, interval, In-sample start / In-sample end (the run's in-sample period, ending the day before the holdout), Holdout start (when the run has a holdout), Run (the Optimization run it came from), the strategy and its inputs, then Costs/Capitalization (commission and slippage), Back-testing Resolution (Look-Inside-Bar and MaxBarsBack) and Trade Size. Commission and slippage are shown in dollars per trade — slippage is set in ticks on the Settings tab, and shown here converted at the instrument's tick value, so it reads the same way TradeStation reports it. Pulled automatically from the settings file WalkStrat writes alongside the trades CSV; blank if no matching file was found. Worth a glance before trusting a comparison between two candidates — this is where it shows whether they were measured the same way. The one editable field is Initial Capital (see One Initial Capital above).

Monte Carlo

Monte Carlo — Forensic Deep-DiveMonte Carlo — Forensic Deep-DiveIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved. Monte Carlo — Fan & StreaksMonte Carlo — Fan & StreaksIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Six views, each answering a different robustness question about the selected candidate.

Forensic Deep-Dive — set Iterations (default 5,000), Seed, Mode (Shuffle, reordering the actual trades with every P&L value unchanged, or Bootstrap, resampling trades with replacement), and the Capital (the one Initial Capital) for an inline Risk-of-Ruin readout (Risk of Ruin). Results show the simulated median and 5th-percentile-worst outcomes alongside the actual result.

The charts change with the mode, because the two modes can answer different questions:

  • Shuffle shows a Max Drawdown distribution and a losing-streak distribution. Reordering the same trades cannot change what they add up to, so shuffle is about sequence — how bad the drawdown and the losing runs could have been with the same trades in a different order.
  • Bootstrap shows a Final Equity distribution alongside Max Drawdown. Because it draws a different mix of trades each time, the totals genuinely differ, so this is the mode to read for "how uncertain is my final result".

Read final-profit uncertainty from Bootstrap only. Under Shuffle every simulated run ends at exactly the same total, so a final-equity spread there would always be zero no matter how good or bad the strategy is.

Fan & Streaks — an equity "fan chart": a cone of simulated equity paths at each trade index (5th/25th/50th/75th/95th percentile bands), with the actual historical equity overlaid — near the top of the cone is a lucky run, near the bottom unlucky, the middle is typical. Alongside it, a distribution of the longest losing streak seen across simulations. A Block bootstrap mode is available here for strategies where trades are serially correlated (a winning trade tends to follow another winning trade, or vice versa) — it resamples contiguous chunks instead of individual trades, which usually widens the fan when that correlation is real.

Probability Analysis — two cumulative-probability curves: what fraction of simulations achieved a given net profit or better, and what fraction experienced a given drawdown or worse. Use the drawdown curve to size positions, not the single historical worst case.

Batch Validation — reruns the shuffle test across 10 fixed random seeds for this one candidate and reports Original DD vs. simulated worst-case DD per seed, with a Lucky order / Normal status per seed. Lucky order means the real drawdown is shallower than in at least 95% of that seed's reordered paths — the same rule used everywhere in Monte Carlo (Monte Carlo Simulation). A robustness check on this specific parameter set, not a scan across the whole candidate pool.

Risk & Scaling — Produces a table of tiers with Risk of Ruin percentage, median PnL, median drawdown, and a worst-case (5th percentile) drawdown at each tier, by choosing what to sweep (Capital ($) or Bet size (×), starting from the one Initial Capital), a simulation Mode (Bootstrap / Block bootstrap / Shuffle), and clicking Analyze Risk. Risk of Ruin is shown in neutral colours; hover it for its guide value. A scatter chart alongside it plots final equity against max drawdown across every simulated scenario, with crosshairs at the median.

Stress Tests — three "what if the world were slightly different" tests. The View row at the top switches between Show all (the three tests stacked, scrolling) and any single test on its own, larger. Switching views keeps each test's settings and results:

  • Noise Test — nudges every fill by up to a few ticks and asks whether the edge survives. The Noise ticks control sets how far fills can move; Day corr sets how much of that nudge is shared by every trade on the same day, which is how real slippage behaves — a fast, thin session shows worse fills on all trades that day, not on one trade in isolation. If any trade has no tick value, it shows "n/a — tick value missing for N trades".
  • Variance Test — perturbs the win rate up and down and rebuilds the equity curve many times, reporting the chance the result stays profitable and the chance the drawdown goes beyond the capital.
  • Exit Magnitude Perturbation — redraws each trade's result somewhere between its worst and best point during the trade, testing whether the edge depends on the exact exit sizes the trade happened to get.

This view keeps its own Iterations and Seed controls, separate from the ones on the Scorecard. Changing a value here does not change the Scorecard's copy, and vice versa.

Strategy Behaviour (Risk tab)

Answers one question nothing else in WalkStrat answers: does this strategy actually stop itself out, or do its losses run?

It reports what the trades show, and leaves the conclusion to the user:

ReadingWhat it tells the user
Loss distributionA histogram of losing-trade sizes. A strategy enforcing a fixed stop piles its losses at one value; one without a stop spreads them out.
Median loss, IQR, IQR ÷ medianThe same thing as a number. A strategy with a real stop shows a value near zero, because every loss lands at the same level.
p95 ÷ median lossWhether the worst losses stay in proportion to a typical one, or run far past it.
Median |PnL| ÷ |MAE|The typical loss as a fraction of how far that same trade went against the position. 1.0 means the typical loser exits right at its worst point — stop-like. Lower means price recovered before the exit, so exits are driven by a signal or the clock.

Below that, an optional stop model lets the user test a hypothesis against the same trades. Pick Ticks or ATR, enter a quantity, and WalkStrat marks that level on the histogram and adds two readings:

  • Breach rate — how often the trade's worst point went past the described stop. A stop that was really enforced is breached only occasionally, by gaps.
  • Typical loss ÷ modelled risk — near 1 means the description matches what actually happened; far above means it doesn't.

The stop model is a check, not a setting: it is not saved and changes nothing in the strategy. Enter the stop the strategy is meant to have (for example 20 ticks) to see whether its trades really exit there, or whether losses run past it.

If any trade has no tick value, readings that need it show "n/a — tick value missing for N trades".


Partition study

Candidates tab — Stability (Partition study)Candidates tab — Stability (Partition study)Illustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Two exploratory views over this one candidate's trades. All trades here are in-sample — the panel says so on screen too; the real walk-forward test is on the Test & Validation tab (Test & Validation).

This is not walk-forward optimization. Nothing is re-optimized here. Every cut re-uses the same trades from the same single parameter set — there's no per-segment parameter refit. Real walk-forward, where parameters are re-fitted segment by segment, is Test & Validation → Walk-Forward Test (Test & Validation).

Partition study. Cuts the candidate's history into segments, each with an earlier part and a later part, and compares them: how each part did, and later ÷ earlier, per day — the later part's net per day divided by the earlier part's. Click a row for that segment's equity chart. There is no PASS/FAIL here: the view shows whether the result moves when the history is cut differently, and the reading is left to the user.

ControlWhat it does
ModeBy segment count cuts the history into equal segments; Rolling earlier/later windows slides a fixed earlier window and a fixed later window through the trades.
Segments / Later part %By segment count: how many segments, and the share of each segment that forms the later part.
Earlier window / Later window / StepRolling: the size of each window and how far it moves each time, in trades. A Step of 0 moves it by the later window.

The line under the controls gives the totals: Later ÷ earlier, per day, the Later part Net and Earlier part Net with their trades, and the number of segments. In rolling mode the windows overlap, so it shows the median later ÷ earlier ratio over the windows instead, counts each trade only once in the unique nets, and adds how many windows were profitable.

Later parts across segments sums up the later parts: Consistency Score (the share of later parts that made money), Profitable later parts, Avg later-part Net, Segment consistency, and how straight the cumulative later-part net climbs (Trend R², Trend Slope ($/seg)). A chart below shows each later part's net and their running total.

Time stability. Asks one question: did the candidate earn steadily over time, or in one stretch? The in-sample period is cut into N equal date slices (N = 4, 6, 8, 10 and 12); a trade counts in the slice where it was entered. For each N it shows two numbers:

NumberWhat it indicates
% of slices profitableHow many of the slices made money (net above 0).
Worst slice net per tradeThe weakest slice's net profit divided by its trades — the realistic bad stretch, not the worst single trade.

Beside the candidate's numbers, the same two numbers for the Typical grid test: for each slice, the setting with the median net profit among every setting the Optimization tested. It answers "is this candidate steadier than a typical setting of the same strategy, or did the whole grid have the same good and bad stretches?" If the comparison cannot be built, the view says "Baseline unavailable: …" and shows the candidate's numbers only.


Scorecard

Scorecard (study) — eight robustness tests on the selected candidate, each shown next to its guide value in neutral colours. There is no overall verdict and no grade. The note under the title says it plainly: "Guide values were set on one test strategy; they inform, they do not decide."

Set Iterations and Seed, then Rescore to score the current candidate again. Scores are not saved to files, and generating trades does not score candidates.

Four core tests:

TestThe question it asks
Tail RiskResampling the trades many times, do the outcomes stay profitable with a survivable drawdown? It reports the Drawdown ≥ capital probability: how often a resampled path's drawdown reaches the Initial Capital.
Cost StressHow many extra ticks of slippage per side, on top of the run's own costs, can the edge absorb before it reaches breakeven? The Break-even extra ticks per side is the same number as on the Risk tab.
Sequence RiskWas the historical trades order unusually kind — how does the real drawdown compare with the same trades reshuffled?
Edge ConcentrationHow few trades carry the whole profit? A handful of huge winners is a different proposition from a broad edge.

Four more are shown for context: Variance Test, Exit Efficiency, NP/DD, and E-Ratio.

Reading a guide value. A number on the wrong side of its guide value is a reason to look closer, not a rejection — a strategy whose edge dies under a tick of extra slippage deserves suspicion, whatever its Sharpe. If any trade has no tick value, Cost Stress shows "n/a — tick value missing for N trades".


Test & Validation

Test & Validation — Walk-Forward Test, SummaryTest & Validation — Walk-Forward Test, SummaryIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Shows the outcome of a completed Walk-Forward run — how the strategy performed on data it was never optimized on, one segment at a time, and then on the holdout. The walk-forward test is judged on its own results.

WFO Run dropdown lists the completed walk-forwards of the run the results tabs show (Runs and the Results Tabs), newest first; runs appear by their start date and time. Browse next to it picks another run: its Validation\B_… folder, or the strategy folder for every run of it. Selecting one fills two sub-tabs:

  • Walk-Forward Test — the walk-forward's own out-of-sample trades, all segments joined in the order they closed: did the re-optimized strategy hold up on unseen data, segment by segment?
  • Holdout Validation — the final holdout run, when Use Holdout Validation was checked: did it hold up on the tail of history nothing ever saw?

Each sub-tab opens on Summary: a line with the run's own settings (pair, run, in-sample period, holdout start, Initial Capital and costs), then the verdicts and the main numbers, described below. After it come the Candidates analytics (Candidates) on that sub-tab's own trades, as inner tabs: Trades · Equity Curve · Analytics · Deep Analysis · Time · Monte Carlo · Risk · Scorecard (study). They read the same way as in Candidates. Walk-Forward Test also has Segments and Stability between Summary and Trades. Their settings — Initial Capital, commission, slippage, cost basis, trade size, symbol and interval — come from the run itself (25,000 with the default label when the run has no Initial Capital). The Candidates-only views (Partition study, Time stability against the grid, Settings) are not repeated here.

Size from this Monte Carlo. The Monte Carlo and Risk numbers in Candidates (Candidates) run on in-sample trades — trades of settings picked because they did well there, so their drawdowns lean optimistic. The Walk-Forward Test's trades come from parameters that had never seen them. Its Monte Carlo — the 5th-percentile-worst drawdown, Risk & Scaling — is the one to base account size and position size on.

Fewer trades, rougher numbers. The holdout usually holds far fewer trades than a full history, so its Monte Carlo, Risk and Scorecard numbers swing more and are best read as rough. The Monte Carlo and Tail Risk paths are as long as the holdout itself, and a short path has less time to fall: their drawdown figures understate what a full-length run could see.

Walk-Forward Test

Summary holds, from the top: the rules verdict, the holdout line (when the run has a holdout), the statistical edge, the re-optimization rhythm, then the WFO equity chart and the Metrics table.

The rules verdict. A banner reads "Walk-Forward Test rules: Pass" or "Fail", with the reasons for a Fail listed under it. These are the same rules the WFO Config matrix uses to exclude a cell (WFO Config): too many losing segments, one segment loss too deep, one segment carrying the profit, and an Efficiency too high to mean anything — now applied to the real walk-forward.

Holdout first. When the run has a holdout, the next line reads "Holdout: … · Compared with the walk-forward test: …". The holdout is the one test whose data was never used to pick anything, so it is the verdict to read first: a walk-forward result the holdout does not confirm ("Worse than the walk-forward test beyond noise — the walk-forward result did not hold up.") is not an edge to trade. The holdout's own badge matters as much as the comparison — see the worked example below.

Statistical edge. A separate line, "Statistical edge: …", answers a different question: is the walk-forward's profit real, or could it be luck? The rules and the edge are never merged — a schedule can pass the rules and still show only weak evidence. The line ends with the number of profitable segments (e.g. 4/4 segments) and the overall Efficiency (Efficiency) — the same measure as on WFO Config, shown as a ratio (e.g. 0.80), or n/a when it cannot be measured.

It compares the walk-forward's average day with how much its days vary, over every out-of-sample day (days without trades count as 0). The result, t, reads:

BadgetMeaning
Edge likely real (green)2 or moreA strategy with no edge would do this well about 1 time in 40, or more rarely
Weak evidence (amber)1 to 2Promising, not proven
No significant edge (grey)below 1Indistinguishable from luck
Losing beyond noise (red)−2 or lessIt lost money, and not by chance
Not enough data (grey)—Fewer than 20 days with a trade: too few to judge, however long the period

The sentence after the badge gives the numbers, e.g. "Statistical edge: Edge likely real — t = 2.22 over 290 trading days. A strategy with no edge would do this well about 1 time in 76." When the result is Weak evidence or No significant edge and the average day is positive, the sentence adds how much more history would settle it, e.g. "… about 120 more trading days needed". Hover the ? for a short explanation. Fewer than 20 trading days show Not enough data.

More data, clearer verdict. The same average edge earns a higher t over more days — four times the days doubles it. A short history can show "No significant edge" for a strategy that would prove itself over a longer one.

t and the Sharpe ratio. Both come from the same daily net P&L (Definitions Used Throughout), so t is the Sharpe ratio scaled by the length of the test: t = Sharpe × √(trading days ÷ 252). In the worked example below, the walk-forward's Sharpe of 2.07 over 290 trading days gives 2.07 × √(290 ÷ 252) = 2.22 — the t on screen. The same Sharpe means more over a longer test: a Sharpe of 2 over three months gives t = 1 (No significant edge); over three years, t ≈ 3.5.

Re-optimize every. The last line: "Re-optimize every 72 trading days (102 calendar days)" — the length of the last out-of-sample window. It is the rhythm the walk-forward test re-fitted its parameters at, and so the interval at which to re-run the optimization when trading the strategy. Trading days here count Monday to Friday; holidays are not removed.

Metrics table — Net Profit, Max DD, Win Rate, Profit Factor, Avg Trade and Trades of the walk-forward's out-of-sample trades, then Recovery Factor, Best Segment, Worst Segment, Positive Segments, the overall Efficiency and Longest DD Run (trades) — the longest drawdown, counted in trades.

Extra inner tabs on Walk-Forward Test only:

Test & Validation — Walk-Forward Test, SegmentsTest & Validation — Walk-Forward Test, SegmentsIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Segments — one row per segment, showing what was chosen and how it held up:

ColumnWhat it indicates
IS start – end / OOS start – endThe in-sample window the winner was chosen on, and the out-of-sample window it was then tested on
IS days / OOS daysThe length of each window in calendar days, both ends counted
IS Net / IS Tr / IS $/TrThe winner's in-sample net profit, trades and net per trade
Peak vs neighbours / Neighbour variationThe stability check of the winner (How WalkStrat Picks a Walk-Forward Winner): its in-sample net against the settings one step away, and how much those neighbours vary. Green ✓ = stable, amber ⚠ = on the looser step, red ✕ = unstable
Grid breadthThe share of all the settings tested in that in-sample window that made money, e.g. 28 of 36 · 78%. A low share means the winner is one of very few settings that worked there: a thin edge, even when it looks stable
OOS Net / OOS Tr / OOS $/TrHow the chosen parameters did on data they had never seen. A segment that made no trade shows 0
EfficiencyThat segment's out-of-sample net per day ÷ its in-sample net per day (Efficiency) — the same number as in WFO Config's segment table; n/a when it cannot be measured
IS max intraday DD (TradeStation) / % of Initial CapitalThe winner's in-sample maximum intraday drawdown as TradeStation reports it for that test, in dollars and as a percentage of the run's Initial Capital — a quick check that the chosen setting was tradable at that account size. It is TradeStation's intraday figure, so it is deeper than the closed-trade Max Drawdown used elsewhere (Definitions Used Throughout); n/a for older runs
StatePASS when the out-of-sample net per trade reaches Min OOS $/trade; FAIL when it does not; WARN for a pass whose winner was picked on relaxed stability; N/A when the segment is not scored — no out-of-sample trade, fewer than Min OOS trades, or no in-sample profit to compare with
Chosen paramsThe winning values for that segment, under the strategy's own input names

The box above the table sets Min OOS trades and Min OOS $/trade for the State column (a study only: they change nothing in the run) and sums the segments up: the share that passed, the median Efficiency, the total out-of-sample net and trades, and the worst Peak vs neighbours and Neighbour variation.

A segment whose winner was picked with the stability check one step looser (How WalkStrat Picks a Walk-Forward Winner) is marked with an amber ⚠ — Winner on relaxed stability; a winner with too few neighbouring settings to measure gets the same ⚠ — Winner picked with unmeasured stability. Hovering the ⚠ says which.

Test & Validation — Walk-Forward Test, Parameter stabilityTest & Validation — Walk-Forward Test, Parameter stabilityIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Stability — two views:

  • Parameter stability — for each parameter, its winning value in every segment, and how far it moved between consecutive segments, counted in steps of its optimization range, with the largest move. A parameter that jumps more than half its range between two segments is flagged unstable (a guide value). Some movement is healthy and shows the strategy adapting; a parameter that never moves, or one that jumps erratically, is worth a second look.
  • Time stability — the walk-forward's out-of-sample period cut into 4, 6 and 8 equal date slices, a trade counting in the slice where it was entered: % of slices profitable and worst slice net per trade, as in Candidates (Candidates) but on the real out-of-sample trades, with no grid comparison.

Test & Validation — Walk-Forward Test, Time stabilityTest & Validation — Walk-Forward Test, Time stabilityIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Test & Validation — Walk-Forward Test, Equity Curve with the segment startsTest & Validation — Walk-Forward Test, Equity Curve with the segment startsIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Equity Curve on Walk-Forward Test draws a thin vertical line where each segment's out-of-sample window starts (hover for S2, S3, …), showing where each new parameter set took over.

Holdout Validation

Test & Validation — Holdout Validation, SummaryTest & Validation — Holdout Validation, SummaryIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Only appears if Use Holdout Validation was checked when the Optimization started (Settings). Shows the one final holdout backtest, run over the tail of history that was never touched by any optimization or walk-forward segment — the closest thing this app produces to an out-of-time test. Appears automatically once the holdout validation completes.

The first line is the holdout's own verdict, on the same scale as the walk-forward's (Edge likely real / Weak evidence / No significant edge / Losing beyond noise), e.g. "Holdout: No significant edge — t = −0.02 over 193 trading days.", including "about X more trading days needed" when the evidence is weak. Under it, the badge, then the comparison that matters most: is the holdout consistent with the walk-forward test? — with the gap in standard errors, e.g. "Consistent (1.2 standard errors)".

  • Consistent — the holdout's average day is within normal noise of the walk-forward's (less than 2 standard errors apart). It means the holdout does not contradict the walk-forward test; it does not mean the holdout confirmed it.
  • Worse than the walk-forward test beyond noise — the edge weakened on the untouched data by more than chance explains. The strongest warning sign this app gives.
  • Better than the walk-forward test beyond noise — rare; worth a closer look rather than a celebration.

On the same line, the walk-forward test's net profit (WFO) stands next to the holdout's (HOLDOUT), with the change between them and the per-trade change. Below it, Summary shows the holdout's key figures (Net Profit, Max DD, Capital needed, Capital coverage, Profit Factor, Win Rate, Avg Trade, Sharpe, Sortino, MAR, Recovery, Max Cons. Losses, Trades) and its Holdout Equity and Holdout Drawdown charts.

Test & Validation — Holdout Validation, Equity CurveTest & Validation — Holdout Validation, Equity CurveIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Equity Curve on Holdout Validation shows one combined curve: the walk-forward's out-of-sample trades, then the holdout trades, with a vertical line labelled Holdout start. The holdout part is drawn in the brand colour, the walk-forward part in a muted colour. All the other inner tabs here analyse the holdout trades only.

Worked example — a walk-forward that passes, a holdout that does not confirm it

The screenshots in this section come from one run: a test strategy on @NQ 5 min, Initial Capital $100,000, commission $1.50 and 1 tick of slippage per trade.

The walk-forward test looks good. Rules Pass. All 4 segments profitable, Efficiency 0.80. Statistical edge: Edge likely real, t = 2.22 over 290 trading days. Net profit $80,364 over 867 trades, Max DD $19,865. Every segment made money — segment 2 only just ($298) — and Time stability shows 4 of 4 slices profitable.

Read the holdout first. 193 trading days the optimizer never saw:

  • Its own badge: No significant edge, t = −0.02.
  • Net profit −$686 over 1,287 trades — an average trade of −$0.53, against $93 in the walk-forward test.
  • Max DD $60,346 — three times the walk-forward's.
  • Yet the comparison reads Consistent (1.2 standard errors).

What it means. "Consistent" only says the gap is within noise: the holdout's days vary so much that a gap this size can happen by chance. It does not say the holdout confirmed anything. On the one stretch of data nothing was ever chosen on, the strategy made nothing and drew down three times deeper.

Decision. Not ready to trade. The walk-forward's edge is unconfirmed, and the holdout drawdown alone would have taken 60% of the account. The next step is to rework the strategy or test it on more history — not to move on to Deployment Code.

The same run, view by view

Walk-Forward Test on the left, Holdout Validation on the right: the same strategy and the same inner tabs, only the data differs.

Scorecard (study)

Walk-Forward Test — ScorecardWalk-Forward Test — ScorecardIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved. Holdout Validation — ScorecardHoldout Validation — ScorecardIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

The walk-forward fills the radar: Tail Risk 92, Cost Stress 100 (break-even at 9.3 extra ticks per side), Sequence Risk 83. On the holdout the shape collapses: Tail Risk 47, Sequence Risk 50, Cost Stress 0 — break-even at −0.1 ticks, so the holdout is below break-even before any extra slippage at all.

Deep Analysis

Walk-Forward Test — Deep AnalysisWalk-Forward Test — Deep AnalysisIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved. Holdout Validation — Deep AnalysisHoldout Validation — Deep AnalysisIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Randomness Probability 0.40% on the walk-forward (4 of 1,000 random runs beat it) against 51.20% on the holdout (512 of 1,000): the holdout's trades do no better than chance.

Monte Carlo — Fan & Streaks

Walk-Forward Test — Monte Carlo, Fan & StreaksWalk-Forward Test — Monte Carlo, Fan & StreaksIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved. Holdout Validation — Monte Carlo, Fan & StreaksHoldout Validation — Monte Carlo, Fan & StreaksIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

The walk-forward's fan climbs, with the real curve inside it. The holdout's whole fan sits on zero: however its trades are resampled, they go nowhere.

Analytics

Walk-Forward Test — AnalyticsWalk-Forward Test — AnalyticsIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved. Holdout Validation — AnalyticsHoldout Validation — AnalyticsIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Both win about 77% of their trades, and the average winner is almost the same ($540 and $524). The difference is in the losers: $1,369 on average in the walk-forward, $1,742 on the holdout — enough to take the Profit Factor from 1.29 to 1. In Monthly Returns, one month of about −$40,000 cancels every profitable month.

Monte Carlo — Risk & Scaling

Walk-Forward Test — Monte Carlo, Risk & ScalingWalk-Forward Test — Monte Carlo, Risk & ScalingIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved. Holdout Validation — Monte Carlo, Risk & ScalingHoldout Validation — Monte Carlo, Risk & ScalingIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

At $100,000: Risk of Ruin 0.0%, median drawdown $19,571 and a bad-5% drawdown of $36,262 on the walk-forward; 1.5%, $45,967 and $93,044 on the holdout — a bad case that takes nearly the whole account.

More views on both sub-tabs

Every inner tab of Candidates is here too, on each sub-tab's own trades, and reads the same way (Candidates). Four more, from the walk-forward test of the same run:

Test & Validation — RiskTest & Validation — RiskIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Risk — the PnL/MAE Efficiency breakdown, Strategy Behaviour (do the losses stop, or run?) and the slippage study.

Test & Validation — Time, CalendarTest & Validation — Time, CalendarIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Time — performance by hour, day of week and month (Tables), a Heatmap, and this Calendar of every trading day.

Test & Validation — Monte Carlo, Probability AnalysisTest & Validation — Monte Carlo, Probability AnalysisIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Monte Carlo — Probability Analysis — how likely each drawdown and losing streak is, from the same trades reshuffled.

Test & Validation — Monte Carlo, Stress TestsTest & Validation — Monte Carlo, Stress TestsIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Monte Carlo — Stress Tests — the Noise, Variance and Exit Magnitude tests: does the edge survive slightly worse fills, a lower win rate, or different exit sizes?

Click >> to continue to Deployment Code.


Deployment Code

Deployment Code tabDeployment Code tabIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Produces the final strategy to compile and run in TradeStation: the same code that was tested, with only the default values of its Inputs changed to the walk-forward's winning parameters — the ones from the last walk-forward segment, which the holdout tested. Nothing else in the code is touched. This is the last tab; there's no >> forward from here.

Pair (top left) — each Symbol/Interval has its own walk-forward, and each is deployed as its own strategy. The list shows each finished walk-forward of the run the results tabs show (Runs and the Results Tabs), one entry per pair and schedule, e.g. @NQ 5 min — 4 segs / 10% and @NQ 5 min — 4 segs / 25% anchored, newest first; when the same pair and schedule ran more than once, only the latest is listed. With no run shown (after a TradeStation restart), the tab says "No run selected. Browse to one on Candidates, WFO Config or Test & Validation." Choosing a pair sets the parameters, the Strategy Name and the file name, and clears any code generated for the previous pair.

Strategy Name (top right) — suggested from the pair: the strategy's own name (without the prefix and suffix from Settings) followed by the pair, e.g. FKeltnerR_06_@NQ 5 min. It can be changed. Copy Name copies it, for naming the new strategy in TradeStation. If the strategy has a StrategyName input, its default value is set to the same name.

NOTICES starts with a standing reminder, in orange: the code is not advice, hypothetical results do not guarantee future performance, and running it on a live account is the user's own decision and risk. Below it, in green, is where the parameters come from.

SOURCE CODE (left) holds the code the deployment strategy is made from:

  • A strategy generated on the Strategy Code tab: it loads automatically when the tab opens (Code\Optimization.txt). Load Strategy reloads it.
  • An own strategy, run straight from the Optimization tab: paste its EasyLanguage code into SOURCE CODE. It must be the same strategy that was optimized.

Click Generate Code. It:

  1. Takes the code shown in SOURCE CODE.
  2. Finds each parameter among the strategy's Inputs and sets it as that input's default value — the values come from the walk-forward of the pair chosen in Pair. Every other line stays exactly as it is.
  3. Adds comment lines at the top: the pair (e.g. "// Deployment for @NQ 5 min - apply to @NQ 5 min charts only."), where the parameters came from, the walk-forward test's and the holdout validation's verdicts (e.g. "// Walk-forward test: Edge likely real (t = 2.26, 387 days); holdout validation: Edge likely real (t = 2.70, 257 days); holdout vs walk-forward test: consistent (0.9 standard errors)"), and the chart settings the tests ran on. Apply the strategy only to charts of that Symbol and Interval, with those settings.
  4. Saves the result to Code\Deployment_<Symbol>_<Interval>_<segments>_<OOS %>.txt (e.g. Deployment_NQ_10_min_4_25.txt, or …_4_25A.txt for an anchored walk-forward; one file per pair and schedule) and shows it in DEPLOYMENT CODE on the right. The status line lists every input that was set, e.g. "Inputs set: Length = 14, NumATRs = 2.5".

Checks before anything is saved:

  • If a parameter isn't an Input of the code in SOURCE CODE, nothing is generated and the status line names it. This usually means the pasted code isn't the strategy that was optimized.
  • The result is compared with SOURCE CODE: if anything other than input values differs, nothing is saved.
  • Without a finished walk-forward run there are no parameters to apply, and nothing is generated. (A segment with no winner stops the walk-forward test, Walk-Forward Run (Optimization tab), so a finished run always has a last-segment winner.)
  • If the last segment's winner was picked with the stability check one step looser (on unstable ground, How WalkStrat Picks a Walk-Forward Winner), the code is generated, but a caution appears under the source line and in a message.
  • If the walk-forward test or the holdout validation does not show an edge that is likely real (Test & Validation), or the holdout did worse than the walk-forward test beyond normal noise, a message says so and asks whether to create the code anyway. The verdicts are also shown under the source line as soon as a pair is chosen.

A strategy generated by WalkStrat keeps its "do not edit" notice at the top, reworded for deployment. A pasted own strategy gets no notice.

  1. (optional) Click Copy Name .
  2. (optional) In the TradeStation Development Environment: create a new strategy and paste the name.
  3. Back in WalkStrat, click Copy Code.
  4. In the TradeStation Development Environment: paste the code and compile.
  5. Apply the compiled strategy to a live chart. This last step is entirely manual — WalkStrat doesn't attach strategies to charts. Set that chart to the Exchange time zone and the symbol's Regular session as TradeStation defines it — nearly 24 hours for @ES and @NQ, not a day-session-only template — and add any Data2–Data4 streams the strategy was tested with: the settings every test ran on (see Settings, Data Settings). The code's header repeats them.

Clear resets both panels to "Cleared. Ready for new strategy."


Docs

Docs tabDocs tabIllustrative result from a test run. No result predicts future performance.TradeStation Technologies, Inc. All rights reserved.

Reference material built into the app itself — the app's own documentation, available any time from the front of the tab strip, independent of everything else in the workflow.


A note on >> / << navigation

These buttons jump to a specific named tab, not simply "next tab over" — and a couple of them branch depending on which Test Mode is currently selected:

  • Settings >> → Strategy Code
  • Strategy Code >> → Optimization
  • Optimization << → WFO Config if Test Mode is Walk-Forward, otherwise Strategy Code
  • Optimization >> → Trades Generator if Test Mode is Optimization; Test & Validation if Test Mode is Walk-Forward.
  • Trades Generator >> → WFO Config
  • WFO Config >> → back to the Optimization tab (Walk-Forward mode)
  • Test & Validation << → Optimization tab (Walk-Forward mode); >> → Deployment Code
  • Deployment Code << → Test & Validation; there is no >>

Candidates has no >>/<< at all — Can be reached at any point after trades files exist, in 3 ways:

  1. By clicking its tab header
  2. By clicking the Candidates button on the Trades Generator tab
  3. By clicking any row in the Trades files grid

Trades Generator carries both: >> continues along the walk-forward path to WFO Config, while the Candidates button beside it goes straight to analysis. Clicking a row in the grid opens that row's specific trades file.

Robustness has no >>/<< either — open it from its tab header at any point once an Optimization has finished.