Releases: castletrade/mql5-execution-components
Institutional MQL5 Execution Framework Initialization
Release Notes: v1.0.0-alpha
Project: MQL5 Execution Components | Institutional Bridge Architecture
Organization: Castle Trade LLC - Execution Division
Date: April 2026
Executive Summary
This release formalizes the MQL5 execution framework, establishing the Object-Oriented Programming (OOP) foundation required for sub-millisecond trade routing within MetaTrader 5 environments. This repository acts as the low-latency execution layer, bridging the gap between external quantitative engines (Whale Rider) and broker terminals.
Core Execution Components
Order Flow Router (OrderFlowRouter.mqh): Implementation of asynchronous order routing utilizing OrderSendAsync to bypass execution bottlenecks and mitigate slippage during high-volatility liquidity sweeps.
Risk Management (NotionalGuard.mqh): Dynamic exposure calculation modules engineered to verify margin requirements and enforce hard capital-preservation limits pre-execution.
Modular OOP Architecture: Full separation of operational logic via Include headers to ensure enterprise-level scalability, moving completely away from monolithic retail script designs.
Skeleton Expert Advisor: A highly optimized, event-driven EA structure focused on the OnTick and OnTradeTransaction event handlers to process high-frequency signals with near-zero overhead.
Technical Specifications
Environment: MetaTrader 5 (Advanced MQL5 Compiler)
Paradigm: Strict Object-Oriented Programming (OOP)
Execution Type: Asynchronous / Non-blocking
Intellectual Property Notice
This release contains the structural execution interfaces, OOP skeletons, and latency-mitigation frameworks. Proprietary inter-process communication (IPC) bridges (e.g., ZeroMQ/Named Pipes), specific Alpha signals, and live execution keys remain strictly confidential and are secured within Castle Trade LLC internal infrastructure.