HomeSample Page

Sample Page Title


AQUILA GOLD EA – HOW TO SET UP

INFO

Working Specs:

Core Options:


STEP 1 – INSTALLATION

For MT5:

  1. Buy Aquila Gold EA from the MQL5 Market
  2. The EA installs mechanically into your MetaTrader 5 terminal
  3. Open the Navigator panel (Ctrl+N)
  4. Discover “Aquila Gold EA” underneath Skilled Advisors > Market
  5. Drag it onto an XAUUSD H1 chart

For MT4:

  1. Buy Aquila Gold EA from the MQL5 Market
  2. The EA installs mechanically into your MetaTrader 4 terminal
  3. Open the Navigator panel (Ctrl+N)
  4. Discover “Aquila Gold EA” underneath Skilled Advisors > Market
  5. Drag it onto an XAUUSD H1 chart

Vital: Allow WebRequest for Information Filter

The Information Filter requires web entry to fetch the financial calendar.

MT4: Go to Instruments > Choices > Skilled Advisors > Test “Permit WebRequest for listed URL” and add:

https://nfs.faireconomy.media

MT5: Go to Instruments > Choices > Skilled Advisors > Test “Permit WebRequest for listed URL” and add:

https://nfs.faireconomy.media

Additionally be sure “Permit algorithmic buying and selling” is enabled.


STEP 2 – ENTRY LOGIC (MA BREAKOUT + RSI)

Aquila Gold EA enters trades when worth breaks out of a twin SMA channel, optionally confirmed by RSI. Each situations should be met concurrently on a closed bar.

SMA Channel Breakout

The EA maintains two easy shifting averages on the configured timeframe:

ParameterDefaultDescription
InpMA_Period_High14SMA interval utilized to Excessive costs
InpMA_Period_Low14SMA interval utilized to Low costs
InpMA_TFH1Timeframe for MA calculation
InpBreakoutDistance100Breakout distance in factors

The EA makes use of confirmed (closed) bar knowledge to forestall false alerts and requires a contemporary breakout from a previous non-breakout state to keep away from re-entry into present strikes.

RSI Momentum Filter

ParameterDefaultDescription
InpUseRSItrueAllow/disable RSI filter
InpRSI_Period14RSI calculation interval
InpRSI_Overbought70Blocks BUY entries when RSI above this stage
InpRSI_Oversold30Blocks SELL entries when RSI under this stage

Set  InpUseRSI = false  to commerce pure breakouts with out RSI affirmation (not advisable – will increase false sign charge).


STEP 3 – MARTINGALE RECOVERY

When a commerce strikes in opposition to the place, the EA opens further orders at progressively wider distances to common down the entry worth. The complete sequence is closed on weighted-average take revenue.

Core Martingale Settings

ParameterDefaultDescription
InpUseMartingaletrueAllow martingale restoration
InpLotMultiplier2.0Lot multiplier per restoration stage
InpMaxMartLevels10Most restoration ranges per sequence
InpMaxLots100.0Exhausting cap on per-order lot dimension

Lot Development Instance (InpInitialLots = 0.01, InpLotMultiplier = 2.0)

StageCalculationLot Dimension
1 (preliminary)0.01 × 2^00.01
20.01 × 2^10.02
30.01 × 2^20.04
40.01 × 2^30.08
50.01 × 2^40.16
60.01 × 2^50.32
70.01 × 2^60.64
80.01 × 2^71.28
90.01 × 2^82.56
100.01 × 2^95.12

All tons are rounded to dealer’s lot step and capped by  InpMaxLots .

Conservative different: Set  InpLotMultiplier = 1.5  for a gentler development – stage 10 turns into 0.38 lot as an alternative of 5.12 lot.


STEP 4 – GRID DISTANCE TIERS

In contrast to fixed-distance grids, Aquila Gold makes use of 7 individually configurable distance tiers. Every martingale correction might be positioned at a unique distance from the earlier entry, letting you widen the grid progressively to sluggish capital dedication throughout deep drawdowns.

ParameterDefaultDescription
InpCorrDist1100Distance to stage 1 correction (factors)
InpCorrDist2200Distance to stage 2 correction (factors)
InpCorrDist3300Distance to stage 3 correction (factors)
InpCorrDist4400Distance to stage 4 correction (factors)
InpCorrDist5500Distance to stage 5 correction (factors)
InpCorrDist6600Distance to stage 6 correction (factors)
InpCorrDist7700Distance to stage 7 correction (factors)

How It Works

After the preliminary order opens, the EA waits for worth to maneuver in opposition to it by  InpCorrDist1  factors, then opens the extent 1 correction. After stage 1, it waits one other  InpCorrDist2  factors for stage 2, and so forth.

Default grid footprint (from preliminary entry):

Correction StageCumulative Distance
Stage 1100 pts
Stage 2300 pts
Stage 3600 pts
Stage 41000 pts
Stage 51500 pts
Stage 62100 pts
Stage 72800 pts

Tuning for volatility: Widen all distances proportionally for high-volatility situations (e.g., double them throughout NFP week). Slender them for ranging markets. The widening sample (every stage bigger than the earlier) is the important thing design precept – maintain it monotonic.

Be aware: Corrections past stage 7 (ranges 8-10) reuse  InpCorrDist7  because the spacing.


STEP 5 – TAKE PROFIT (WEIGHTED AVERAGE)

Aquila Gold makes use of two take revenue modes that function at totally different factors within the cycle.

Single-Order TP

ParameterDefaultDescription
InpTakeProfit100Take revenue in factors (utilized to the preliminary order when no grid is energetic)

When solely the preliminary order is open (no corrections), the EA targets this fastened distance from the entry worth.

Weighted-Common Martingale TP

ParameterDefaultDescription
InpMartingaleTP10Martingale TP distance from the weighted common entry worth (factors)

As soon as a martingale sequence is energetic (a number of corrections added), the EA calculates the volume-weighted common entry worth throughout all orders within the sequence, then closes the complete sequence when worth reaches  weighted common + InpMartingaleTP  (purchase) or  weighted common – InpMartingaleTP  (promote).

Why that is environment friendly: As lot sizes develop exponentially by means of the martingale ranges, the weighted common shifts closely towards the latest (largest) orders. A small retracement from the deepest correction is sufficient to shut the entire sequence in revenue – no want for worth to reverse to the unique entry stage.


STEP 6 – RISK MANAGEMENT

ParameterDefaultDescription
InpMaxDDPercent50.0Max fairness drawdown % earlier than emergency shut (0 = disabled)
InpDailyLossPercent0.0Max every day loss % earlier than buying and selling stops (0 = disabled)
InpCloseOnDDtrueShut all positions when Max DD is hit
InpMaxOrders20Exhausting cap on whole open orders (purchase + promote)
InpMaxSpread50Blocks new entries when unfold exceeds this (factors)
ProfileMax DDDay by day LossMax OrdersLot Multiplier
Conservative30%5%101.5
Balanced (default)50%0% (disabled)202.0
Aggressive70%0%202.0

Vital: Setting  InpMaxDDPercent = 0  disables the drawdown safeguard totally. All the time set a non-zero worth on dwell accounts.


STEP 7 – TIME FILTER

Non-compulsory hour-based buying and selling window to limit entries to particular classes.

ParameterDefaultDescription
InpUseTimeFilterfalseAllow hour-based buying and selling window
InpStartHour2Buying and selling begin hour (server time, 0-23)
InpEndHour22Buying and selling finish hour (server time, 0-23)

When enabled, the EA solely opens new preliminary entries throughout the window. Current martingale sequence proceed to handle corrections and exits whatever the hour – the filter solely impacts contemporary cycle begins.

Use case: Keep away from Asian session liquidity lows on gold by setting Begin = 7 and Finish = 21 (server time).


STEP 8 – NEWS FILTER CONFIGURATION

Activation

Set InpUseNewsFilter = true to allow dwell financial calendar filtering.

How It Works

  1. The EA fetches the weekly financial calendar from the FairEconomy API each few hours
  2. It filters occasions by foreign money and influence stage
  3. Buying and selling pauses earlier than and resumes after every matching occasion
  4. If the API is unavailable, a built-in fallback detects main occasions (NFP, FOMC, CPI, GDP, ECB Charge)

Timing

ParameterDefaultDescription
InpNewsBeforeMins50Cease buying and selling X minutes earlier than occasion
InpNewsAfterMins30Resume buying and selling X minutes after occasion
InpNewsCurrencies“USD”Comma-separated currencies to filter (e.g., “USD,EUR,GBP”)

Impression Ranges

ParameterDefaultDescription
InpHighImpacttrueFilter high-impact occasions (NFP, FOMC, CPI)
InpMedImpactfalseFilter medium-impact occasions
InpLowImpactfalseFilter low-impact occasions

Information Show on Chart

ParameterDefaultDescription
InpShowNewsLinestruePresent vertical strains at occasion occasions
InpShowNewsTexttruePresent occasion identify textual content labels
InpNewsDisplayCount5Variety of upcoming occasions to show
InpClrHighNewsclrRedExcessive influence line/textual content colour
InpClrMedNewsclrOrangeMedium influence line/textual content colour
InpClrLowNewsclrYellowLow influence line/textual content colour

WebRequest Setup (REQUIRED)

You MUST add the information URL to your platform’s allowed checklist:

MT4/MT5: Instruments > Choices > Skilled Advisors > Permit WebRequest for listed URL > Add:

https://nfs.faireconomy.media

With out this step, the information filter will use solely the built-in fallback calendar protecting NFP, FOMC, CPI, GDP, and ECB Charge choices.

Gold-specific observe: As a result of XAUUSD is very delicate to USD-denominated information, the default foreign money filter is  USD . Add different currencies solely if you need wider pauses.


STEP 9 – GENERAL SETTINGS

ParameterDefaultDescription
InpInitialLots0.01Preliminary lot dimension for the primary order in a cycle
InpTakeProfit100Fastened TP for the preliminary order (factors)
InpMartingaleTP10Martingale sequence TP from weighted common (factors)
InpMaxSpread50Max unfold filter (factors)
InpMaxOrders20Exhausting cap on whole open orders
InpMagicNumber20250407Distinctive EA identifier for order administration
InpEAComment“AquilaGold”Remark textual content hooked up to all orders

Vital: If operating a number of situations of Aquila Gold on the identical account (e.g., one on XAUUSD and one on GOLD.m), every occasion MUST have a novel Magic Quantity to forestall order conflicts.


DASHBOARD

As soon as operating, the EA shows a real-time information panel in your chart displaying:

Interactive Management Buttons

The panel consists of 5 clickable buttons for one-click order administration:

ButtonMotion
Commerce ON / Commerce OFFToggles new entries on/off. Current positions proceed to be managed.
Shut AllInstantly closes each place managed by this EA occasion (by Magic Quantity).
Shut PurchaseCloses all purchase positions (complete purchase sequence).
Shut PromoteCloses all promote positions (complete promote sequence).
Del PendingDeletes all pending orders for this EA occasion.

Panel Customization

ParameterDefaultDescription
InpDrawPaneltrueAllow/disable panel show
InpPanelX10Panel X place (pixels from top-left)
InpPanelY25Panel Y place (pixels from top-left)
InpPanelBgColordarkish navyPanel background colour
InpPanelBorderColordarkish greyPanel border colour
InpPanelTextColormild greyPanel textual content colour
InpPanelHeaderColorsky bluePanel header colour
InpFontConsolasPanel font identify
InpFontSize9Panel font dimension

Set  InpDrawPanel = false  to cover the panel (reduces CPU utilization on VPS).


If you’re new to Aquila Gold EA, use these conservative settings:

  1. InpInitialLots = 0.01 (begin small – martingale grows shortly)
  2. InpLotMultiplier = 1.5 (gentler than the default 2.0)
  3. InpMaxMartLevels = 5 (cap grid depth till you perceive the habits)
  4. InpMaxDDPercent = 30.0 (tight drawdown security internet)
  5. InpUseRSI = true (maintain the RSI filter on – reduces false alerts)
  6. InpUseNewsFilter = true (important for gold on high-impact USD occasions)
  7. Begin on Demo (take a look at for at the least 2-4 weeks earlier than going dwell)

IMPORTANT NOTES

  1. Gold solely: Aquila Gold is designed solely for XAUUSD / GOLD. Don’t run it on foreign exchange pairs – the breakout distance, grid tiers, and TP distances are all calibrated for gold’s level worth and volatility.

  2. H1 timeframe: The EA is designed for H1. Operating it on decrease timeframes will produce way more alerts and dramatically change the danger profile – not advisable with out re-tuning each parameter.

  3. Martingale Threat: Grid restoration with martingale will increase publicity exponentially. At default settings (2.0x multiplier, 10 ranges), stage 10 is 512x the preliminary lot dimension. All the time take a look at on demo first and use  InpMaxLots  +  InpMaxMartLevels  +  InpMaxDDPercent  to cap danger.

  4. Hedging vs Netting (MT5): On MT5 netting accounts, just one route might be open at a time – the EA will solely handle one sequence per cycle. Hedging accounts are most popular.

  5. Dealer: Select an ECN dealer with tight gold spreads (underneath 50 factors). Broad spreads will set off the MaxSpread filter and stop buying and selling, and can eat into the small Martingale TP distance.

  6. VPS: For greatest outcomes, run on a VPS situated near your dealer’s server. H1 operation tolerates transient disconnections higher than M1 scalpers, however grid administration requires the EA to be operating when corrections set off.

  7. WebRequest: The information filter REQUIRES the WebRequest URL to be added in platform settings. With out it, solely the pattern-based fallback works (NFP, FOMC, CPI, GDP, ECB solely).

  8. Distinctive Magic Numbers: A number of Aquila Gold situations on the identical account (e.g., XAUUSD + GOLD.m symbols) should every have a novel  InpMagicNumber  to forestall order conflicts.


Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles