XauCloud Apex enters positions based on price impulse, liquidity sweeps, candle rejections, and micro break-of-structure confirmation. The EA features profit-side position layering across tiered margin allocations and manages open trades with a fixed price stop loss, master break-even triggers, basket profit ratcheting, and recovery exits. Additionally, it integrates with an external web control plane to handle license authentication, configuration synchronization, and telemetry reporting via WebRequest infrastructure.
Impulse, sweep, and rejection reversal entry logic
Profit-side pyramiding across tiered margin layers
Master break-even and profit ratchet controls
Fixed gold price stop loss and recovery exit mechanism
Remote WebRequest telemetry and control plane sync
bounded transport budget per request (APEX-AUDIT-002)
InpCloudTickBudgetMs
int
1200
max WebRequest time this timer tick; Manage() always runs first
InpCloudDiagnostics
bool
true
InpScanMilliseconds
int
250
InpRequireRemoteArm
bool
true
InpMagic
long
APEX_MAGIC
InpAstraBridge
bool
true
Dashboard owns enable/key/model; no OpenAI credential in MT5
InpAstraBackendURL
string
https://apex.xaucloud.io
InpAstraTransportTimeoutMs
int
600
One bounded bridge operation after protections
Show all 40 inputs
Name
Type
Default
Description
InpAstraExportContexts
bool
false
Strategy Tester only: causal NDJSON export, no provider calls
InpAstraTesterBrokerUTCOffsetMinutes
int
0
Export only: historical broker time offset, set explicitly
InpTesterAccountProfile
string
NORMAL
Strategy Tester only: NORMAL|UNLIMITED. Live profile always comes from the dashboard
InpNormalMarginPct
double
15.0
NORMAL L1 confirmation/probe margin %
InpNormalL2MarginPct
double
50.0
NORMAL L2 confirmed-add margin %
InpNormalL3PlusMarginPct
double
100.0
NORMAL L3+ use up to this % of available margin
InpNormalReferenceLeverage
long
0
NORMAL fallback economic leverage (0=AUTO; used ONLY when the broker margin model is untrustworthy)
InpNormalTakeProfitPct
double
0.0
NORMAL hard basket TP %; 0 = disabled
InpNormalFixedSLGoldMove
double
30.0
L1 fixed XAU price SL distance; 0 = no broker SL
InpProfitRatchetEnabled
bool
true
Protect basket profit after it reaches trigger
InpRatchetTriggerPct
double
180.0
InpRatchetLockPct
double
100.0
InpRatchetStepPct
double
100.0
InpRatchetLockStepPct
double
100.0
InpMasterBreakEvenEnabled
bool
true
InpMasterBreakEvenTriggerPct
double
50.0
InpRecoveryExitEnabled
bool
true
InpRecoveryExitArmPctOfSL
double
40.0
InpRejectReclaimedExtreme
bool
true
Refuse to submit once the live quote has reclaimed the setup's rejected extreme
InpRequireFreshTrigger
bool
true
The confirming bar must still be the latest closed M1 bar at submission
InpEntryExtensionMode
ApexGateMode
GATE_SHADOW
trigger->fill distance gate
InpMaxEntryExtensionAtr
double
1.50
...in ATR. Only used when the mode is GATE_ENFORCE.
InpMaxQuoteAgeMs
int
0
0 = disabled. >0 rejects a quote older than this at submission.
InpBosMode
ApexBosMode
BOS_V371_CLOSE_OR_WICK
InpMaxAddsPerTrigger
int
1
InpAddRequireM3
bool
false
OWNER DECISION: apply the M3 colour filter to continuation adds too
InpRequireFreshM3
bool
false
InpMaxBasketLots
double
0.0
0 = unlimited total basket volume (v3.7.1 behaviour)
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone Lamarrsdrip/XauCloud-Apex from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts, and any .mqh files into the Include folder the code expects.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.
This repository features a collection of MetaTrader 5 expert advisors implementing various technical strategies such as time-range breakouts, order blocks, and candle pattern recognition. The primary time-range EA identifies price extremes within a user-defined window to trigger entries on breakouts. It includes risk m
This MetaTrader 5 repository provides a collection of Expert Advisors and testing utilities organized by market, including Gold, Nasdaq, and Forex pairs. The repository contains various strategies such as daily high and low breakouts, intraday time-series momentum studies, moving average crossovers, Fibonacci break-of-
This collection of MetaTrader 5 expert advisors focuses on mean-reversion and breakout strategies for gold (XAUUSD) on the M1 timeframe. The primary logic identifies statistical extremes using Z-Score calculations to trade price snap-backs. It includes a TickRobust variant designed to filter execution noise and a dual-
This collection of Expert Advisors for MetaTrader 5 provides specific automated strategies for Gold, Bitcoin, EURUSD, and Nasdaq. The repository includes modules for ATR breakouts, Bollinger Band mean reversion, and opening range breakouts. Risk management is handled through a three-stage take profit system, automated
This collection provides MetaTrader 5 Expert Advisors sourced from MQL5 programming documentation. The primary tool, Unity Martingale, implements a multi-currency reversal strategy using breakout or pullback signals. It employs a martingale lot-scaling system that increases positions after losses based on a user-define
This repository is a collection of MetaTrader 5 expert advisors developed as early coding projects between 2021 and 2024. It includes multiple robots implementing varied strategies such as range breakouts, Donchian channels, Fibonacci retracements, and Bollinger Bands. The expert advisors are largely technical indicato