Lattice Command
- Uzmanlar
- Andrew Boggie
- Sürüm: 1.95
- Güncellendi: 4 Mayıs 2026
- Etkinleştirmeler: 5
LATTICE COMMAND™
THE MOST ADVANCED ORDER-NETWORK EXECUTION SYSTEM ON MQL5.
Not a claim. A position backed by published, independently testable fidelity data.
Discover with Lattice Vision™. Deploy with Lattice Command™. One engine. Two instruments. One continuous workflow.
Lattice Command is the original level-trading execution engine — Grid Trading 2.0, engineered properly. When you find a configuration in Vision, Command produces the same trades. Eighteen test configurations covering filters, signal modes, stop-loss variants, consolidation, ghosting, and direction control — tested on MetaQuotes-native 1-minute USDJPY data with the platform's default symbol properties and a constant 2-pip spread. Eighteen of eighteen tests match exactly between Vision's predicted trade count and Command's true engine output. Zero aggregate drift across 3,790 trades. One hundred percent directional and mechanism alignment. Reproducible by any MT5 user with a generic MetaQuotes USD demo account — no third-party data downloads required.
→ Read the full Fidelity Report (published openly, free to download):
https://drive.google.com/drive/folders/19txtz0FCf2AitpHxllzG8OxELexszbrV?usp=sharing
That isn't marketing language. The full methodology and complete results are published below. Read it before you spend money on any execution suite that doesn't show you the same proof.
Lattice Vision is the analysis layer — find your parameters across years of historical data in seconds. Lattice Command is the execution layer — deploy those exact parameters with the full risk-control architecture intact. The bridge between discovery and live execution is engineered, not improvised.
Latest update — refined session-timing controls and tighter live-state recovery across platform restarts and broker reconnections. If you need help getting set up or want a baseline SET file to start from, message us directly. Cave & Fire Lab is hands-on with every customer.
(Contact via DM after purchase for full PDF guide.)
Automated Order-Network Execution & Risk Control System for MetaTrader 5.
Lattice Command™ is a professional automated execution and risk-control system for MetaTrader 5.
It manages structured order placement, aggregation, and lifecycle control using predefined parameters, with emphasis on capital protection, operational stability, and execution consistency.
The software operates strictly within user-defined limits and does not provide predictive signals or discretionary advice.
---
OVERVIEW
Lattice Command™ is designed to automate order-network management and exposure control under clearly defined rules.
It provides:
- Structured placement of multiple price-interaction levels across a configurable order network
- Controlled aggregation of positions into managed baskets
- Ghosting Technology™ — a proprietary trigger-filtering system that tracks early price interactions without executing, filtering noise before capital is committed
- Automated lifecycle handling from entry to closure
- Continuous monitoring of drawdown, margin, and execution state
- Robust multi-layer safeguards against abnormal market or account conditions
- Dual distance mode: fixed-pip or ATR-adaptive level spacing
- Production-hardened persistent state that survives terminal crashes, VPS restarts, and power interruptions
Its role is execution and control — not signal generation or decision-making.
---
FIDELITY REPORT — VISION ↔ COMMAND
This is the proof that defines the Lattice category.
Lattice Vision and Lattice Command share a single level-trading engine running in two different environments. Vision processes historical bars in a study window. Command runs in MT5's strategy tester or live account, executing on closed bars and using ticks only for measuring price drift and tracking account balance. These are fundamentally different execution contexts — and we engineered the pair from day one to deliver the same outcome from the same configuration. What you see in the study is what you get in the deploy.
The proof:
- 18 configurations tested across filters, signal modes, stop-loss variants, consolidation, ghosting, and direction control
- 12 months of MetaQuotes-native USDJPY 1-minute data (9 March 2025 → 9 March 2026) — the bars every MT5 user has access to from their generic MetaQuotes USD demo account
- MetaQuotes-default symbol properties — contract size, tick value, margin requirements, swap rates all sourced from the same platform that supplies the bars
- Constant 2-pip spread applied throughout, Open Prices Only tester model
- 18 of 18 tests match exactly between Vision's predicted trade count and Command's true engine output
- Zero aggregate drift across 3,790 trades
- 100% directional alignment — every test produces trades in the expected direction
- 100% mechanism alignment — every filter, signal mode, stop-loss variant, and lattice mode behaves correctly in both engines
Why MetaQuotes-native data: engine-vs-engine fidelity is a measurement of whether Vision and Command run the same logic on the same input. For that measurement to be clean, the input must be unambiguous — bar data and symbol properties must come from the same source. MetaQuotes-native data satisfies this condition: the bars and the USDJPY symbol specs both come from the MetaQuotes platform, so the engines are operating on a self-consistent input. Imported third-party historical bars (Dukascopy etc.) introduce a second variable — bars from one source, symbol specs from whichever broker the platform is configured for — and any drift observed there could be either an engine difference or a bar-vs-spec mismatch. Native data isolates the measurement to engine fidelity. That is why the matrix is run this way and that is why the result is 18 of 18.
A note on the MT5 Strategy Tester Results pane: the closed-position count shown in the Results pane reflects MetaTrader's own deal-level event accounting and may differ from the engine's structural trade count due to broker-side execution artefacts. The Results pane is useful for evaluating live-trading execution conditions; the journal's structural counter is the figure that aligns with Vision's panel. Both numbers are documented in the report so you can see exactly how each one is constructed.
The complete report — methodology, full test matrix, per-test results, account/symbol-property conditions, and the why-MetaQuotes-native interpretation — is published openly and free to download:
https://drive.google.com/drive/folders/19txtz0FCf2AitpHxllzG8OxELexszbrV?usp=sharing
This is an engineering position, not a marketing promise. Any future change to either engine that breaks the matrix beyond reported tolerances blocks release until resolved. The methodology is reproducible by any MT5 user — you don't have to take our word for it.
When fidelity between analysis and execution matters — and it should — this is what the bar looks like.
---
INTENDED USE
Appropriate for:
- Traders requiring repeatable, rule-based execution behaviour
- Risk-focused users automating predefined order-network strategies
- Prop-firm environments with strict loss constraints
- Developers seeking a stable, hardened execution layer
- Users who have validated parameters through backtesting, analysis tools, or their own research
Not intended for signal generation, predictive or discretionary trading, or guaranteed outcomes.
Users are expected to supply and validate all parameters independently.
---
GHOSTING TECHNOLOGY™ — PROPRIETARY TRIGGER FILTERING
Ghosting Technology™ is the defining innovation of Lattice Command™. It solves a fundamental problem with order-network systems: the initial price interactions when entering an order network are often noise — premature triggers during unstable conditions before price has committed to a direction. Traditional systems execute on every crossing indiscriminately, building early exposure that can drag the entire basket into an unfavourable state.
Ghosting Technology™ defines a configurable threshold of initial interactions that are tracked but not executed. These "ghost" triggers count toward the basket lifecycle and appear on the chart as distinct visual markers, but no order is placed. Only after the ghost threshold is exceeded do subsequent interactions trigger real execution.
The result is an intelligent positioning phase that filters out noise and lets your order network engage when price has demonstrated real commitment. The ghost count is fully configurable — from zero (standard behaviour) to as many initial interactions as you want to filter.
This is not a simple delay. It is a structural filter that fundamentally changes how and when capital is committed to the market.
---
CORE CAPABILITIES
Structured Order-Network Execution
Executes a configurable set of price-based order levels. Supports up to 20 predefined interaction levels — 10 upper (sell) and 10 lower (buy) — with independent spacing and independent lot sizing per level. Build uniform, progressive, regressive, or fully asymmetric order-network configurations. Optional structural locking while aggregation is active. Periodic recalibration based on reference calculations keeps the network aligned with current price structure.
ATR Adaptive Mode
Switches level spacing from fixed pips to ATR-based multiples. In ATR mode, the order network automatically adapts to current market volatility: levels widen in volatile conditions and tighten in calm markets. The ATR period is configurable. Basket TP can also be expressed in ATR multiples, with the effective dollar value calculated at each anchor point. Both distance modes are available via a single parameter toggle.
Basket Lifecycle Management
Aggregates multiple positions into a single managed cycle. Automatic closure when a defined aggregate threshold is reached. Real-time monitoring of basket state and exposure. Historical tracking of completed cycles. One basket active at a time — clean, controlled lifecycle management.
---
RISK CONTROL ARCHITECTURE
Lattice Command™ features a multi-layer risk control system designed for traders who prioritise capital protection.
All stop loss values are expressed in account currency units.
Equity-Based Safeguard (Soft Stop)
Continuously monitors account equity against a configurable drawdown threshold. Liquidates all positions when the limit is reached. Resets internal state automatically. Temporarily suspends execution until recovery conditions are met. This is your automated circuit breaker — it acts when you can't.
Broker-Level Safeguard (Hard Stop)
Applies broker-side stop logic across all active positions. Calculates a unified stop level based on aggregate loss limits. On trigger, execution halts completely until manual intervention. Provides protection even if the EA loses connectivity, the terminal crashes, or the VPS goes down.
Both safeguards are configurable and optional. They can be used independently or in combination.
---
EXECUTION MODES
Consolidated Execution
When multiple interaction levels are crossed within a single bar, execution can be consolidated into fewer, larger orders. Reduces position count while maintaining proportional exposure. Configurable thresholds determine when consolidation occurs.
Confirmation-Based Execution (Recross)
Execution can be delayed until price re-interacts with a triggered level. Instead of executing immediately when price crosses a line, the system waits for price to come back and confirm the level. Filters out fast spikes that touch a level once and never return. Can be combined with consolidation and Ghosting Technology™ for highly refined trigger behaviour.
Direction Inversion
Optional inversion of execution direction. Upper crossings execute buy orders, lower crossings execute sell orders. Intended for contrarian order-network workflows. Applied cleanly at the execution layer without changing the underlying lattice logic.
---
PRODUCTION HARDENING
Persistent State Recovery
The software's full operational state is preserved continuously: active order-network positions, basket cycle data, trigger states, ghost progress, chart annotations, session statistics, and execution history. Terminal crash, VPS restart, or power failure — Command resumes exactly where it left off. No orphaned positions. No duplicate orders. No confused state.
Adaptive Broker Compatibility
Automatically detects broker execution modes (instant, market, exchange), fill policies (FOK, IOC, return), and lot constraints (minimum, maximum, step). Normalises all volumes to broker requirements without manual configuration. Tested across ECN, STP, and market-maker environments. Works out of the box.
Intelligent Retry Handling
When orders fail, Command differentiates between temporary failures (requotes, price changes, timeouts) that warrant retries and permanent failures (market closed, invalid parameters) that don't. Configurable retry count and delay. Every failure is logged with the specific reason.
Connection Health Monitoring
Continuous monitoring of connection state and quote freshness. Stale-quote detection prevents execution on outdated prices. Automatic reconnection handling ensures the EA recovers gracefully from network interruptions.
---
PARALLEL CLOSE
Optionally closes all active positions simultaneously rather than sequentially. In a basket with multiple positions, sequential closing means each position waits for the previous one to confirm before the next request is sent — and that delay can cost significant slippage as price moves against you during the closure process. Parallel close eliminates that problem. Sequential closure mode remains available if preferred. Configurable per-instance.
---
SCHEDULING & SESSION CONTROL
Per-day enable/disable controls (Monday through Sunday) with precise session start and end times. Supports overnight sessions that span midnight. Active aggregation cycles are allowed to complete outside scheduled sessions — the scheduler controls when new interactions can occur, not when existing positions must close.
---
OPERATIONAL SAFEGUARDS
- Maximum open position limit — hard cap on total positions regardless of how many levels are triggered
- Spread threshold filtering — orders blocked when spread exceeds your configured maximum
- Pre-execution margin validation — every order checked against available free margin before submission
- Continuous connection health checks and stale-quote detection
---
ON-CHART STATUS INTERFACE
Real-time display of: aggregate basket PnL (colour-coded), cumulative session profit, maximum observed drawdown, peak margin usage, active position count, current distance mode, ghost progress indicator, and execution state.
Execution states are clearly labelled:
- IDLE — awaiting interaction
- FILTERING — Ghosting Technology™ phase active
- ACTIVE — executing positions
- SUSPENDED — soft safeguard engaged
- HALTED — hard safeguard engaged
Bloomberg-inspired terminal aesthetic designed for extended monitoring. No ambiguity about what's happening at any time.
---
NOTIFICATIONS & ALERTING
Mobile push notifications for: safeguard activation, execution suspension and resumption, and basket cycle completion.
Email notifications for: execution events, state changes, safeguard triggers, error conditions, and lattice recalibration events.
All notification types are independently configurable.
---
CONFIGURATION INPUTS
Core: Reference calculation parameters, structural reset interval, direction handling, aggregate threshold values, Ghosting Technology™ count, execution identifier (magic number), and distance mode (PIPS or ATR with configurable ATR period).
Risk: Equity safeguard enable and threshold, broker-level safeguard enable and threshold, spread limits, slippage tolerance, retry behaviour, maximum position limit, and parallel closure option.
Scheduling: Per-day operation toggles, session start and end times.
Structure: Independent upper and lower level spacing, independent per-level lot sizing — complete asymmetric control over all 20 levels.
Notifications: Mobile push alerts and email configuration with customisable subject prefix.
---
COMPATIBILITY NOTE
Lattice Command™ is a complete, standalone execution system. All features, safeguards, and capabilities described above are fully available without any additional software.
For users who also use Lattice Vision™ (available separately), parameter structures are compatible between the two products and engine fidelity is independently documented in our published Fidelity Report (link above). This is a convenience, not a requirement — Lattice Command™ accepts parameters from any source including manual configuration, your own analysis, or third-party tools.
---
DEPLOYMENT RECOMMENDATIONS
1. Begin with the MetaTrader 5 strategy tester — run bar-by-bar backtests with the full execution engine
2. Forward test on a demo account to observe real-time behaviour and broker interaction
3. Start with conservative limits when deploying with real capital
4. Monitor behaviour during initial operation
5. Adjust parameters incrementally
6. Prioritise operational stability over returns
---
SYSTEM REQUIREMENTS
MetaTrader 5 (build 2000+), any compatible broker, stable internet connectivity. VPS recommended for continuous unattended operation.
---
RISK & USAGE NOTICE
This software automates execution based solely on user-defined parameters. It does not generate trading signals, provide financial advice, or guarantee any outcome.
The software cannot account for all possible market or technical conditions including but not limited to: liquidity constraints, slippage variability, latency effects, extreme volatility, broker-specific behaviour, or extraordinary market events.
All responsibility for configuration, deployment, and outcomes remains with the user. Users should thoroughly test all configurations in a risk-free environment before deploying with real capital.
Trading forex and CFDs involves substantial risk of loss and is not suitable for all investors. Past performance — whether demonstrated through backtesting, forward testing, or any other method — is not indicative of future results. You should only trade with capital you can afford to lose.
---
TRADEMARKS & LEGAL
Lattice Command™, Lattice Vision™, and Ghosting Technology™ are common law trademarks of Cave and Fire Group Pty Ltd.
© 2025–2026 Cave and Fire Group Pty Ltd. All rights reserved.
Cave & Fire Lab is a trading name of Cave and Fire Group Pty Ltd., a software development company. We are not a financial services provider, broker, fund manager, or advisory firm.
MetaTrader 5 and MQL5 are registered trademarks of MetaQuotes Ltd. This product is not affiliated with, endorsed by, or sponsored by MetaQuotes Ltd.
All other trademarks are the property of their respective owners.
