GOLDcuan
- Experts
- Version: 2.1
- Activations: 5
Gold Cuan is an automated Expert Advisor for MetaTrader 5 designed primarily for XAUUSD trading.
The EA combines fast EMA trend detection, controlled position layering, basket trailing, spread filtering, and margin-level protection into one automated trading system.
Core Strategy
Gold Cuan uses two exponential moving averages to identify the current market direction.
By default:
-
Fast EMA: 3
-
Slow EMA: 5
When the fast EMA confirms the direction relative to the slow EMA, the EA can open an initial Buy or Sell position.
If the market temporarily moves against the open position, the EA can add a limited number of additional layers according to the configured Layer Distance.
When the detected trend changes, the EA closes its positions before preparing for a new trading direction.
Key Features
-
Automated Buy and Sell trading
-
EMA-based trend detection
-
Controlled position layering
-
Configurable maximum number of layers
-
Configurable layer distance
-
Basket trailing management
-
Single-position trailing protection
-
Spread filter
-
Re-entry delay
-
Magic Number support
-
Free-margin validation before opening trades
-
Broker volume-step normalization
-
Margin-level emergency protection
-
Designed primarily for XAUUSD
Default Parameters
Trend
-
Fast EMA: 3
-
Slow EMA: 5
Position Management
-
Maximum Layers: 3
-
Layer Distance: 500 points
-
Re-entry Delay: 10 seconds
Trading Filter
-
Maximum Spread: 300 points
Trailing
-
Trailing Start: 500 points
-
Trailing Step: 50 points
Safety
-
Minimum Margin Level: 200%
-
Magic Number: 20260823
Position Sizing
The default layer structure is intentionally limited:
-
Layer 1: 0.01 lot
-
Layer 2: 0.01 lot
-
Layer 3: 0.05 lot
With the default settings, the maximum planned exposure is 0.07 lots across three layers, subject to broker volume restrictions and successful order execution.
The EA automatically normalizes trade volume according to the broker's minimum lot, maximum lot, and volume step.
Intelligent Trade Management
Gold Cuan does not simply open trades and leave them unmanaged.
The EA continuously monitors:
-
Current trend
-
Number of active positions
-
Price distance from the latest layer
-
Basket performance
-
Spread conditions
-
Available margin
-
Account margin level
For multiple positions, the EA calculates a volume-weighted basket performance and uses a trailing mechanism to protect accumulated profit.
For a single position, the EA uses a separate trailing mechanism based on the position's movement in points.
Margin Protection
Gold Cuan includes an emergency margin-level circuit breaker.
When the account's margin level falls below the configured minimum, the EA attempts to close all positions belonging to the EA before a potential broker stop-out condition is reached.
This feature is intended as an additional safety mechanism and should not be considered a replacement for proper risk management.
Recommended Usage
Gold Cuan is primarily designed for XAUUSD and should be tested with the same broker, account type, leverage, and symbol specifications that will be used for live trading.
Before using the EA on a live account:
-
Run a Strategy Tester backtest.
-
Perform forward testing on a demo account.
-
Check spread and execution conditions.
-
Test different market conditions.
-
Use an appropriate account balance and leverage.
-
Never risk more than you can afford to lose.
Important Risk Disclaimer
Gold Cuan is an automated trading system and does not guarantee profits.
Trading XAUUSD involves significant market risk. Layering can increase exposure when the market moves against an existing position. Slippage, spread expansion, execution delays, gaps, and extreme market conditions may affect trading results.
Backtest and historical performance do not guarantee future results.
Use the EA responsibly and perform your own testing before deploying it on a live account.
