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+ really useful)
- Leverage: 1:100 or larger really useful
- Account Kind: Any (Hedging account most popular for MT5)
- Dealer: ECN dealer with tight spreads really useful
- VPS: Extremely really useful for uninterrupted 24/5 operation
Core Options:
- SuperTrend sign engine (configurable interval, deviation, calc sort)
- Dynamic grid distances with martingale lot development
- Digital or Actual TP/SL and Trailing Cease
- Weighted-average basket shut (one facet closed as a single basket)
- DD Discount algorithm pairs worthwhile + shedding orders to shrink grids
- Hedge mode (simultaneous purchase and promote grids)
- Autolot sizing based mostly on free margin
- Stay Information Filter with financial calendar integration
- Interactive dashboard with 4 toggle/motion buttons
- 6 pre-optimized preset information included (FX + XAUUSD, Protected/Reasonable/Aggressive)
STEP 1 – INSTALLATION
For MT5:
- Buy Ember Fuse EA from the MQL5 Market
- The EA installs mechanically into your MetaTrader 5 terminal
- Open the Navigator panel (Ctrl+N)
- Discover “Ember Fuse EA” underneath 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 mechanically into your MetaTrader 4 terminal
- Open the Navigator panel (Ctrl+N)
- Discover “Ember Fuse EA” underneath Knowledgeable Advisors > Market
- Drag it onto your required chart (any image, any timeframe)
Essential: Allow WebRequest for Information Filter
The Information Filter requires web entry to fetch the financial calendar.
MT4: Go to Instruments > Choices > Knowledgeable Advisors > Test “Permit WebRequest for listed URL” and add:
https://nfs.faireconomy.media
MT5: Go to Instruments > Choices > Knowledgeable Advisors > Test “Permit WebRequest for listed URL” and add:
https://nfs.faireconomy.media
Additionally ensure “Permit 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 route 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 absolutely closes except 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 attentive to short-term strikes, noisier
- Longer interval (66-100) — fewer alerts, cleaner development identification, default 66 is balanced
- Larger TF than chart TF — set TF = PERIOD_H4 whereas working on M15 for multi-timeframe affirmation
- Calc Kind = 1 (StdDev) — statistical volatility, higher for ranging devices
- Calc Kind = 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 approach |
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 Primarily based)
| Parameter | Default | Description |
|---|---|---|
| fA_MM | false | Allow autolot (lot dimension from free margin) |
| iAuLot | 1000 | Free margin required per 0.01 lot |
When fA_MM = true, the EA calculates:
tons = (FreeMargin / iAuLot) * 0.01
- iAuLot = 1000 → $1,000 free margin = 0.01 lot
- iAuLot = 500 → $500 free margin = 0.01 lot (extra aggressive)
Guide (Fastened) Lot
Set fA_MM = false and use:
| Parameter | Default | Description |
|---|---|---|
| dVol | 0.01 | Beginning lot dimension for each new collection |
| dML | 500.0 | Most lot dimension per order (arduous cap) |
Martingale Grid Development
| Parameter | Default | Description |
|---|---|---|
| MM | 1.5 | Lot multiplier per grid stage |
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 Measurement |
|---|---|---|
| 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 tons 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 really useful with out deep capital).
STEP 4 – GRID DISTANCES (DYNAMIC)
The grid makes use of a two-phase distance system: mounted spacing for the primary N orders, then dynamically widening distances for deeper ranges to sluggish capital dedication.
| Parameter | Default | Description |
|---|---|---|
| Fix_Distance | 200 | Fastened 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 | Section | Distance |
|---|---|---|
| Orders 1-6 | Fastened | 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 part 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 growth 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 might 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 through 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 lively ( TP_V_ = 100 ). No cease loss. The EA depends on development continuation and DD Discount to shut shedding baskets.
How Digital TP Works (Basket Shut)
Digital TP is measured from the weighted common entry value throughout all open orders on one facet. When value reaches:
- weighted_avg_buy + TP_V_ (for purchase basket)
- weighted_avg_sell – TP_V_ (for promote basket)
…all the 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 stage is sufficient to shut the entire basket in revenue.
Essential: When you disable TPV (set to 0) with out setting TPR, the EA has no exit mechanism and depends fully 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 through basket TP or reverse sign.
STEP 7 – DD REDUCTION ALGORITHM
The DD Discount algorithm pairs worthwhile and shedding 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 facet earlier than DD Discount prompts |
| ReductionPercent | 1 | Revenue threshold (%) for pair shut |
The way it works:
- DD Discount prompts when order depend on one facet reaches ReductionOrderNumber
- The EA identifies the most worthwhile order and the most shedding order on that facet
- When their mixed revenue meets or exceeds ReductionPercent of the overall tons value, each are closed
- This course of repeats on each tick, regularly peeling order pairs from the grid edges
Profit: Reduces grid dimension and frees margin with out ready for value to reverse all the best way again to the digital basket TP stage.
When to disable: When you want pure basket exits, set Discount = false . The basket will then shut solely through 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 | Arduous cap on complete 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 | Permit simultaneous purchase and promote baskets |
When true , the EA can maintain purchase and promote grids on the identical time (quicker restoration in risky markets). When false , just one route might be lively at a time.
Observe: On MT5 netting accounts, hedging just isn’t attainable on the platform stage. Use a hedging account if you would like this function.
Guide Order Assist
| 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 foreign money and influence stage
- 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 Fee)
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 influence flags to false , or set currencies = “” . There isn’t any single on/off toggle – the filter is all the time 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 coloration |
| newsCount | 5 | Variety of upcoming occasions to show |
| showNewsLines | true | Present vertical strains at occasion occasions |
| showText | true | Present occasion title textual content labels |
| clrHighNews | clrRed | Excessive-impact line/textual content coloration |
| clrMedNews | clrOrange | Medium-impact line/textual content coloration |
| clrLowNews | clrYellow | Low-impact line/textual content coloration |
WebRequest Setup (REQUIRED)
You MUST add the information URL to your platform’s allowed record:
MT4/MT5: Instruments > Choices > Knowledgeable 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.
STEP 10 – DASHBOARD
As soon as working, the EA shows a real-time dashboard in your chart displaying:
- 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 stability, fairness, drawdown %
- Server time and terminal standing
- SuperTrend route 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 Sequence: ON / OFF | Toggle new collection openings. When OFF, the EA manages current 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 Sequence: OFF”: Earlier than a weekend or main information occasion, toggle New Sequence 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 coloration |
| cCB | Darkish Grey | Border coloration |
| cCT | Dim Grey | Border textual content coloration |
| cOpClBut | Darkish Orchid | Open/Shut button coloration |
| cTrNSStr1 | Inexperienced | Button ON coloration (Commerce / New Sequence) |
| cTrNSStr2 | Purple | Button OFF coloration (Commerce / New Sequence) |
| cTimeTerminal | Blue | Terminal time coloration |
| Font | Arial | Panel font title |
| FontSize | 10 | Panel font dimension |
| Font_Metki | Verdana | End result textual content font |
| Size_Metki | 14 | End result textual content font dimension |
| ColorText_Metki | White | End result textual content coloration |
| Color_Fon_Metki | Inexperienced | End result textual content background coloration |
Set fDraw = false to cover the panel (reduces CPU utilization on VPS).
PRESETS
6 pre-optimized preset information 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 development 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 Coated (indices, crypto, unique FX)
Begin with the Ember_Fuse_FX_Safe preset as a base and manually modify:
- Fix_Distance and Dynamic_distance_start — wider for extra risky devices
- iMaxS — increase the unfold filter for devices with vast 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 mounted lot till you see the grid habits)
- iMO = 50 (hard-cap the grid throughout studying)
- Discount = true (let DD Discount assist shrink grids mechanically)
- highImpact = true, medImpact = true (information filter lively)
- Begin on Demo (check for at the least 2-4 weeks earlier than going dwell)
IMPORTANT NOTES
-
Presets matter: The 6 included presets comprise 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 larger volatility.
-
Multi-instance: If working Ember Fuse on a number of charts, every occasion MUST have a singular Magic quantity to stop order conflicts.
-
VPS: For greatest outcomes, run on a VPS positioned 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. Vast spreads will set off the iMaxS filter and forestall 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 route 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 all the time lively. To disable it, set all influence flags ( highImpact , medImpact , lowImpact ) to false , or clear the currencies record.
-
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.
