SpecSmith, GapSmith
Broker profile matches MT5; M1 gaps filled.
This is the order the modules were written to be used in. Stage 1 makes the symbol in SQX describe what your broker’s terminal trades. Stage 2 measures that symbol and configures a Build task. Stage 3 is StrategyQuant X as you already use it. Stage 4 runs the exported strategy on the files the research used. You can start at any stage.
Broker profile matches MT5; M1 gaps filled.
Side, hours, style and blocks; Deploy writes into the Build task.
Builder, retest, walk-forward matrix, export, with NameSmith naming the results. Inputs: Institutional Indicators, NN Lab, Alternative Data, News.
Same files, same weights, same calendar.
| Step | What you do | Tool | Where | What it hands on |
|---|---|---|---|---|
| 1a | Export symbol specs, swaps, commissions and sessions from the broker’s terminal | SpecSmith, script AWSpecExport | MT5 Navigator, Scripts | Two CSV files in Common\Files\AWSpecs |
| 1b | Compare with a broker profile, tick rows, apply | SpecSmith | SQX Data Manager, SpecSmith tab | A broker profile that matches the terminal, with a backup you can undo |
| 1c | Check M1 history, fill holes | GapSmith | SQX Data Manager, Analyze data quality, Fix gaps | A _patched symbol and an audit log; the original is untouched |
| 2a | Set symbol, timeframe, range and reserved bars | SQX Data tab | Edge Finder | The measuring sample |
| 2b | Run Autopilot, or each tab | Edge Finder | SQX left navigation | Market Bias, Time Windows, Style Fit and Block Edge results |
| 2c | Apply to a Build task | Edge Finder, Deploy | Deploy tab | Sides, symmetry, style blocks, optional time range, read back from disk |
| 3a | Run the Builder | StrategyQuant X | Build task | Candidate strategies |
| 3b | Retest, walk-forward matrix and robustness checks | StrategyQuant X | SQX | Survivors |
| 3c | Name the survivors | NameSmith | Databank action | Names like Breakout_SP500_H4_001 |
| 3d | Export as an MT5 EA | StrategyQuant X | SQX export | EA, plus the AW indicators and data files it calls |
| 4a | Put the indicators and data files in the terminal | Installer, NN Lab deploy, feeds | MT5 data folder | Same history, model files, calendar |
| 4b | Run the EA in the Strategy Tester and compare with the SQX backtest | MetaTrader 5 | MT5 | The parity check, before going live |
A strategy is judged on the contract and the minutes the tester sees. Two things go wrong there. The contract can differ: SQX may hold a different tick size, point value, minimum stop distance, swap, commission or trading session than the broker’s terminal reports. And the minute data can have holes: tick-precision and M1 simulation build the price path from M1 bars, so a stop or limit inside a missing stretch fills at the next price that exists.
SpecSmith deals with the first. The AWSpecExport script is read-only; it writes two CSV files and changes nothing in the terminal. In the SpecSmith tab you compare, tick the rows you want, and apply. The values they replace are saved first, and Undo restores them and removes anything the apply created. It can also build a whole new broker profile from the terminal’s symbols. Spread is off by default, because the export holds one moment’s spread, and swap is never positive unless you allow it.
GapSmith deals with the second. It fills genuine gaps, never weekends, holidays or scheduled closures, up to the maximum gap length you set, and writes the result to a new symbol with a _patched suffix. Every filled minute is in an audit log. By default the filled bars are flat, at the previous close, with zero volume; an optional synthetic fill, marked and written to a separate _synth symbol, exists for genuine outages. They stop the simulation from jumping a gap and do not recover the prices that were lost.
SpecSmith copies what the terminal reports at the moment of export, and it does not guess the broker’s clock: MetaTrader gives only today’s UTC offset, so the timezone is yours to set. Its timezone check then tests your value against the weekly reopening of a currency pair and reports; it never changes your setting. GapSmith patches M1 history only.
Decide which symbol you will build on, the original or the patched one, and use the same one in stage 2 and stage 3. Test on both if a result looks too good around a patched stretch. See the data hygiene worked path.
On the Data tab choose the symbol, a timeframe and a range of several years, and add an out-of-sample range under Data range parts. A Build task uses the same control, so what you reserve here is reserved there. Press Autopilot, choose Current timeframe or Everything, and read the q grades and the Held out column before the means. Open Deploy, pick the project, check the side, symmetry, style and time range, and press Apply. The project must not be running.
Time Windows needs a data clock. Check the line at the top of its result before trusting any hour in it. Install the input modules first if you want them measured: Block Edge scans every block SQX has registered, including those added by Institutional Indicators, NN Lab, Alternative Data and News, and any you add yourself.
More: Edge Finder, Time Windows.
Run the Build task as usual. Edge Finder and the input modules add a starting configuration and extra blocks; they do not change how SQX evaluates or ranks strategies. Keep the Build task’s out-of-sample range inside the window you reserved in Edge Finder and NN Lab, because a measurement or a model that saw those bars invalidates the validation. Then apply SQX’s own retest, walk-forward matrix and robustness checks to the survivors. Whether a strategy holds up is StrategyQuant’s verdict.
NameSmith names the survivors before you export, so the symbol, timeframe and style are in the name. Export as a MetaTrader 5 EA. Only MetaTrader 5 and PseudoCode are functional targets for these blocks.
The installer has already put the AW indicators in the terminals you ticked, and the feed services keep the alternative-data and news files current in Common\Files. Compile StrategyQuant’s own Sq* files once, and press Deploy to MetaTrader 5 in NN Lab if the strategy uses a model. Run the exported EA in the Strategy Tester first and compare its trades with the SQX backtest on the same history.
If the two disagree, work down the parity checklist: same instrument description, same history, same clock, same files, same indicators, closed bars, frozen versus live data, costs and fills, licence. See the parity checklist and why a backtest and MT5 disagree.
No. Each works alone. The Suite includes all eight.
Edge Finder measures whatever symbol and profile are on the Data tab. A symbol with holes, or a profile with a session that differs from the terminal’s, gives a measurement of a slightly different market. Edge Finder has a light patched-copy button of its own for the symbol on its Data tab.
After the Builder, in StrategyQuant X, on the survivors. Edge Finder works before the Builder.
Yes, on any symbol. Its Deploy step writes into a Build task, so it is most useful before a build.
SpecSmith needs a terminal logged in to your broker, to export from. Edge Finder and GapSmith need only SQX.
No. Matching the backtest to the terminal removes some causes of disagreement. It does not make a strategy profitable, and no module predicts results.
Trading leveraged instruments carries a high risk of loss. Software output is not investment advice and says nothing about future results. Validate every strategy yourself before risking capital.