Skip to content

Modular MQL5 framework for high-performance trading systems, featuring sub-800ms signal propagation and multi-agent AI architecture."

License

Notifications You must be signed in to change notification settings

JMS-tesoy/MQL5-Skill-Libraries-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›οΈ MQL5 Trading Systems Architecture Framework

License: MIT MQL5 Latency

A professional-grade structural framework for MetaTrader 5, designed for high-performance automated trading and real-time copy-trading infrastructure. This repository provides a modular "Skill Library" that separates analysis, execution, and risk management into an institutional-grade architecture.

πŸ› οΈ Framework Components

This repository is organized into three core architectural pillars:

1. ⚑ Bridge Architecture (BridgeInterface.mqh)

Engineered for the modern fintech stack. This library handles the communication between the MT5 terminal and external backends (Node.js/PostgreSQL).

  • Target Latency: Sub-800ms signal propagation.
  • REST Integration: Standardized POST/PATCH methods for signal routing and dashboard synchronization.
  • Security: JWT/Bearer token authentication ready.

2. πŸ€– Multi-Agent Logic (ObserverAgent.mqh)

Moving beyond monolithic code. This library implements the Observer Design Pattern to decouple market analysis from trade execution.

  • Observer Agents: Specialized classes for AI-driven pattern recognition and volume flow.
  • Signal Normalization: Translates complex indicators into a normalized "Signal Pulse" (-1.0 to 1.0) for the executor.
  • Scalability: Easily plug in new AI models or technical agents without modifying core execution logic.

3. πŸ›‘οΈ Risk Management (RiskManager.mqh)

Institutional safety protocols designed to protect capital under high-volatility conditions.

  • Dynamic Sizing: Automatic lot calculation based on account equity and broker-specific tick values.
  • Equity Kill-Switch: Account-wide drawdown and daily loss monitoring.
  • Exposure Control: Multi-symbol position validation to prevent over-leveraging.

πŸ“‚ Repository Structure

πŸ“‚ MQL5-Architect-Framework
 ┣ πŸ“‚ Include
 ┃ ┣ πŸ“œ BridgeInterface.mqh   # External API & Node.js Bridge
 ┃ ┣ πŸ“œ ObserverAgent.mqh    # AI Analysis & Signal Generation
 ┃ β”— πŸ“œ RiskManager.mqh       # Capital Protection & Lot Sizing
 ┣ πŸ“‚ Experts
 ┃ β”— πŸ“œ ArchitectMainEA.mq5   # Implementation example
 ┣ πŸ“œ LICENSE                 # MIT License
 β”— πŸ“œ README.md               # Documentation

About

Modular MQL5 framework for high-performance trading systems, featuring sub-800ms signal propagation and multi-agent AI architecture."

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published