HomeSample Page

Sample Page Title


EMBER FUSE EA – HOW TO SET UP

INFO

Working Specs:

Core Options:


STEP 1 – INSTALLATION

For MT5:

  1. Buy Ember Fuse EA from the MQL5 Market
  2. The EA installs robotically into your MetaTrader 5 terminal
  3. Open the Navigator panel (Ctrl+N)
  4. Discover “Ember Fuse EA” beneath Knowledgeable Advisors > Market
  5. Drag it onto your required chart (any image, any timeframe)

For MT4:

  1. Buy Ember Fuse EA from the MQL5 Market
  2. The EA installs robotically into your MetaTrader 4 terminal
  3. Open the Navigator panel (Ctrl+N)
  4. Discover “Ember Fuse EA” beneath Knowledgeable Advisors > Market
  5. Drag it onto your required chart (any image, any timeframe)

Vital: Allow WebRequest for Information Filter

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

MT4: Go to Instruments > Choices > Knowledgeable Advisors > Examine “Enable WebRequest for listed URL” and add:

https://nfs.faireconomy.media

MT5: Go to Instruments > Choices > Knowledgeable Advisors > Examine “Enable WebRequest for listed URL” and add:

https://nfs.faireconomy.media

Additionally ensure that “Enable algorithmic buying and selling” is enabled.

Load a Preset

Within the EA Inputs tab, click on Load and choose a preset matching your instrument and threat profile (e.g.,  Ember_Fuse_XAUUSD_Safe.set ). Click on OK to start out.


STEP 2 – SIGNAL ENGINE (SUPERTREND)

Ember Fuse opens new collection solely when SuperTrend flips course on a confirmed (closed) bar.

As soon as a collection is open, additional grid orders are added based mostly on distance guidelines (not on sign adjustments). A brand new collection can solely begin after the present one totally closes until  Flag_Use_hedge = true .

SuperTrend Parameters

ParameterDefaultDescription
TFPresentTimeframe for SuperTrend calculation (PERIOD_CURRENT = chart TF)
ST_Period66SuperTrend interval
Deviation2.0Deviation multiplier utilized to the volatility measure
ST_MidPricePeriod10Mid-price smoothing interval
ST_CalcType0Volatility measure (0 = ATR, 1 = StdDev, 2 = StdError)

Tuning ideas:

Closing on Reverse Sign

ParameterDefaultDescription
flag_Close_ot_ObrfalseShut present basket when SuperTrend flips the other means

Allow this to power early basket shut on reverse alerts as a substitute of ready for the weighted-average TP. Provides responsiveness however forfeits grid restoration potential.


STEP 3 – MONEY MANAGEMENT

Autolot (Free-Margin Based mostly)

ParameterDefaultDescription
fA_MMfalseAllow autolot (lot measurement from free margin)
iAuLot1000Free margin required per 0.01 lot

When fA_MM = true, the EA calculates:

heaps = (FreeMargin / iAuLot) * 0.01

Guide (Mounted) Lot

Set fA_MM = false and use:

ParameterDefaultDescription
dVol0.01Beginning lot measurement for each new collection
dML500.0Most lot measurement per order (exhausting cap)

Martingale Grid Development

ParameterDefaultDescription
MM1.5Lot multiplier per grid degree

Grid order N makes use of  dVol * MM^(N-1) , capped by  dML .

Lot development instance (dVol = 0.01, MM = 1.5):

Grid DegreeCalculationLot Dimension
1 (preliminary)0.01 × 1.5^00.01
20.01 × 1.5^10.02
30.01 × 1.5^20.03
40.01 × 1.5^30.04
50.01 × 1.5^40.05
60.01 × 1.5^50.08
70.01 × 1.5^60.11
80.01 × 1.5^70.17
90.01 × 1.5^80.26
100.01 × 1.5^90.38

All heaps are rounded to the dealer’s lot step and capped by  dML .

Conservative different: Set  MM = 1.3  for gentler development. Aggressive:  MM = 2.0  (not advisable with out deep capital).


STEP 4 – GRID DISTANCES (DYNAMIC)

The grid makes use of a two-phase distance system: fastened spacing for the primary N orders, then dynamically widening distances for deeper ranges to sluggish capital dedication.

ParameterDefaultDescription
Fix_Distance200Mounted distance in factors for early grid orders
Order_dinamic_distance6Variety of orders earlier than switching to dynamic distance
Dynamic_distance_start200Beginning distance when dynamic mode prompts
Distance_multiplier1.2Multiplier utilized per subsequent dynamic order

How It Works

Utilizing the defaults:

Grid DegreePartDistance
Orders 1-6Mounted200 pts every
Order 7Dynamic (begin)200 pts
Order 8Dynamic200 × 1.2 = 240 pts
Order 9Dynamic240 × 1.2 = 288 pts
Order 10Dynamic288 × 1.2 = 346 pts
Order 11Dynamic346 × 1.2 = 415 pts
Order 12Dynamic415 × 1.2 = 498 pts

The dynamic section creates a widening grid that areas orders additional aside as drawdown deepens. Deeper grids devour margin extra slowly, giving value extra room to retrace earlier than the subsequent add.

Pause Between Orders

ParameterDefaultDescription
MinuteStop0Minimal minutes between grid orders (0 = disabled)

Set this to  5  or  10  to stop rapid-fire grid enlargement throughout spike strikes. The EA will nonetheless monitor distance triggers however waits till the cooldown has elapsed earlier than opening the subsequent order.


STEP 5 – TAKE PROFIT & STOP LOSS

Every of TP and SL may be set independently to Digital or Actual:

ModeThe way it works
DigitalEA manages exit ranges internally. Nothing positioned on dealer server. Requires EA to be working. Hides ranges from dealer.
ActualEA locations precise TP/SL on every order by way of OrderModify(). Seen to dealer. Works even when EA disconnects.

TP/SL Parameters

ParameterDefaultDescription
TPR0Actual take revenue in factors (0 = disabled)
TPV100Digital take revenue in factors (0 = disabled)
SLR0Actual cease loss in factors (0 = disabled)
SLV0Digital cease loss in factors (0 = disabled)

Default habits: Solely digital TP is energetic ( TP_V_ = 100 ). No cease loss. The EA depends on development continuation and DD Discount to shut dropping baskets.

How Digital TP Works (Basket Shut)

Digital TP is measured from the weighted common entry value throughout all open orders on one aspect. When value reaches:

…your entire basket is closed as a single group. Because the grid deepens, the weighted common shifts towards the deepest orders, so a small retracement from the bottom grid degree is sufficient to shut the entire basket in revenue.

Vital: If you happen to disable TPV (set to 0) with out setting TPR, the EA has no exit mechanism and depends totally on DD Discount and/or reverse-signal closing.


STEP 6 – TRAILING STOP

ParameterDefaultDescription
Flag_Real_TralfalseTrailing mode (false = Digital, true = Actual)
iTS0Path Begin – factors of revenue earlier than trailing prompts (0 = disabled)
iTD200Path Step – distance/step in factors

The way it works: As soon as the basket revenue exceeds  iTS  factors, the EA begins trailing. If value retraces by  iTD  factors from the height, the basket closes (Digital mode) or every order’s SL is modified (Actual mode).

Default: Trailing is disabled ( iTS = 0 ). When disabled, the EA exits solely by way of basket TP or reverse sign.


STEP 7 – DD REDUCTION ALGORITHM

The DD Discount algorithm pairs worthwhile and dropping orders to shrink the grid with out ready for a full basket retracement.

ParameterDefaultDescription
DiscounttrueAllow DD Discount algorithm
ReductionOrderNumber6Minimal open orders on one aspect earlier than DD Discount prompts
ReductionPercent1Revenue threshold (%) for pair shut

The way it works:

  1. DD Discount prompts when order depend on one aspect reaches  ReductionOrderNumber
  2. The EA identifies the most worthwhile order and the most dropping order on that aspect
  3. When their mixed revenue meets or exceeds  ReductionPercent  of the full heaps value, each are closed
  4. This course of repeats on each tick, step by step peeling order pairs from the grid edges

Profit: Reduces grid measurement and frees margin with out ready for value to reverse all the way in which again to the digital basket TP degree.

When to disable: If you happen to choose pure basket exits, set  Discount = false . The basket will then shut solely by way of TP, trailing, or reverse sign.


STEP 8 – TRADE FILTERS

Unfold Filter

ParameterDefaultDescription
iMaxS0Most unfold in factors (0 = disabled)

When enabled, new entries (together with grid additions) are blocked when unfold exceeds this worth. Important for XAUUSD and unique pairs throughout low-liquidity hours.

Buying and selling Hours

ParameterDefaultDescription
iStart_H0Buying and selling begin hour, server time (0-23)
iEnd_H0Buying and selling finish hour, server time (0-23)

Set  iStart_H = 0, iEnd_H = 0  to commerce 24 hours. Set  iStart_H = 7, iEnd_H = 17  to limit new entries to the London/NY overlap window. Grid additions and exits nonetheless run exterior the window – the filter solely impacts new collection.

Max Orders Cap

ParameterDefaultDescription
iMO100Exhausting cap on whole open orders throughout all sides

Mixed with  dML  (max lot per order), that is the first grid depth security ceiling.

Hedge Mode

ParameterDefaultDescription
Flag_Use_hedgetrueEnable simultaneous purchase and promote baskets

When  true , the EA can maintain purchase and promote grids on the similar time (sooner restoration in risky markets). When  false , just one course may be energetic at a time.

Word: On MT5 netting accounts, hedging just isn’t attainable on the platform degree. Use a hedging account if you’d like this characteristic.

Guide Order Help

ParameterDefaultDescription
fHOtrueEmbody manually positioned orders in grid administration

When enabled, orders you place manually on the identical chart (with out the EA’s magic quantity) are nonetheless included in basket averaging and DD Discount calculations. Helpful for supplementing the EA with discretionary entries.


STEP 9 – NEWS FILTER CONFIGURATION

How It Works

  1. The EA fetches the weekly financial calendar from the FairEconomy API at startup and each few hours
  2. It filters occasions by forex and impression degree
  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 Price)

Timing

ParameterDefaultDescription
closeBefore15Cease buying and selling X minutes earlier than occasion
startAfter30Resume buying and selling X minutes after occasion
currencies“AUD,CAD,EUR,GBP,JPY,NZD,USD”Comma-separated currencies to filter

Affect Ranges

ParameterDefaultDescription
highImpacttrueFilter high-impact occasions (NFP, FOMC, CPI)
medImpacttrueFilter medium-impact occasions
lowImpactfalseFilter low-impact occasions

To successfully disable the Information Filter: Set all three impression flags to  false , or set  currencies = “” . There isn’t any single on/off toggle – the filter is at all times working however will discover no matches.

Information Show on Chart

ParameterDefaultDescription
showNewsBoxtruePresent countdown field on chart
showBgtruePresent background field behind the information field
bgcolorBlackInformation field background shade
newsCount5Variety of upcoming occasions to show
showNewsLinestruePresent vertical traces at occasion instances
showTexttruePresent occasion title textual content labels
clrHighNewsclrRedExcessive-impact line/textual content shade
clrMedNewsclrOrangeMedium-impact line/textual content shade
clrLowNewsclrYellowLow-impact line/textual content shade

WebRequest Setup (REQUIRED)

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

MT4/MT5: Instruments > Choices > Knowledgeable Advisors > Enable WebRequest for listed URL > Add:

https://nfs.faireconomy.media

With out this step, the information filter will use solely the built-in fallback calendar.


STEP 10 – DASHBOARD

As soon as working, the EA shows a real-time dashboard in your chart exhibiting:

Interactive Management Buttons

The panel consists of 4 clickable buttons:

ButtonMotion
Purchase ON / Purchase OFFToggle buy-side buying and selling on/off. Current purchase orders proceed to be managed.
Promote ON / Promote OFFToggle sell-side buying and selling on/off. Current promote orders proceed to be managed.
New Collection: ON / OFFToggle new collection openings. When OFF, the EA manages present baskets however does NOT begin new ones on SuperTrend flips.
Shut AllInstantly closes each order managed by this EA occasion (by Magic Quantity).

Use case for “New Collection: OFF”: Earlier than a weekend or main information occasion, toggle New Collection OFF to let present baskets shut out naturally with out opening contemporary publicity.

Panel Customization

ParameterDefaultDescription
fDrawtrueAllow/disable panel show
X110Panel X place (pixels from top-left)
Y1100Panel Y place (pixels from top-left)
cCIPGainsboroPanel background shade
cCBDarkish GreyBorder shade
cCTDim GreyBorder textual content shade
cOpClButDarkish OrchidOpen/Shut button shade
cTrNSStr1InexperiencedButton ON shade (Commerce / New Collection)
cTrNSStr2PurpleButton OFF shade (Commerce / New Collection)
cTimeTerminalBlueTerminal time shade
FontArialPanel font title
FontSize10Panel font measurement
Font_MetkiVerdanaOutcome textual content font
Size_Metki14Outcome textual content font measurement
ColorText_MetkiWhiteOutcome textual content shade
Color_Fon_MetkiInexperiencedOutcome textual content background shade

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


PRESETS

6 pre-optimized preset recordsdata are included:

Preset FileInstrumentDangerNotable Settings
Ember_Fuse_FX_Safe.setFX pairsProtectedMM 1.3, Max 50 orders, Hours 7-17
Ember_Fuse_FX_Moderate.setFX pairsReasonableMM 1.65, Hedge ON, Hours 2-23
Ember_Fuse_FX_Aggressive.setFX pairsAggressiveMM 2.0, 24h buying and selling
Ember_Fuse_XAUUSD_Safe.setGoldProtectedMM 1.3, Max 50 orders, Hours 8-18
Ember_Fuse_XAUUSD_Moderate.setGoldReasonableMM 1.5, Hedge ON, Hours 5-11
Ember_Fuse_XAUUSD_Aggressive.setGoldAggressiveMM 1.8, 24h buying and selling

Deciding on a Preset

  1. Establish your instrument — FX pair or XAUUSD (Gold)
  2. Select threat profile:
    • Protected — Smallest martingale, tighter buying and selling hours, decrease grid depth. Greatest for first deployment.
    • Reasonable — Balanced progress with hedge mode on. Greatest after 2-4 weeks of Protected statement.
    • Aggressive — Highest martingale, 24h buying and selling. Requires deeper capital and better threat tolerance.
  3. Load it: EA Inputs tab → Click on Load → Choose the  .set  file → Click on OK

For Devices Not Lined (indices, crypto, unique FX)

Begin with the  Ember_Fuse_FX_Safe  preset as a base and manually regulate:


If you’re new to Ember Fuse EA, use these settings:

  1. Load a Protected preset matching your instrument ( Ember_Fuse_FX_Safe  or  Ember_Fuse_XAUUSD_Safe )
  2. dVol = 0.01 (smallest beginning lot)
  3. fA_MM = false (use fastened lot till you see the grid habits)
  4. iMO = 50 (hard-cap the grid throughout studying)
  5. Discount = true (let DD Discount assist shrink grids robotically)
  6. highImpact = true, medImpact = true (information filter energetic)
  7. Begin on Demo (take a look at for at the very least 2-4 weeks earlier than going reside)

IMPORTANT NOTES

  1. Presets matter: The 6 included presets include instrument-specific tuning for grid spacing, lot development, SuperTrend parameters, and buying and selling hours. All the time load a preset earlier than buying and selling – the default in-code values are generic baselines.

  2. Common image assist: Ember Fuse works on any instrument your dealer affords. For non-FX/non-Gold devices (indices, crypto), begin with the FX Protected preset and manually widen  Fix_Distance  and  Dynamic_distance_start  for greater volatility.

  3. Multi-instance: If working Ember Fuse on a number of charts, every occasion MUST have a novel  Magic  quantity to stop order conflicts.

  4. VPS: For finest outcomes, run on a VPS situated near your dealer’s server. Grid administration and digital TP require the EA to be working repeatedly.

  5. Dealer: Select an ECN dealer with tight spreads in your goal devices. Extensive spreads will set off the  iMaxS  filter and stop buying and selling, and can eat into digital TP distances.

  6. Martingale Danger: Grid with martingale will increase publicity exponentially. At  MM = 1.5  with 10 ranges, the ultimate order is ~38x the beginning lot. All the time use  iMO  (Max Orders) and  dML  (Max Lot) to cap threat.

  7. Hedging: In case your dealer/account doesn’t assist hedging (e.g., MT5 netting accounts), set  Flag_Use_hedge = false . The EA will then commerce just one course at a time.

  8. 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).

  9. No information on/off toggle: The information filter is at all times energetic. To disable it, set all impression flags ( highImpact ,  medImpact ,  lowImpact ) to  false , or clear the  currencies  checklist.

  10. Digital TP dependency: Default settings solely use digital TP ( TP_V_ = 100 ). This implies the EA MUST be working repeatedly to handle exits. On disconnection, open baskets stay with out TP till the EA reconnects. Think about enabling  TP_R_  (actual TP) for disconnect safety.


Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles