Auric Nocturne X EA
- Эксперты
-
Hicham Mahmoud Almoustafa
I am an algorithmic trading enthusiast focused on developing and testing Expert Advisors for MetaTrader 5.
My main area of interest is automated gold trading, including trend-following systems, momentum analysis, tick-volume confirmation, basket management, and risk-control mechanisms. - Версия: 1.16
- Активации: 10
Overview
Auric Nocturne X EA is an automated trading system developed for XAUUSD on MetaTrader 5. It combines multi-timeframe market structure, adaptive support and resistance analysis, momentum confirmation, basket management, automatic lot scaling and account-protection tools.
The Expert Advisor is designed to open selective first entries and manage the complete trade basket as one position group. All recovery entries in the same basket use the same unit lot, helping to keep money management consistent.
Main Advantages
- Multi-timeframe analysis — Uses lower timeframes for entry timing and higher timeframes for market structure and support/resistance confirmation.
- Adaptive support and resistance — Detects important price areas and can display them as compact lines, thin zones or full zones.
- Three automatic lot modes — Equity Percentage, Balance Scaling and Balanced.
- Automatic profit scaling — Basket profit targets and trailing values can follow the actual basket lot size.
- Basket-based management — Trades are managed together using a basket profit target, optional trailing and cumulative loss protection.
- Controlled recovery logic — Recovery entries are limited and protected by reversal, volatility and margin checks.
- Smart stop-out protection — The EA can reduce one basket unit before closing the complete basket.
- Pre-trade margin protection — Every new order can be checked for projected margin level and remaining free margin.
- Daily basket limit — Controls how many new baskets may open during one broker day.
- Broker-compatible lot handling — Lot sizes are normalized automatically to the broker’s minimum, maximum and volume step.
- Netting and hedging support
- Clean chart display — Support and resistance drawings can be hidden without disabling the internal filter.
- No external indicators or DLLs required
How the EA Works
The EA analyzes market direction, momentum, volatility and important support/resistance areas before opening the first trade.
When a basket is active, it is managed using:
- Controlled recovery entries
- Basket profit targets
- Optional basket trailing
- Cumulative loss protection
- Pre-trade margin checks
- Smart stop-out protection
The internal strategy calibration is protected and is not exposed in the Inputs panel. Users retain access to the settings needed for money management, basket limits, margin protection and chart appearance.
Recommended Use
- Platform: MetaTrader 5
- Main symbol: XAUUSD or the broker’s equivalent gold symbol
- Recommended chart timeframe: M1
- Strategy Tester model: Every tick based on real ticks
- Use realistic spread, commission and leverage conditions
- Test on a demo account before live trading
- Use a unique Magic Number for each chart or configuration
General Settings
MagicNumber
Unique identifier used to separate this EA’s trades from other Expert Advisors or manual positions.
DrawSupportResistanceZones
Shows or hides support and resistance drawings. The internal support/resistance filter continues working when chart drawing is disabled.
Automatic Volume Management
UseAutomaticLotScaling
Enables automatic lot calculation. When disabled, the EA uses FixedGridLotSize .
AutomaticVolumeMode
Selects the automatic lot calculation method:
- Equity Percentage — Calculates volume from a percentage of current equity allocated as trade margin. This is a margin-allocation setting, not a stop-loss risk percentage.
- Balance Scaling — Scales the base lot according to current balance and ReferenceBalance .
- Balanced — Combines equity-based and balance-based calculations for a smoother result.
FixedGridLotSize
Fixed lot size when automatic scaling is disabled. It also acts as the base lot for balance scaling.
ReferenceBalance
Reference account balance used by the Balance Scaling formula.
EquityMarginAllocationPct
Percentage of current equity allocated as estimated margin for one basket entry.
BalanceScaleMultiplierPct
Additional multiplier applied to Balance Scaling.
MaximumAutomaticLot
Maximum lot size allowed by the EA’s automatic calculation. Broker limits are also respected.
Basket Profit Management
UseAutomaticProfitScaling
Scales the basket profit target and related money values according to the actual basket unit lot.
BasketTPTargetUSD
Base basket profit target in account currency. The value may be scaled automatically according to the active lot size.
UseTrailingAfterPartial
Enables basket profit trailing after the activation threshold is reached.
TrailingActivationPct
Percentage of the basket profit target required before trailing becomes active.
TrailingStepUSD
Distance in account currency between the highest recorded basket profit and the trailing exit level.
Basket Risk Management
MaxGridTrades
Maximum number of logical entries allowed in one basket, including the first entry.
UseBasketLossPoints
Enables cumulative basket loss protection measured in points.
MaxBasketLossPoints
Maximum cumulative losing points allowed before the basket is closed.
UseDailyBasketLimit
Enables a limit on the number of new baskets opened during one broker day.
MaxBasketsPerDay
Maximum number of new baskets allowed per broker day. Recovery entries inside an existing basket are not counted as new baskets.
Margin and Stop-Out Protection
UsePreTradeMarginCheck
Checks whether sufficient margin is available before sending a new order.
MinProjectedMarginLevelPct
Minimum estimated margin level required after opening the proposed trade.
MinFreeMarginAfterTradePct
Minimum percentage of equity that should remain available as free margin after a new trade.
UseEmergencyStopOutProtection
Enables smart last-resort protection before broker stop out. The EA can reduce one basket unit first and close the complete basket only when required.
Chart Display
SRDrawStyle
Selects how support and resistance are displayed:
- Compact Lines — Clean horizontal lines with minimal chart obstruction.
- Thin Zones — Narrow visual price areas.
- Full Zones — Full calculated support and resistance areas.
DrawSRZoneLabels
Shows or hides compact labels containing level information.
SRMaxZonesPerSide
Maximum number of support levels and resistance levels displayed at the same time.
SRLineWidth
Width of support and resistance lines.
SRSupportZoneColor
Color used for support levels.
SRResistanceZoneColor
Color used for resistance levels.
SRRoleReversalZoneColor
Color used when support becomes resistance or resistance becomes support.
Important Risk Notice
Trading gold involves significant risk. Recovery and basket strategies can experience extended floating drawdown during strong one-directional market movements. Automatic lot scaling can increase both profit potential and risk as the account grows.
No Expert Advisor can guarantee profit or eliminate the possibility of loss. Historical results and backtests do not guarantee future performance. Always use suitable lot limits, realistic leverage and sufficient free margin. Test the EA carefully before using it on a live account.
