V01D

Live locked

HQ

Front door / rev 00

V01D

The front door to Quant Genesis. A research desk for XAUUSD. The expert advisor is the only hand on an order. Live execution is locked.

  • Demo only
  • EA sends orders
  • Grok does not
  • No grid
  • No martingale

U0 · core

V01D

Live locked

Enter QUANT HQ See the stack

Research software. Not a broker. Not a forecast. Demo only.

01 / what it is

A desk, not a fund

Quant Genesis studies gold on MetaTrader 5. A native MQL5 expert advisor is the only component that can send an order. A Python service builds signals. Grok may comment on a setup. It cannot choose size, and it cannot send anything. A lab scores compiled expert advisors you already own, without opening them. The Forge writes demo-only source and stops. MetaEditor still has to compile that source. QUANT HQ is the dashboard. If the terminal is quiet, the desk says so. It does not invent a fill.

The zero in the mark is the gap between a signal and an order. Nothing in this revision is allowed to close that gap except the expert advisor, and the advisor is locked to a demo login. Candidate thresholds shipped with the repo are spec-derived defaults. The original archives were not in the tree. Refit them on your own data before you trust a setting.

Symbol
XAUUSD
Order authority
Expert advisor only
Live execution
Locked
Advisor
Grok, no size, no order
Candidates
Two, never blended
Chart study
Pine, no orders
Lab
Walk-forward and a holdout
Telemetry
Never invented

02 / the stack

Seven parts, one core

Choose a part. On a keyboard, tab to the group and use the arrow keys. The trace from that part to the core lights up. The core is not a trader. It is the socket the rest of the board has to face.

Stack components

U0 · core

V01D

Socket

Net list

  • NET_ORDEREA only
  • NET_SIZEEA only
  • NET_ADVICERead only
  • NET_LIVENot connected

U1 · Risk Governor

The expert advisor is the order path, and the governor sits on that path. Defaults in this revision: 0.25% of equity per trade, a 1% daily loss measured from day-start equity, and 3 new entries in a day. No grid. No martingale. No adding to a position. One position. A halt latch is stored so a restart does not forget it. The on-chart kill switch flattens this advisor’s positions and latches that halt.

These are limits, not a promise that a limit saves an account. Gold can gap through a stop.

U2 · Grok Core

Grok is an advisory reviewer. It can confirm, abstain, or veto a described setup. It does not place orders and it does not choose size. Fields in its reply that look like an order are ignored. With no key, the model is not consulted. A timeout, a transport error, or a body that is not the advice schema abstains, and that signal is not executable.

A comment from a model is not a signal to send size, and it is not evidence that a setup will work.

U3 · Signal Service

The Python service is the research side of the desk. Two candidates live in separate modules and are not blended. One is a trend-and-momentum gate with a spread check. The other is a Supertrend flip with an EMA ribbon and an ATR stop and target. The thresholds are spec-derived defaults, not recovered parameters.

The service can mark a demo signal executable for the advisor. It still does not send the order. Without a Windows terminal it replays a seeded series and says the terminal package is unavailable. That is an honest state, not a hidden result.

U4 · QG Lab

QG Lab scores EX5 files you already have by planning MetaTrader 5 Strategy Tester runs. It does not decompile those files, patch them, or read them as code. Run it on a separate Windows machine with a demo login. Do not point an untrusted EX5 at a computer that is logged into a live account.

The desk shows no rows until a real lab run has been scored. A labeled fixture, if you turn one on, is sample data from the test suite. It is not your terminal.

U5 · Audit

The audit is the part that tries to kill a flattering result. It reads the deal list for a lot that grows after losses, for several positions open at once, and for entries with no stop. It stresses the spread. It looks at whether neighbors of the chosen parameters survive. It checks that the report summary agrees with the deals. In-sample profit is not the score.

The four stamps — insufficient data, overfit, fragile, pass — are described in the next section. A pass is a statement about past out-of-sample deals.

U6 · Forge

The Forge studies a catalog of single-position genomes. It backtests them, mutates the better ones, and retests the last 30% of the series. Survivors are written as demo-only MQL5. The built-in series is synthetic. A file of your own bars can replace it. Clearing that gate is not a forecast, and MetaEditor still has to compile the output. Generated experts refuse a live login at init.

U7 · QUANT HQ

QUANT HQ is the dashboard for the desk. It does not invent broker telemetry. If the service or the terminal is down, the page stays in a labeled simulated preview, not connected, or stale. Controls that can change state are token-gated. Resetting a demo halt does not enable live execution.

The button on this site points wherever hqUrl in js/config.js says. Until you change it, that address is the local desk.

03 / how the lab stays honest

The in-sample winner is not the score

Out-of-sample deals are concatenated across the walk-forward windows. The default plan is 12 months in sample, 3 months out of sample, stepped forward by 3 months. The last 6 months of the date range are a holdout. That window is not where parameters are chosen. It is a final gate. If you optimized and the trial count was not logged, the lab will not call that expert a pass.

The drawing under this paragraph is generated in your browser from a fixed seed. Seven synthetic paths. Some end lower than they started. The band on the right is a picture of a holdout window. Nothing in the drawing was traded, tested, or fitted.

Illustrative only. Not a result. Fixed seed, no account, no symbol, no money axis. The word “holdout” on the drawing names the idea of a final window. It is not the output of a MetaTrader run.

The drawing is painted by JavaScript. The verdicts below stand without it. They describe how the lab reads past deals. They are not a claim about future deals.

  1. Insufficient data

    Too few out-of-sample trades, a holdout that is missing or short, or an optimization whose trial count was never written down. The lab refuses to grade what it cannot count.

  2. Overfit

    In-sample expectancy was positive and out-of-sample expectancy was not, or the out-of-sample expectancy fell under half. A deflated-Sharpe style probability under 5% after many trials, or an in-sample winner that sits below the median out-of-sample result, lands here too.

  3. Fragile

    Looks alive until a wider spread, unstable parameter neighbors, a much wider Monte Carlo drawdown, a holdout that is not positive, a report that disagrees with the deals, or a deal list that shows a growing lot or a grid. Missing stops land here as well.

  4. Pass

    Enough out-of-sample trades, positive expectancy, a profit factor of at least 1.05 on those deals, a holdout that is still positive, stops on the entries, one position at a time, flat size after losses, and a stress test that stays positive. A pass is still about the past. It is not a forecast.

04 / safety

Demo first. Live is an open circuit.

This revision does not have a live mode you can switch on by editing one flag. The checks below are what the software actually does. They are not a substitute for a demo login, a small size, and the willingness to throw a test away.

  • Demo accounts only A real or contest login fails the expert advisor at init. If the Python service observes a real account, it latches a halt.
  • Live flags are ignored QG_ENABLE_LIVE and the advisor input InpAllowLive do not turn live execution on.
  • Defaults, not a shield 0.25% of equity per trade. 1% daily loss from day-start equity. 3 new entries a day. No grid, no martingale, no adding. One position.
  • A halt survives a restart The latch is stored for the service and, in the advisor, in Common Files. The kill switch flattens this advisor’s positions and writes that latch.
  • The lab stays off the live machine Score EX5 files on a separate Windows machine that is logged into a demo account.
  • The desk does not fill gaps QUANT HQ shows a simulated preview, not connected, or stale. It does not draw a balance the terminal did not send.

05 / roadmap

What is built, what is yours, what is unclaimed

No dates. A line here is a state of the software, not a promise that a future version will make money.

  1. Now

    A research desk and a demo path. Live execution locked. Two unblended candidates. A lab that plans tester runs and scores reports. A Forge that emits demo-only source. A dashboard that labels missing telemetry. The expert advisor was not compiled in the environment that built the tree.

  2. On your machine

    Compile the advisor in MetaEditor and read the error list. Put a demo login on the allowlist. Match the broker’s gold symbol name. Refit thresholds on your own history. Add a Grok key only if you want the advisor in the loop. Without it, signals are tagged not consulted.

  3. Not claimed

    Broker tick history through a live terminal was not run in the build environment. A public QUANT HQ does not exist until you set hqUrl and host the dashboard yourself. This page does not claim a track record.

06 / enter

Open the desk

QUANT HQ is the working surface: state, lab, forge, and the halt. This page is only the door. The address below is configurable. Change hqUrl in js/config.js before you publish, or the button will keep aiming at a machine in the room.

Enter QUANT HQ

Address http://127.0.0.1:4731