Tips & Troubleshooting
Best practices, and what to do when something doesn't show up.
Start over clean with Refresh. Clicking Refresh on the TradingApp toolbar empties every tab at any stage, as after a TradeStation restart; files on disk are kept. Set the Working Folder and the strategy again afterwards, and Browse to a run on the results tabs (Runs and the Results Tabs).
Set the Working Folder first, every session. Optimization, Generate Trades and the Walk-Forward resolve their files relative to it. Switching strategies mid-session without updating it is the single most common cause of results landing in the wrong folder. The results tabs follow the run that ended last, or the run picked with Browse (Runs and the Results Tabs).
Feasibility is optional but cheap. A full optimization can run for hours; Feasibility takes seconds and catches the most common setup mistakes before committing to a long run. Skip it once a given strategy/data setup is familiar, not as a default habit.
On Deployment Code, SOURCE CODE is what the deployment strategy is made from. The generated strategy loads automatically; an own strategy's code is pasted. Don't change its logic there: only input values are set, so any other change would go into the deployment code untested. To change the strategy itself, change it upstream and run it again.
SOURCE CODE must be the exact code that was optimized. Deployment Code checks that every parameter is an Input of that code, but it can't tell two versions of a strategy apart when their Inputs share the same names. After regenerating on the Strategy Code tab or editing the strategy, run the optimization again before generating the deployment code.
Advanced: the market hours file. The Regular Trading Hours of every supported market are kept in WS_SessionTimes.csv, in WalkStrat's Program folder, and the file opens in Excel. Columns: Root (the symbol without @, e.g. ES), Family, Clock, Start and End (HHMM, exchange time), NoRTH (1 = no regular hours: Start is the daily reopen and the entry window runs through midnight), Basis (exchange, cash or pit hours) and Note. Updates of WalkStrat replace the file. Editing it is possible, at one's own responsibility: a run on edited hours no longer matches the hours documented here. The messages under the Optimization grid always list the hours a test used. If the file is missing or cannot be read, every symbol runs on 08:30–15:00 and the messages say so.
When nothing passes
A run that ends with no candidate, no WFO Config schedule or a weak holdout is a valid result: with these markets, intervals and thresholds the strategy shows no reliable edge. WalkStrat says what failed most and what to try; the reasons behind each hint are below.
| Where | Main reason | What to try, and why |
|---|---|---|
| Candidates (Message Center, end of the batch) | Too few trades | A longer history, a lower timeframe, or input ranges that trade more. A strategy that trades rarely cannot show an edge in a few years. |
| Too little profit (Net Profit / year, Profit Factor, Avg. Trade, Expectancy) | Other markets or intervals; Feasibility shows quickly which ones suit. Wider input ranges rarely help: the best settings already lose or barely win here. | |
| A drawdown above the limit | Raise the Drawdown limit (Metrics) if the account allows it, or lower the trade size. | |
| Uneven years | A longer history or other markets: the result depends on a few good years. | |
| No candidate in any pair | Also check that the Metrics thresholds fit the contract: micro contracts need about a tenth of the e-mini values. | |
| WFO Config (status box, when no cell passed) | No segment winner | A lower Min trades per segment, or an Optimization on a longer history: each in-sample window then holds more trades. |
| Losing out-of-sample periods | Anchored windows: each in-sample keeps all the earlier data, so the winners change less from segment to segment. Also a longer history, or other markets. | |
| Profit from one period | A longer history spreads the test over more periods; Anchored windows can help too. A result that needs one special market phase is fragile. | |
| Too little in-sample profit | Other markets or intervals. | |
| Unstable winners (the neighbouring settings do much worse) | A longer history or other markets. | |
| Verdict (Test & Validation) | The holdout or the comparison is negative | The walk-forward result didn't hold into recent data: the edge may be gone, or it was never there. Before trading it, test other markets or intervals, or a longer history. |
Hovering an excluded WFO Config cell shows that cell's own reason.
Common issues:
- Empty Trades File dropdown in Candidates — no run is shown yet (after a restart: Browse to one, Runs and the Results Tabs), or no trades were generated for the run shown. Check the Trades Generator tab.
- Empty Symbol/Interval dropdown on WFO Config — no run is shown yet (the tab says "No run selected.": Browse... to one), or the run has no finished pair. WFO Config lists the pairs of the run shown; it does not need trades files.
- "Settings changed or not yet saved" on Strategy Code — click Save Settings again on the Settings tab.
- A grid cell looks empty after it is clicked — the value is still there. TradeStation redraws the cell only when another cell is clicked; the stored value is the one used.
- WFO Config matrix is entirely blank — no configuration passed the exclusion tests (see WFO Config); the status box names the main reason and what to try (see When nothing passes above). Hover any cell to see exactly why it was excluded, and check the tally line above the status box. Most often every schedule had too many losing segments, which is a real answer about the strategy on that Symbol/Interval rather than a fault. Try a different Symbol/Interval, or reconsider the strategy's parameter space.
- WFO Run dropdown is empty — the run shown has no completed walk-forward yet (finish Step 7 of the Full Workflow first), or no run is shown (Browse to one, Runs and the Results Tabs).
- Deployment Code says no strategy was generated on the Strategy Code tab — generate it there, or, for a strategy run straight from the Optimization tab, paste its code into SOURCE CODE.
- Deployment Code says a parameter isn't an Input of the code — the code in SOURCE CODE isn't the strategy that was optimized. Load or paste the right one.
- Continuing an earlier run (for example after restarting TradeStation) — to look at it, Browse to it on Candidates, WFO Config or Test & Validation (Runs and the Results Tabs). To walk it forward, Browse on WFO Config, pick the pair and cell, Add to WFO, then Start Walk-Forward: it runs on that run's own saved settings, and the Messages box says so. For more trades, point the Optimization tab's Working Folder at the run's
Trades\B_…folder and click Generate Trades (Trades Generator). A paused walk-forward continues with the strategy set on Settings or the Optimization tab. - "Choose the strategy first: the Working Folder and the strategy on Settings or on this tab." — Start needs a strategy and a Working Folder on Settings or the Optimization tab; a Browse on the results tabs does not set them.
- "No grid ledger for this run in the strategy folder's Ledger folder" on WFO Config — the Optimization's daily results (the
Ledger\folder) are missing for this run; re-run the Optimization. - "The saved plan was made for another Optimization run or test window" on WFO Config — the plan saved for this pair no longer matches the run's results or test window. Select the Symbol/Interval pair and click a matrix cell again.
- "Trades generation stopped: no tick value for …" — the tick value of that candidate's symbol could not be loaded, and running it would have charged $0 slippage. Press Generate Trades again.
- "n/a — tick value missing for N trades" in the Risk, Scorecard or Stress Tests views — some trades in the file have no tick value, so the cost studies are not computed rather than computed on a wrong cost.
- "Walk-forward test stopped at segment N: …" — that segment has no winner (How WalkStrat Picks a Walk-Forward Winner). Choose another schedule in WFO Config, or change the Segment Winner Rules there, and click Add to WFO again.
- "Walk-Forward Test stopped: a segment's trades are missing" — press Start Walk-Forward (or Continue Walk-Forward) to run it again; the holdout runs only once the walk-forward test is complete.
- Clicking a tab opens the License window instead — there is no valid license on this computer, or it has ended. See Initiating the App.
- "This license was issued to a different TradeStation Customer Number" — TradeStation is logged in under a different Customer Number than the one on the token. Log in with the licensed number. If the Customer Number has changed, contact support: a replacement license is issued free of charge.
- "This license token is not valid" — the token was not copied in full, or was altered. Copy it again from the account page, in one piece, with no spaces or line breaks.
- "TradeStation has not reported a Customer Number" — make sure TradeStation is logged in, then start WalkStrat again.
- A run resumes from the wrong point after a crash or restart — this shouldn't happen since progress is tracked on disk, but if it does, check the message log for the exact resume position before pressing Start again.