Workspace / Overview
● SYNTHETIC DATAMQL5 EXPORT● VIRTUAL FUNDS ONLY

AD HOCK AI Strategy Laboratory

Create trading models, fund custom virtual accounts, run historical tests, test live market quotes and export selected MQL5 strategies.

Strategy models ◈
5
Research templates + online neural filter
Sandbox sessions ▤
0
Isolated virtual portfolios
Total simulated trades ↗
0
All sessions on this browser
Active test status ◉
Not started
Create a sandbox to begin

Sandbox account growth

Virtual equity of the selected session

No session

Research activity

Local history

Model activity — recorded user actions

Historical tests, live-feed sandbox tests and source code copies. Site-wide figures require the optional PHP metrics service.

THIS BROWSER ONLY
Trading modelHistorical testsLive sandbox testsCode copies
Important: The default data feed is a mathematical simulation, not a live broker feed. Online neural updating in this browser is educational experimentation, not evidence of a profitable trained trading model. Connect a real quote endpoint to conduct live-data paper tests.

Strategy Laboratory

Choose a model, explore parameter variants and evaluate it in the virtual trading environment.

Research notice: These are executable strategy templates with a small online neural classifier. Strategy variants are proposed by parameter exploration, not by an autonomous large-scale neural architecture search. Use out-of-sample evaluation before any broker deployment.

Trading Sandbox

Independent virtual accounts, adaptive trade volumes, execution costs, and live-data connectivity.

SYNTHETIC PRICES
Virtual balance
$0.00
Realized P/L included
Virtual equity
$0.00
Floating P/L: $0.00
Net trading P/L
$0.00
0.00% total return
Peak drawdown
0.00%
0 closed trades

Market & execution

EURUSD

Simulated quotes · not exchange data

—
Spread: —
Model prediction—
Next risk budget—
Adaptive trade volume—
IDLE

Sandbox configuration

Editable before start

Choose any starting capital to fund this virtual account. The volume model can increase or decrease its risk budget from 0.1% up to your maximum. It never exceeds the limit you set.

Virtual positions

0 OPEN
SideLotsEntryStop lossTake profitFloating P/L

Selected sandbox statistics

Win rate—
Profit factor—
Neural updates0

Decision & learning journal

0 events

Historical Strategy Tests

Test a selected model using past candles. Results, the funding capital, spread, latency and measured performance are saved with each run.

SIMULATED EXECUTION

New historical backtest

Backtests use close-only price observations. Intrabar fills and millisecond latency cannot be verified from candle closes; delay/slippage are approximations. For broker-grade backtesting use MT5 Strategy Tester.

READY

Latest result

Net return—
Closed trades—
Maximum drawdown—

No test has been run.

Historical testing records

0 runs
DateModelData sourceSymbolFundingSpreadLatencyTradesNet P/LDrawdown

Live-data Sandbox Tests

Real-time price-feed sandbox sessions with virtual funds. A session is counted only when a valid fresh live quote was received after test start.

No real-money orders are placed. Public exchange quotes represent spot prices; this sandbox's leveraged long/short and execution rules are virtual, not exchange fills or MT5 broker performance.

Recorded live-data tests

0 tests
First quoteModelSymbolFeed typeVirtual fundingSpreadLatencyVirtual tradesSession

Copied & Exported MQL5 Codes

A transparent history of source code copies and downloads saved for this browser. No fabricated popularity or download statistics.

Code actions

0 actions
DateStrategyActionSource linesLearning scope

Trade History

Virtual trades only. Records and settings remain in this browser unless cleared.

0 closed trades
ClosedModelSymbolSideLotsEntryExitNet P/LReason

MQL5 Code Studio

Generate the source of a selected strategy template, complete with adaptive risk, spread filters, and built-in execution protections.

— lines
Export scope: This produces a standalone, chart-symbol MQL5 Expert Advisor implementing the selected strategy and adaptive volume risk rules. It includes the available five-input neural-network weight snapshot, but not ongoing browser-side retraining. Re-export to update weights. It has not been compiled or forward-tested here. Run it in MetaEditor and the MT5 Strategy Tester first. Fixed spread and latency are sandbox simulation parameters, not values that can override live broker execution.

Market Data & Website Integration

Test using public Binance spot quotes for crypto or connect your own read-only MT5 broker quote endpoint for forex/metals.

Public quote endpoint

Use a server-side MT5 bridge or licensed data provider. The endpoint must not expose broker or provider secrets to public browsers.

The application appends ?symbol=EURUSD. HTTPS required for cross-origin endpoints.
Not configured

Public crypto data

Choose BTCUSDT/ETHUSDT and the Binance exchange feed in Sandbox. Live prices use Binance public market-data WebSockets when accessible. Historical exchange candles are fetched from the public market-data API.

Expected API response

{
  "symbol": "EURUSD",
  "bid": 1.08234,
  "ask": 1.08249,
  "timestamp": "2026-10-22T10:00:00Z",
  "volume": 100
}

Optional: volume. Required: symbol, bid, ask, timestamp. The timestamp must be recent. Stale responses suspend live-data testing.

Deployment guide

1. Upload the HTML filePlace it in your website's public directory, for example /public_html/ai-lab/index.html.
2. Configure a market feedProvide an HTTPS JSON API backed by a licensed market data source or a read-only MT5 bridge.
3. Use live-data sandbox modeTest endpoint, create a fresh session and choose connected data. No orders will be sent to a broker.
4. Export selected MQL5 strategyCopy its source or download the .mq5 file. Independently compile and validate in MetaEditor.
Public access note: The HTML alone stores private activity in each visitor's browser. Optional neural_metrics.php provides actual site-wide aggregate action counts. Shared user accounts, persistent server-side sessions, live MT5 execution, large-scale neural training and secure user authentication require backend services.