/ Documentation
V5.0 ← Back to site
OVERVIEW

EA FX HUB Documentation

EA FX HUB is an AI trading technology ecosystem built for funded and retail algo traders. This documentation covers all six products, configuration parameters, copy trading architecture, preset library, broker integrations, and the API layer. Start with the Quick Start or jump directly to SignalOS.

Current version: EA FX HUB V5.0. This version introduces the 4-channel signal architecture, per-session Channel D fire flags, and the distributed lot sizing system. See the changelog for full version history.

Platform Architecture

EA FX HUB is structured as a holding ecosystem with six interconnected products. Each product is independently deployable but shares a common signal and identity layer.

// EA FX HUB GROUP — ecosystem structure

EA_FX_HUB_GROUP
  ├── SignalOS         // Signal orchestration + copy trading  [FLAGSHIP]
  ├── PropEdge         // Prop trader OS + risk dashboard
  ├── TradeScribe AI   // AI code co-pilot for MQL5/MQL4
  ├── AlgoVault        // Managed VPS + MT4/MT5 infrastructure
  ├── FlowDesk         // No-code workflow automation
  └── TraderMark Studio // AI brand + media studio
ARCHITECTURE

Signal flow overview

At the core of every product is the SignalOS routing engine. Signals from any source — technical indicators, AI models, external webhooks — pass through a consensus gate before execution or distribution to copy trading subscribers.

SIGNAL SOURCES       CONSENSUS GATE         EXECUTION LAYER
─────────────        ──────────────         ───────────────
Ch-A  MA/Fib   ──┐
Ch-B  Osc      ──┤── ENUM_SIGNAL_MODE ──── Master Account
Ch-C  RSIxMA   ──┤   (ANY/MAJORITY/      ─ Copy Subscribers (N)
Ch-D  Asian Rng─┘    ALL_AGREE)          ─ Prop Firm Accounts
                          │
                    News Filter Gate
                    DrawDown Guard
                    PresetParams Override
SIGNAL FLOW
LayerComponentStatus
Signal sources4 independent channels (A, B, C, D)LIVE
Consensus engineENUM_SIGNAL_MODE — ANY / MAJORITY / ALL_AGREE / PRIMARYLIVE
Lot distributionWeighted per-channel allocation systemLIVE
News filterMQL5 Calendar API integrationLIVE
Copy layerCopyMaster/CopySlave file-junction systemLIVE
Cloud APIREST signal routing, subscriber managementBETA
Web dashboardPropEdge browser interfaceBETA

Quick Start

Get EA FX HUB V5.0 running on your MT4 or MT5 terminal in under 10 minutes.

  1. Download the EA file
    Obtain EAFXHUB_V5.ex4 (MT4) or EAFXHUB_V5.ex5 (MT5) from your account dashboard. Place it in MQL4/Experts/ or MQL5/Experts/ respectively and refresh the Navigator panel.
  2. Apply a preset file
    Load a .set file from the Preset Library matching your broker, account size, and risk tier. Drag from Navigator onto your chart, click Load in the Inputs tab, and select the preset.
  3. Configure signal mode
    Set SignalMode to your preference. For most prop firm accounts, MAJORITY_AGREE (2 of 4 channels) is recommended. For conservative accounts use ALL_AGREE.
  4. Set drawdown limits
    Enter your prop firm's drawdown rules in MaxStaticDD_Pct and MaxDailyDD_Pct. The EA enforces these automatically and halts trading if breached.
  5. Enable AutoLot and run
    Set UseLotDistribution = true to activate the weighted channel lot system. Press OK, ensure the smiley face is green, and you're live.
Prop firm accounts: Always run the EA on a demo account for at least 24 hours before deploying to a funded account. Verify drawdown limits match your prop firm's exact rules.

FLAGSHIP PRODUCT

SignalOS

LIVE — V5.0

SignalOS is the signal orchestration and copy trading platform at the centre of the EA FX HUB ecosystem. It combines four independent signal channels with a consensus routing engine, per-account preset overrides, and an embedded copy trading layer — all executing in a single EA with no external dependencies beyond the MQL5 Calendar API for news filtering.

Signal Modes

The ENUM_SIGNAL_MODE enum controls how channel votes are combined before a trade is executed.

ModeBehaviourBest for
SIG_ANY_CHANNELTrade fires if any one channel produces a signalAggressive accounts, trend markets
SIG_MAJORITYTrade fires if 2 or more channels agreeProp firm accounts — recommended default
SIG_ALL_AGREETrade fires only if all active channels agreeConservative / low-DD prop firm rules
SIG_PRIMARYTrade fires only on Ch-A signal regardless of othersSingle-strategy testing
// Set in EA inputs or .set file
input ENUM_SIGNAL_MODE SignalMode = SIG_MAJORITY;

// Runtime override via PresetParams
P.SignalMode = SIG_ALL_AGREE;  // override per-account at runtime
MQL5

Signal Channels

ChannelStrategyIndicatorsRegime
Ch-AMA + Fibonacci confluenceEMA(13), EMA(34), Fib levelsTrending
Ch-BOscillator divergenceStochastic, DeMarker, Hidden DivergenceRanging / overbought
Ch-CRSI × RSI-MA crossoverRSI(14), RSI MA(9)Momentum
Ch-DAsian Range BreakoutAsian session high/low, ADX filterSession breakout

Copy Trading System

The copy trading layer is built directly into SignalOS — not bolted on. Every signal that passes the consensus gate and drawdown guard is simultaneously written to the master signal file and distributed to all connected slave terminals.

The architecture uses Windows directory junctions for inter-terminal file sharing on the same VPS, enabling sub-100ms signal propagation without any third-party bridge software.

// CopyMaster — writes signal on master terminal
void WriteMasterSignal(string symbol, int direction, double lot) {
  string path = "C:\\SharedSignals\\" + symbol + ".sig";
  FileWriteString(handle, direction + "|" + lot + "|" + TimeCurrent());
}

// CopySlave — reads on each follower terminal (polling 250ms)
void PollMasterSignal() {
  string raw = FileReadString(handle);
  double scaledLot = ApplyPresetOverride(raw.lot, P.LotMultiplier);
  if(IsDrawdownSafe()) ExecuteTrade(raw.direction, scaledLot);
}
MQL5
FeatureDetail
Propagation latency~12–80ms (same VPS, directory junction)
Max slavesUnlimited — each slave is a separate MT4/MT5 terminal instance
Lot scalingPer-slave LotMultiplier via PresetParams override
Drawdown enforcementEach slave independently checks its own DD before executing
News blockingMaster halts writes during news events; slaves inherit the pause
File lockingAtomic writes prevent race conditions during concurrent reads

PresetParams Struct

Every per-account override flows through the PresetParams struct (P. prefix at runtime). This enables a single EA file to power accounts with completely different risk profiles, lot sizes, and drawdown rules simultaneously.

P.LotMultiplier
doubledefault: 1.0
Scales the base lot size for this account. A slave account with P.LotMultiplier = 0.5 will trade half the master lot on every signal.
P.MaxDailyDD_Pct
doublerequired for prop
Maximum daily drawdown as a percentage of balance. EA halts all trading if breached. Must match your prop firm's stated daily DD limit exactly.
P.MaxStaticDD_Pct
doublerequired for prop
Maximum overall drawdown from initial balance. EA halts permanently (until reset) if this level is breached.
P.SignalMode
ENUM_SIGNAL_MODEdefault: SIG_MAJORITY
Overrides the global signal consensus mode for this specific account. Useful when running conservative prop accounts alongside aggressive personal accounts on the same VPS.
P.EnableNewsFilter
booldefault: true
When true, the EA reads the MQL5 Economic Calendar and blocks new trades during high-impact events on the traded symbol's currency pairs.
P.UseLotDistribution
booldefault: false
Activates the weighted lot distribution system. When true, each channel receives its own lot weight (Ch-A 44%, Ch-D 28%, Ch-C 17%, Ch-B 11%).

News Filter

The news filter module reads directly from the MQL5 Economic Calendar API — no third-party data feed required. It evaluates upcoming events against the symbols being traded and blocks order entry during the configurable pre/post event window.

// News filter — auto-detects relevant currencies from symbol
bool IsNewsBlocked(string symbol) {
  MqlCalendarValue events[];
  string base = SymbolInfoString(symbol, SYMBOL_CURRENCY_BASE);
  string quote = SymbolInfoString(symbol, SYMBOL_CURRENCY_PROFIT);
  
  int count = CalendarValueHistory(events,
    TimeCurrent() - NewsMinutesBefore*60,
    TimeCurrent() + NewsMinutesAfter*60
  );
  
  for(int i=0; i<count; i++) {
    if(events[i].impact_type == CALENDAR_IMPACT_HIGH)
      if(events[i].currency == base || events[i].currency == quote)
        return true;
  }
  return false;
}
MQL5

PRODUCT

PropEdge

BETA — Q2 2025

PropEdge is the prop trader operating system — a browser-based dashboard for managing multiple funded accounts simultaneously. It aggregates real-time equity, drawdown state, open positions, and news risk across all connected accounts in a single view.

Account Manager

Connect any MT4 or MT5 account via the PropEdge bridge. Each account displays live equity, floating P/L, daily DD consumed, static DD remaining, and active channel status.

Supported prop firms: FTMOMonaxaPU PrimeExnessKVB Prime — rule profiles for each firm are pre-loaded. Select your firm on account setup and drawdown thresholds are configured automatically.

Drawdown Rule Engine

PropEdge maintains a persistent drawdown ledger for each account. The rule engine evaluates the following hierarchy in real time:

  1. Static (overall) drawdown check
    Equity must remain above InitialBalance × (1 - MaxStaticDD_Pct). Breaching this permanently halts the EA and sends an alert.
  2. Daily drawdown check
    Each day resets at midnight server time. The daily low watermark is tracked from the highest equity point of that trading day.
  3. Floating P/L guard
    Open positions are included in drawdown calculations. The EA will close open trades if holding them would breach the daily DD limit.
  4. Equity protection close
    If equity drops within 0.5% of the DD limit, all positions are closed immediately regardless of trade direction.

PRODUCT

TradeScribe AI

BETA — Q3 2025

TradeScribe AI is a coding co-pilot purpose-built for MQL5 and MQL4 developers. It translates plain-language strategy descriptions into production-grade EA code, explains backtest results, and performs logic audits to catch edge-case bugs before they cost a funded account.

Capabilities

FeatureInputOutput
Strategy to codeNatural language descriptionProduction MQL5/MQL4 EA file
Backtest interpreterStrategy Tester report (HTML/CSV)Plain-language analysis + suggestions
Logic auditExisting EA source codeBug report, edge-case flags, fixes
Preset generatorBroker rules + risk tierReady .set file
Signal tracingEA source + log fileAnnotated signal trace with [SIG:<Channel>] tags
Access: TradeScribe AI is in closed beta. Apply for early access at eafxhub.com/beta. API access for platform integrations will be available at $199/mo.

PRODUCT

AlgoVault

BETA — Q3 2025

AlgoVault is managed cloud infrastructure for retail algo traders. It provisions MT4/MT5-optimised VPS instances, handles terminal orchestration, configures directory junctions for copy trading, and enforces a security hardening baseline — removing the need for traders to manage server infrastructure themselves.

VPS Setup & Hardening

  1. Change default RDP port
    Navigate to regedit → HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp and change PortNumber from 3389 to a high random port (e.g. 47821). Update Windows Firewall rule accordingly.
  2. Whitelist your IP in firewall
    Create an inbound rule in Windows Firewall that allows RDP only from your static IP. This blocks 99% of automated brute-force attempts.
  3. Enable brute-force lockout
    Via gpedit.msc → Account Lockout Policy, set lockout threshold to 5 attempts, lockout duration 30 minutes. Prevents credential stuffing.
  4. Scan USB-sourced files
    Autorun via removable media is a common EA distribution attack vector (see Backdoor.PlugX.Autorun). Disable autorun in Group Policy and scan all files before execution.
Known threat: Backdoor.PlugX.Autorun spreads via USB and uses DLL side-loading (often disguised as hikservice in System32). If you suspect infection, disable the service via sc stop hikservice, rotate all credentials, and perform a clean Windows reinstall. Do not trust files from unknown EA vendors.

PRODUCT

FlowDesk

Q4 2025

FlowDesk is a no-code workflow automation builder for trading teams and fintech companies. It is designed to replace manual processes around compliance reporting, client onboarding, lead follow-up, and content distribution — without requiring any engineering resource.

Phase 1 launches as a service delivering pre-built automation systems for trading brands, coaches, and fintech startups. Phase 2 converts those systems into a self-serve SaaS product.

Early access: If you're a broker, prop firm, or trading educator with automation needs before the product launches, contact contact@eafxhub.com for service-tier onboarding.

PRODUCT

TraderMark Studio

OPEN — NOW

TraderMark Studio is an AI brand and media studio built exclusively for fintech and trading companies. Unlike general brand agencies, TraderMark can validate the trading logic behind a brand's claims — which means copy, visuals, and campaign strategies that are credible to a sophisticated trading audience.

Service tiers

TierDeliverablesPrice
Brand KitLogo system, colour palette, typography, social templatesFrom $2,000
Launch PackageBrand kit + landing page + 30 social assets + DM scriptsFrom $5,000
RetainerMonthly content pipeline — Reels, posts, ads, email$1,500 / mo
AI AvatarAI humanoid mascot generation, animation-ready assetsFrom $3,500
Productised kitNotion-based brand kit for self-service use$299 one-time

CONFIGURATION

Preset Library

EA FX HUB ships with 21+ validated .set files covering three prop firm account tiers, five currency pairs, and three risk levels. Load any preset via the EA Inputs → Load button — no manual parameter entry required.

Naming convention

EAFXHUB_[BROKER]_[PAIR]_[ACCOUNT_SIZE]_[RISK].set

Examples:
EAFXHUB_MONAXA_XAUUSD_10K_CONSERVATIVE.set
EAFXHUB_FTMO_EURUSD_50K_STANDARD.set
EAFXHUB_PUPRIME_GBPUSD_100K_AGGRESSIVE.set
NAMING

Lot Distribution System

When UseLotDistribution = true, each channel is allocated a weighted percentage of the total calculated lot size. This prevents any single channel from over-trading and ensures capital is distributed proportionally to each strategy's historical edge.

ChannelStrategyWeightRationale
Ch-AMA + Fib44%Highest historical win rate in trending conditions — primary driver
Ch-DAsian Range Breakout28%Session-specific edge with clean entry/exit — strong secondary
Ch-CRSI × RSI-MA17%Momentum confirmation — reduces false breakouts
Ch-BOscillator divergence11%Counter-trend hedge — smallest allocation, tightest risk

INTEGRATIONS

IB / CPA Channels

EA FX HUB operates active Introducing Broker and Cost-Per-Acquisition relationships with the following brokers. Each relationship provides dedicated support, custom IB links, and in some cases co-branded materials for partner-facing deployment.

Broker Compatibility

BrokerRelationshipCompatible EAsNotes
TMGMIB ActiveAll V5.0 channels12 presets available. Recommended for standard live accounts.
PU PrimeCPA ActiveCh-A, Ch-C, Ch-DCh-B (oscillator) requires reduced lot due to FTMO spread policy.
ON FinIB ActiveAll V5.0 channelsCustom news filter module v2 built for PU Prime leverage events.
PU PrimeIB ActiveAll V5.0 channelsInstant execution — ideal for Asian Range Breakout (Ch-D).
MonaxaUnder ReviewCh-A, Ch-CRegulatory review in progress. ASIC-regulated. See docs for status.
Prop firm EA restrictions: FTMO and most challenge-based prop firms prohibit EAs that use grid, martingale, or tick-scalping logic. EA FX HUB V5.0 is compatible — it uses single-position logic per channel with fixed SL/TP. Always verify with your prop firm before deploying.

REFERENCE

API Reference

BETA

The SignalOS REST API enables external systems to push signals into the routing engine, query account state, and manage copy trading subscribers programmatically. Authentication uses API key passed in the request header.

Authentication

# All requests require this header
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
HTTP HEADER

Endpoints

MethodEndpointDescription
POST/v1/signalsPush an external signal into the routing engine
GET/v1/signals/statusGet current signal state and last fired channel
GET/v1/accountsList all connected subscriber accounts
POST/v1/accounts/{id}/overrideUpdate PresetParams for a specific account
GET/v1/accounts/{id}/drawdownFetch live drawdown state for an account
POST/v1/news/blockManually trigger a news blackout window
DELETE/v1/news/blockClear an active manual news blackout

POST /v1/signals — example

// Request body
{
  "symbol": "XAUUSD",
  "direction": "BUY",
  "source": "EXTERNAL_WEBHOOK",
  "strength": 0.85,
  "expiry_seconds": 300
}

// 200 Response
{
  "routed": true,
  "accounts_reached": 12,
  "blocked_reason": null,
  "latency_ms": 18
}

// 200 Response (blocked by news filter)
{
  "routed": false,
  "accounts_reached": 0,
  "blocked_reason": "NEWS_BLACKOUT",
  "next_clear_utc": "2025-04-15T14:45:00Z"
}
JSON

REFERENCE

Changelog

V5.0 — Current

New in V5.0: Per-session Channel D fire flags (g_chD_tokyoFired, g_chD_overlapFired) replacing the single daily flag — enables independent trading of both the Tokyo-to-London and London-to-New York sessions. Comprehensive [SIG:<Channel>]-tagged signal tracing throughout all four channels. LogSig refactored from #define macro to a proper void function to fix compiler context issues. Midnight-crossing session date bug in ChD_CalculateAsianRange() resolved.

V4.4

Merged standalone Asian Range Breakout EA as Channel D into the 4-channel architecture. Introduced distributed lot sizing system (Ch-A 44%, Ch-D 28%, Ch-C 17%, Ch-B 11%) activated via UseLotDistribution=true with SIG_ANY_CHANNEL mode.

V4.3

Merged RSI×RSI-MA crossover strategy as Channel C. Signal independence enforced via dedicated indicator handles. GTS dark dashboard theme migrated — deep navy, teal title bar, coloured section headers using #define colour constants.

V4.0 — V4.2

CopyMaster/CopySlave infrastructure built using Windows directory junctions for inter-terminal file sharing with atomic writes. PU Prime news filter module v2 — MQL5 Calendar auto-read with symbol-aware kill logic and dynamic leverage event window handling. PresetParams struct architecture established as the foundation for multi-instrument, multi-broker deployment.


REFERENCE

FAQ

Is EA FX HUB compatible with my prop firm?

V5.0 is designed for prop firm use. It uses single-position-per-channel logic, fixed SL/TP, no martingale, no grid. It is compatible with FTMO, Monaxa, PU Prime, and most challenge-based firms. Always verify your specific firm's EA policy — some firms restrict any automated trading. Check the broker compatibility table for specific notes.

Can I run multiple prop firm accounts on the same VPS?

Yes. Each account runs in its own MT4/MT5 terminal instance. Use separate .set files with per-account MaxDailyDD_Pct and MaxStaticDD_Pct values. The copy trading layer can link all accounts to a single master signal source while each account enforces its own risk rules independently.

Why is Channel D not firing?

Check three things: (1) AsianRangeMinPips — if the Asian session range was smaller than this threshold, Ch-D skips the session. (2) The session fire flags — if g_chD_tokyoFired is already true, Ch-D won't fire again until the flag resets at the next session boundary. (3) Midnight-crossing dates — if your server UTC offset causes the session date to roll mid-Asian-range, the range calculation resets. Set ServerUTC to your broker's exact UTC offset.

How do I receive support?

Primary support is via the Telegram channel. For technical issues, include your EA version, broker, account tier, and a screenshot of the dashboard showing the active channel states. Enterprise and prop firm support is available via contact@eafxhub.com.

What is the AWS Activate application about?

EA FX HUB is applying for $100,000 in AWS Activate credits to fund the cloud infrastructure for SignalOS and AlgoVault — specifically the MT4/MT5 container fleet, SageMaker market regime ML model, and real-time Kinesis signal streaming. This infrastructure is what transitions EA FX HUB from a VPS-based EA into a fully hosted SaaS platform. See the AWS section on the landing page for the full breakdown.