Product Hyperlinks
INFO
Working Specs:
- Symbols: All FX pairs, XAUUSD (Gold), indices, crypto – any image your dealer affords
- Timeframe: Any (SuperTrend runs on the chart TF or a specified TF)
- Minimal Deposit: $500 per 0.01 lot ($1,000+ advisable)
- Leverage: 1:100 or greater advisable
- Account Sort: Any (Hedging account most well-liked for MT5)
- Dealer: ECN dealer with tight spreads advisable
- VPS: Extremely advisable for uninterrupted 24/5 operation
Core Options:
- SuperTrend sign engine (configurable interval, deviation, calc kind)
- Dynamic grid distances with martingale lot development
- Digital or Actual TP/SL and Trailing Cease
- Weighted-average basket shut (one aspect closed as a single basket)
- DD Discount algorithm pairs worthwhile + dropping orders to shrink grids
- Hedge mode (simultaneous purchase and promote grids)
- Autolot sizing based mostly on free margin
- Reside Information Filter with financial calendar integration
- Interactive dashboard with 4 toggle/motion buttons
- 6 pre-optimized preset recordsdata included (FX + XAUUSD, Protected/Reasonable/Aggressive)
STEP 1 – INSTALLATION
For MT5:
- Buy Ember Fuse EA from the MQL5 Market
- The EA installs robotically into your MetaTrader 5 terminal
- Open the Navigator panel (Ctrl+N)
- Discover “Ember Fuse EA” beneath Knowledgeable Advisors > Market
- Drag it onto your required chart (any image, any timeframe)
For MT4:
- Buy Ember Fuse EA from the MQL5 Market
- The EA installs robotically into your MetaTrader 4 terminal
- Open the Navigator panel (Ctrl+N)
- Discover “Ember Fuse EA” beneath Knowledgeable Advisors > Market
- 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.
- BUY new collection: SuperTrend flips from DOWN to UP
- SELL new collection: SuperTrend flips from UP to DOWN
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
| Parameter | Default | Description |
|---|---|---|
| TF | Present | Timeframe for SuperTrend calculation (PERIOD_CURRENT = chart TF) |
| ST_Period | 66 | SuperTrend interval |
| Deviation | 2.0 | Deviation multiplier utilized to the volatility measure |
| ST_MidPricePeriod | 10 | Mid-price smoothing interval |
| ST_CalcType | 0 | Volatility measure (0 = ATR, 1 = StdDev, 2 = StdError) |
Tuning ideas:
- Shorter interval (30-50) — extra alerts, extra aware of short-term strikes, noisier
- Longer interval (66-100) — fewer alerts, cleaner development identification, default 66 is balanced
- Increased TF than chart TF — set TF = PERIOD_H4 whereas working on M15 for multi-timeframe affirmation
- Calc Sort = 1 (StdDev) — statistical volatility, higher for ranging devices
- Calc Sort = 2 (StdError) — smoother, laggier, fewer false flips
Closing on Reverse Sign
| Parameter | Default | Description |
|---|---|---|
| flag_Close_ot_Obr | false | Shut 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)
| Parameter | Default | Description |
|---|---|---|
| fA_MM | false | Allow autolot (lot measurement from free margin) |
| iAuLot | 1000 | Free margin required per 0.01 lot |
When fA_MM = true, the EA calculates:
heaps = (FreeMargin / iAuLot) * 0.01
- iAuLot = 1000 → $1,000 free margin = 0.01 lot
- iAuLot = 500 → $500 free margin = 0.01 lot (extra aggressive)
Guide (Mounted) Lot
Set fA_MM = false and use:
| Parameter | Default | Description |
|---|---|---|
| dVol | 0.01 | Beginning lot measurement for each new collection |
| dML | 500.0 | Most lot measurement per order (exhausting cap) |
Martingale Grid Development
| Parameter | Default | Description |
|---|---|---|
| MM | 1.5 | Lot 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 Degree | Calculation | Lot Dimension |
|---|---|---|
| 1 (preliminary) | 0.01 × 1.5^0 | 0.01 |
| 2 | 0.01 × 1.5^1 | 0.02 |
| 3 | 0.01 × 1.5^2 | 0.03 |
| 4 | 0.01 × 1.5^3 | 0.04 |
| 5 | 0.01 × 1.5^4 | 0.05 |
| 6 | 0.01 × 1.5^5 | 0.08 |
| 7 | 0.01 × 1.5^6 | 0.11 |
| 8 | 0.01 × 1.5^7 | 0.17 |
| 9 | 0.01 × 1.5^8 | 0.26 |
| 10 | 0.01 × 1.5^9 | 0.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.
| Parameter | Default | Description |
|---|---|---|
| Fix_Distance | 200 | Mounted distance in factors for early grid orders |
| Order_dinamic_distance | 6 | Variety of orders earlier than switching to dynamic distance |
| Dynamic_distance_start | 200 | Beginning distance when dynamic mode prompts |
| Distance_multiplier | 1.2 | Multiplier utilized per subsequent dynamic order |
How It Works
Utilizing the defaults:
| Grid Degree | Part | Distance |
|---|---|---|
| Orders 1-6 | Mounted | 200 pts every |
| Order 7 | Dynamic (begin) | 200 pts |
| Order 8 | Dynamic | 200 × 1.2 = 240 pts |
| Order 9 | Dynamic | 240 × 1.2 = 288 pts |
| Order 10 | Dynamic | 288 × 1.2 = 346 pts |
| Order 11 | Dynamic | 346 × 1.2 = 415 pts |
| Order 12 | Dynamic | 415 × 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
| Parameter | Default | Description |
|---|---|---|
| MinuteStop | 0 | Minimal 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:
| Mode | The way it works |
|---|---|
| Digital | EA manages exit ranges internally. Nothing positioned on dealer server. Requires EA to be working. Hides ranges from dealer. |
| Actual | EA locations precise TP/SL on every order by way of OrderModify(). Seen to dealer. Works even when EA disconnects. |
TP/SL Parameters
| Parameter | Default | Description |
|---|---|---|
| TPR | 0 | Actual take revenue in factors (0 = disabled) |
| TPV | 100 | Digital take revenue in factors (0 = disabled) |
| SLR | 0 | Actual cease loss in factors (0 = disabled) |
| SLV | 0 | Digital 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:
- weighted_avg_buy + TP_V_ (for purchase basket)
- weighted_avg_sell – TP_V_ (for promote basket)
…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
| Parameter | Default | Description |
|---|---|---|
| Flag_Real_Tral | false | Trailing mode (false = Digital, true = Actual) |
| iTS | 0 | Path Begin – factors of revenue earlier than trailing prompts (0 = disabled) |
| iTD | 200 | Path 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.
| Parameter | Default | Description |
|---|---|---|
| Discount | true | Allow DD Discount algorithm |
| ReductionOrderNumber | 6 | Minimal open orders on one aspect earlier than DD Discount prompts |
| ReductionPercent | 1 | Revenue threshold (%) for pair shut |
The way it works:
- DD Discount prompts when order depend on one aspect reaches ReductionOrderNumber
- The EA identifies the most worthwhile order and the most dropping order on that aspect
- When their mixed revenue meets or exceeds ReductionPercent of the full heaps value, each are closed
- 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
| Parameter | Default | Description |
|---|---|---|
| iMaxS | 0 | Most 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
| Parameter | Default | Description |
|---|---|---|
| iStart_H | 0 | Buying and selling begin hour, server time (0-23) |
| iEnd_H | 0 | Buying 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
| Parameter | Default | Description |
|---|---|---|
| iMO | 100 | Exhausting 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
| Parameter | Default | Description |
|---|---|---|
| Flag_Use_hedge | true | Enable 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
| Parameter | Default | Description |
|---|---|---|
| fHO | true | Embody 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
- The EA fetches the weekly financial calendar from the FairEconomy API at startup and each few hours
- It filters occasions by forex and impression degree
- Buying and selling pauses earlier than and resumes after every matching occasion
- If the API is unavailable, a built-in fallback detects main occasions (NFP, FOMC, CPI, GDP, ECB Price)
Timing
| Parameter | Default | Description |
|---|---|---|
| closeBefore | 15 | Cease buying and selling X minutes earlier than occasion |
| startAfter | 30 | Resume buying and selling X minutes after occasion |
| currencies | “AUD,CAD,EUR,GBP,JPY,NZD,USD” | Comma-separated currencies to filter |
Affect Ranges
| Parameter | Default | Description |
|---|---|---|
| highImpact | true | Filter high-impact occasions (NFP, FOMC, CPI) |
| medImpact | true | Filter medium-impact occasions |
| lowImpact | false | Filter 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
| Parameter | Default | Description |
|---|---|---|
| showNewsBox | true | Present countdown field on chart |
| showBg | true | Present background field behind the information field |
| bgcolor | Black | Information field background shade |
| newsCount | 5 | Variety of upcoming occasions to show |
| showNewsLines | true | Present vertical traces at occasion instances |
| showText | true | Present occasion title textual content labels |
| clrHighNews | clrRed | Excessive-impact line/textual content shade |
| clrMedNews | clrOrange | Medium-impact line/textual content shade |
| clrLowNews | clrYellow | Low-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:
- EA title, image, chart timeframe, present unfold
- Purchase order depend and floating purchase P/L
- Promote order depend and floating promote P/L
- Complete P/L, account steadiness, fairness, drawdown %
- Server time and terminal standing
- SuperTrend course indicator
- Information filter countdown
Interactive Management Buttons
The panel consists of 4 clickable buttons:
| Button | Motion |
|---|---|
| Purchase ON / Purchase OFF | Toggle buy-side buying and selling on/off. Current purchase orders proceed to be managed. |
| Promote ON / Promote OFF | Toggle sell-side buying and selling on/off. Current promote orders proceed to be managed. |
| New Collection: ON / OFF | Toggle new collection openings. When OFF, the EA manages present baskets however does NOT begin new ones on SuperTrend flips. |
| Shut All | Instantly 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
| Parameter | Default | Description |
|---|---|---|
| fDraw | true | Allow/disable panel show |
| X1 | 10 | Panel X place (pixels from top-left) |
| Y1 | 100 | Panel Y place (pixels from top-left) |
| cCIP | Gainsboro | Panel background shade |
| cCB | Darkish Grey | Border shade |
| cCT | Dim Grey | Border textual content shade |
| cOpClBut | Darkish Orchid | Open/Shut button shade |
| cTrNSStr1 | Inexperienced | Button ON shade (Commerce / New Collection) |
| cTrNSStr2 | Purple | Button OFF shade (Commerce / New Collection) |
| cTimeTerminal | Blue | Terminal time shade |
| Font | Arial | Panel font title |
| FontSize | 10 | Panel font measurement |
| Font_Metki | Verdana | Outcome textual content font |
| Size_Metki | 14 | Outcome textual content font measurement |
| ColorText_Metki | White | Outcome textual content shade |
| Color_Fon_Metki | Inexperienced | Outcome 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 File | Instrument | Danger | Notable Settings |
|---|---|---|---|
| Ember_Fuse_FX_Safe.set | FX pairs | Protected | MM 1.3, Max 50 orders, Hours 7-17 |
| Ember_Fuse_FX_Moderate.set | FX pairs | Reasonable | MM 1.65, Hedge ON, Hours 2-23 |
| Ember_Fuse_FX_Aggressive.set | FX pairs | Aggressive | MM 2.0, 24h buying and selling |
| Ember_Fuse_XAUUSD_Safe.set | Gold | Protected | MM 1.3, Max 50 orders, Hours 8-18 |
| Ember_Fuse_XAUUSD_Moderate.set | Gold | Reasonable | MM 1.5, Hedge ON, Hours 5-11 |
| Ember_Fuse_XAUUSD_Aggressive.set | Gold | Aggressive | MM 1.8, 24h buying and selling |
Deciding on a Preset
- Establish your instrument — FX pair or XAUUSD (Gold)
- 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.
- 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:
- Fix_Distance and Dynamic_distance_start — wider for extra risky devices
- iMaxS — increase the unfold filter for devices with broad regular spreads
- ST_Period — longer interval for choppier devices
RECOMMENDED SETTINGS FOR BEGINNERS
If you’re new to Ember Fuse EA, use these settings:
- Load a Protected preset matching your instrument ( Ember_Fuse_FX_Safe or Ember_Fuse_XAUUSD_Safe )
- dVol = 0.01 (smallest beginning lot)
- fA_MM = false (use fastened lot till you see the grid habits)
- iMO = 50 (hard-cap the grid throughout studying)
- Discount = true (let DD Discount assist shrink grids robotically)
- highImpact = true, medImpact = true (information filter energetic)
- Begin on Demo (take a look at for at the very least 2-4 weeks earlier than going reside)
IMPORTANT NOTES
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.
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.
Multi-instance: If working Ember Fuse on a number of charts, every occasion MUST have a novel Magic quantity to stop order conflicts.
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.
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.
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.
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.
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).
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.
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.