Product Hyperlinks
INFO
Working Specs:
- Symbols: Any Foreign exchange pair, XAUUSD, metals (multi-pair succesful)
- Timeframe: Any (M15-H1 advisable for RSI/MA methods)
- Minimal Deposit: $1,000 advisable
- Leverage: 1:100 or greater advisable
- Account Kind: Any (Hedging account most popular for MT5)
- Dealer: ECN dealer with tight spreads advisable
- VPS: Extremely advisable for uninterrupted 24/5 operation
Core Options:
- 4 buying and selling methods: RSI (Low Threat), MA (Medium Threat), Hedge (Excessive Reward), Handbook
- Adaptive grid system with configurable distances and lot multiplier
- Drawdown Restoration engine that pairs opposite-end orders for accelerated grid decision
- Three Loss Lower modes: None, Fastened Quantity, Steadiness Proportion
- Stay Information Filter with financial calendar integration and pattern-based fallback
- Auto or Handbook lot sizing with configurable multiplier and exhausting cap
- Interactive on-chart dashboard (Full/Mini/None) with Purchase/Promote toggle buttons
- Time and day administration with in a single day session help
STEP 1 – INSTALLATION
For MT5:
- Buy FX Avalanche EA from the MQL5 Market
- The EA installs routinely into your MetaTrader 5 terminal
- Open the Navigator panel (Ctrl+N)
- Discover “FX Avalanche EA” underneath Professional Advisors > Market
- Drag it onto your required chart (any image, any timeframe)
For MT4:
- Buy FX Avalanche EA from the MQL5 Market
- The EA installs routinely into your MetaTrader 4 terminal
- Open the Navigator panel (Ctrl+N)
- Discover “FX Avalanche EA” underneath Professional 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 > Professional Advisors > Verify “Enable WebRequest for listed URL” and add:
https://nfs.faireconomy.media
MT5: Go to Instruments > Choices > Professional Advisors > Verify “Enable WebRequest for listed URL” and add:
https://nfs.faireconomy.media
Additionally be sure that “Enable algorithmic buying and selling” is enabled and “Enable reside buying and selling” is checked within the EA’s Frequent tab.
STEP 2 – STRATEGY SELECTION
FX Avalanche EA provides 4 distinct buying and selling methods managed by the strattype parameter:
RSI – Low Threat (strattype = 0)
- Generates entries based mostly on RSI overbought/oversold ranges
- BUY: RSI falls beneath roversold (default 30)
- SELL: RSI rises above roverbought (default 70)
- Works with any variety of current positions (grid expands on sign)
- Can enter new cycles even when positions are already open
Greatest for: Conservative merchants preferring indicator-confirmed entries. Appropriate for ranging and mean-reverting pairs.
MA – Medium Threat (strattype = 1) — DEFAULT
- Generates entries based mostly on Transferring Common crossover with value
- BUY: MA worth > Shut value (value beneath MA)
- SELL: MA worth < Shut value (value above MA)
- Solely opens new cycles when no positions exist (waits for grid to shut first)
- Makes use of SMA interval 5 on Shut value by default
Greatest for: Balanced strategy that avoids opening new grids whereas an current one is energetic. Good general-purpose technique.
HED – Excessive Reward (strattype = 2)
- Robotically opens opposing positions to take care of each a purchase and promote grid
- If no promote orders exist, opens a promote. If no purchase orders exist, opens a purchase
- Depends solely on grid administration and DD Restoration for revenue
- Doesn’t use indicator indicators for entry
Greatest for: Aggressive hedge/grid merchants who need steady market publicity in each instructions. Requires bigger accounts and understanding of grid threat.
MAN – Handbook (strattype = 3)
- No computerized entry indicators
- Buying and selling is triggered completely by clicking the Purchase or Promote buttons on the dashboard
- As soon as a guide entry is positioned, the grid system manages further orders routinely
Greatest for: Merchants who wish to management entry timing whereas letting the EA handle the grid and exits.
STEP 3 – LOT SIZE CONFIGURATION
Handbook Mode (Default)
When lottype = Handbook (default), you set the bottom lot immediately:
- lotSize = 0.01 (base lot for the primary order)
- All subsequent grid orders are calculated from this base utilizing the lot multiplier
Auto Mode
Set lottype = Automated to calculate tons from account steadiness:
- System: lot = (AccountBalance – deduction) / 500,000
- Minimal: 0.01 lot
- The deduction accounts for floating revenue on the alternative aspect, stopping over-exposure when one aspect is worthwhile
Grid Lot Development
Every subsequent grid order multiplies the lot measurement by lotMul (default 1.5x). The mulSkip parameter controls how steadily the multiplier applies (default 1 = each order):
| Grid Stage | Calculation (lotMul=1.5, mulSkip=1) | Lot Measurement |
|---|---|---|
| Stage 1 | 0.01 × 1.5^0 | 0.01 |
| Stage 2 | 0.01 × 1.5^1 | 0.02 |
| Stage 3 | 0.01 × 1.5^2 | 0.03 |
| Stage 4 | 0.01 × 1.5^3 | 0.05 |
| Stage 5 | 0.01 × 1.5^4 | 0.08 |
| Stage 6 | 0.01 × 1.5^5 | 0.11 |
| Stage 7 | 0.01 × 1.5^6 | 0.17 |
| Stage 8 | 0.01 × 1.5^7 | 0.26 |
| Stage 9 | 0.01 × 1.5^8 | 0.38 |
| Stage 10 | 0.01 × 1.5^9 | 0.58 |
With mulSkip = 2, the multiplier applies each 2nd order:
| Grid Stage | Calculation (lotMul=1.5, mulSkip=2) | Lot Measurement |
|---|---|---|
| Stage 1 | 0.01 × 1.5^0 | 0.01 |
| Stage 2 | 0.01 × 1.5^0 | 0.01 |
| Stage 3 | 0.01 × 1.5^1 | 0.02 |
| Stage 4 | 0.01 × 1.5^1 | 0.02 |
| Stage 5 | 0.01 × 1.5^2 | 0.03 |
All tons are rounded to your dealer’s lot step and capped by lotMax (0 = no cap).
STEP 4 – GRID SETTINGS
These parameters management how the grid is constructed and expanded:
| Parameter | Default | Description |
|---|---|---|
| takeprofit | 10 | Take revenue in pips (utilized to weighted common value) |
| dist2 | 20 | Distance in pips for the 2nd commerce |
| dist3 | 1 | third commerce distance multiplier (dist3 × dist2) |
| dist4 | 1 | 4th+ trades distance multiplier (recursive) |
| tradeLimit | 20 | Most orders per aspect (0 = no restrict, exhausting max 80) |
| allowHedge | true | Enable purchase and promote positions concurrently |
Distance System
The grid makes use of a three-phase distance calculation that widens as depth will increase:
| Commerce # | System | Instance (dist2=20, dist3=1, dist4=1) |
|---|---|---|
| 2nd | dist2 | 20 pips |
| third | dist3 × dist2 | 1 × 20 = 20 pips |
| 4th | dist4 × dist3 × dist2 | 1 × 1 × 20 = 20 pips |
| fifth | dist4 × (4th distance) | 1 × 20 = 20 pips |
| sixth+ | dist4 × (earlier distance) | Recursive multiplication |
With widening distances (dist2=20, dist3=1.5, dist4=1.2):
| Commerce # | System | Distance |
|---|---|---|
| 2nd | 20 | 20 pips |
| third | 1.5 × 20 | 30 pips |
| 4th | 1.2 × 1.5 × 20 | 36 pips |
| fifth | 1.2 × 36 | 43 pips |
| sixth | 1.2 × 43 | 52 pips |
Growing dist3 and dist4 above 1.0 creates a widening grid that areas orders additional aside as drawdown deepens.
Grid Growth Logic
BUY Grid: First order opens on sign. Further purchase orders are positioned when Bid drops the required distance beneath the bottom current purchase order.
SELL Grid: First order opens on sign. Further promote orders are positioned when Bid rises the required distance above the very best current promote order.
Take Revenue Mechanism
The EA calculates a volume-weighted common entry value throughout all open orders of the identical sort:
avgPrice = Sum(tons × openPrice) / Sum(tons)
When greater than 1 order exists, particular person TPs are eliminated and the EA manages a single TP degree at avgPrice + takeprofit (purchase) or avgPrice – takeprofit (promote). Two horizontal strains are drawn on the chart:
- Yellow line = Quantity-weighted common value (breakeven reference)
- Cyan line = Take revenue goal degree
STEP 5 – DD RECOVERY
The Drawdown Restoration engine reduces grid publicity by pairing orders for mixed revenue closing.
| Parameter | Default | Description |
|---|---|---|
| ddRecovery | true | Allow DD Restoration mechanism |
| ddrCount | 3 | Minimal open orders earlier than DDR prompts |
| ddrProfit | 1 | Mixed revenue goal ($) for pair closing |
How It Works
- DDR prompts when the variety of open orders of 1 sort (purchase or promote) exceeds ddrCount
- The EA finds the highest open value order and the lowest open value order of that sort
- It calculates the mixed revenue (together with swap and fee) of each orders
- If the mixed revenue exceeds ddrProfit ($1 default), each orders are closed
- This course of repeats on each tick, regularly peeling orders from the grid edges
Instance
With 5 purchase orders (costs: 1.1000, 1.0980, 1.0960, 1.0940, 1.0920) and present Bid at 1.0970:
- Highest value order: 1.1000 (deep loss)
- Lowest value order: 1.0920 (in revenue)
- If the revenue from 1.0920 + the loss from 1.1000 = +$1.50, each are closed (exceeds $1 threshold)
- Grid reduces from 5 to three orders, liberating margin
Vital: DDR doesn’t assure revenue. It reduces grid measurement when favorable pairings exist however can’t overcome a strongly trending market.
STEP 6 – LOSS CUT
The Loss Lower characteristic supplies an emergency exit when losses exceed a threshold.
| Parameter | Default | Description |
|---|---|---|
| lossCutType | None | Loss reduce mode: None, Quantity, or Proportion |
| lcvalue | 1000 | Threshold worth ($ for Quantity, % for Proportion) |
None (Default)
No loss reduce. The EA depends on grid restoration, DD Restoration, and take revenue to handle positions.
Quantity Mode
Closes all orders of 1 sort when their mixed loss exceeds the greenback quantity:
- lcvalue = 1000 means shut if loss > $1,000
Proportion Mode
Closes all orders of 1 sort when their mixed loss exceeds a share of account steadiness:
- lcvalue = 20 means shut if loss > 20% of steadiness
Notice: Loss reduce is evaluated independently for the purchase aspect and promote aspect. It doesn’t shut all orders – solely the aspect that breached the brink.
STEP 7 – RISK MANAGEMENT
| Parameter | Default | Description |
|---|---|---|
| oneTradePerCandle | true | Just one new commerce per candlestick |
| allowHedge | true | Enable simultaneous purchase and promote positions |
| maxspread | 0 | Most unfold filter in factors (0 = disabled) |
| tradeLimit | 20 | Most orders per course (0 = max) |
| maxPairs | 0 | Most pairs to commerce concurrently (0 = no restrict) |
One Commerce Per Candle
When enabled, the EA solely opens one new order per bar/candlestick on either side. This prevents rapid-fire grid growth throughout unstable circumstances.
Unfold Filter
Set maxspread to your dealer’s common unfold + buffer. When the present unfold exceeds this worth, no new orders are positioned. Set to 0 to disable.
Hedge Management
When allowHedge = false, the EA won’t open purchase orders if promote orders exist (and vice versa). Just one course at a time. Helpful for brokers that don’t help hedging.
Margin Verify
Earlier than each order, the EA validates that enough free margin exists. If margin is inadequate, the order is rejected and a message is logged.
STEP 8 – NEWS FILTER CONFIGURATION
Activation
The Information Filter is all the time energetic (no express allow/disable toggle). If WebRequest is configured, the EA fetches the reside financial calendar. If not, it falls again to pattern-based detection.
How It Works
- The EA fetches the weekly financial calendar from the FairEconomy API each 4 hours
- It filters occasions by foreign money and impression degree
- Buying and selling pauses quarter-hour earlier than and resumes half-hour after every matching occasion
- If the API is unavailable, a built-in fallback detects main occasions (NFP, FOMC, CPI, GDP, ECB Fee)
Impression Ranges
| Parameter | Default | Description |
|---|---|---|
| highImpact | true | Filter high-impact occasions (NFP, FOMC, and so forth.) |
| medImpact | true | Filter medium-impact occasions |
| lowImpact | false | Filter low-impact occasions |
Timing
| Parameter | Default | Description |
|---|---|---|
| closeBefore (minutes) | 15 | Cease buying and selling X minutes earlier than occasion |
| startAfter (minutes) | 30 | Resume buying and selling X minutes after occasion |
| currencies | AUD,CAD,EUR,GBP,JPY,NZD,USD | Comma-separated listing of currencies to filter |
Information Show on Chart
| Parameter | Default | Description |
|---|---|---|
| showNewsBox | true | Present countdown field on chart |
| showNewsLines | true | Present vertical strains at occasion instances |
| showText | true | Present occasion identify textual content labels |
| newsCount | 5 | Variety of upcoming occasions to show |
| showBg | true | Background rectangle behind information field |
| bgcolor | Black | Information field background colour |
Shade coding:
- Pink strains/textual content = Excessive impression occasions
- Orange strains/textual content = Medium impression occasions
- Yellow strains/textual content = Low impression occasions
Sample-Based mostly Fallback
When the API is unavailable, the EA detects these main recurring occasions:
| Occasion | Schedule | Time (UTC) |
|---|---|---|
| NFP | 1st Friday of month | 13:30 |
| FOMC | Final Wednesday of FOMC months | 19:00 |
| US CPI | Tue/Wed, Tenth-Fifteenth of month | 13:30 |
| US GDP | Final Thursday of Jan/Apr/Jul/Oct | 13:30 |
| ECB Fee | Thursday, 1st half of month (excl. Aug) | 13:15 / 13:45 |
WebRequest Setup (REQUIRED for reside calendar)
You MUST add the information URL to your platform’s allowed listing:
MT4/MT5: Instruments > Choices > Professional 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 9 – TIME & DAY MANAGEMENT
Buying and selling Hours
| Parameter | Default | Description |
|---|---|---|
| use_date | false | Allow buying and selling hour filter |
| startTime | 7:00 | Buying and selling begin time (server time) |
| endTime | 19:00 | Buying and selling finish time (server time) |
When use_date = true, the EA solely opens new orders inside the specified window. Current positions proceed to be managed (TP, DD Restoration) outdoors buying and selling hours.
In a single day classes are supported: If startTime > endTime (e.g., begin=20:00, finish=06:00), the EA inverts the logic and trades through the in a single day interval.
Day Administration
| Day | Default | Description |
|---|---|---|
| monday | true | Enable buying and selling on Monday |
| tuesday | true | Enable buying and selling on Tuesday |
| wednesday | true | Enable buying and selling on Wednesday |
| thursday | true | Enable buying and selling on Thursday |
| friday | false | Enable buying and selling on Friday |
Notice: Friday is disabled by default to cut back weekend hole publicity. Allow it in case your technique and pairs profit from Friday buying and selling.
STEP 10 – GENERAL SETTINGS
| Parameter | Default | Description |
|---|---|---|
| MagicNumber | 9244 | Distinctive EA identifier for order administration |
| dbtype | Full | Dashboard show mode (Full / Mini / None) |
| highRes | false | Excessive-resolution dashboard format |
| showCandleProf | true | Present revenue textual content on chart at shut positions |
Vital: If operating a number of situations of FX Avalanche on the identical account, every occasion MUST have a singular Magic Quantity to stop order conflicts.
RSI Sign Settings (strattype = RSI)
| Parameter | Default | Description |
|---|---|---|
| rsiperiod | 9 | RSI calculation interval |
| rsiprice | Shut | RSI utilized value |
| roverbought | 70 | Overbought degree (triggers promote sign) |
| roversold | 30 | Oversold degree (triggers purchase sign) |
MA Sign Settings (strattype = MA)
| Parameter | Default | Description |
|---|---|---|
| ma1period | 5 | Transferring Common interval |
| ma1shift | 0 | MA shift |
| ma1method | SMA | MA technique (SMA, EMA, SMMA, LWMA) |
| ma1price | Shut | MA utilized value |
PANEL
As soon as operating, the EA shows a real-time dashboard in your chart. Three show modes can be found:
Full Dashboard
Exhibits all info:
- EA identify and server time
- Present unfold in factors
- Internet revenue (purchase + promote mixed) with colour indication (inexperienced = revenue, pink = loss)
- Drawdown quantity and share
- Weekly revenue from order historical past
- Account steadiness and fairness
- Person identify, dealer, and account ID
- Interactive Purchase/Promote toggle buttons
Mini Dashboard
Compact show exhibiting solely:
- Internet revenue
- Steadiness
- Fairness
- Purchase/Promote toggle buttons
No Dashboard
No panel displayed. Purchase/Promote buttons nonetheless seem for management.
Interactive Purchase/Promote Buttons
| Technique | Button Habits |
|---|---|
| RSI / MA / HED | Click on to toggle that course ON (inexperienced) or OFF (pink). Disabling prevents new entries however current positions proceed to be managed. |
| Handbook | Click on to position a Purchase or Promote market order instantly. |
RECOMMENDED SETTINGS FOR BEGINNERS
In case you are new to FX Avalanche, use these settings:
- strattype = MA (Medium Threat) – Default technique, enters solely when no positions exist
- lottype = Handbook, lotSize = 0.01 – Begin small till you perceive grid conduct
- tradeLimit = 10 – Cut back from default 20 to restrict most grid depth whereas studying
- ddRecovery = true – Preserve DD Restoration enabled to assist scale back drawdown
- Allow Information Filter – Add the WebRequest URL and guarantee highImpact = true
- friday = false – Preserve Friday buying and selling disabled to keep away from weekend gaps
- allowHedge = true – Enable each instructions for max grid restoration alternative
- Begin on Demo – Check for at the very least 2-4 weeks earlier than going reside
- One pair first – Grasp grid conduct on one pair earlier than including extra
IMPORTANT NOTES
Technique Choice: RSI and MA methods generate indicator-based indicators. HED mode opens positions routinely with out sign affirmation. Handbook mode requires you to click on buttons. Select based mostly in your involvement desire and threat tolerance.
Grid Threat: Grid mode with lot multiplier will increase publicity geometrically. A ten-level grid with lotMul=1.5 ends in a closing order roughly 38x the preliminary lot measurement. At all times check on demo first and use tradeLimit + lotMax to cap threat.
DD Restoration: DDR is just not a assured revenue mechanism. It reduces grid measurement when favorable order pairs exist. In a strongly trending market with all orders on one aspect, DDR compares orders of the identical sort (e.g., all buys) — the very best and lowest priced purchase orders are paired.
Multi-Pair: FX Avalanche helps operating on a number of pairs concurrently. Every chart occasion should have a singular Magic Quantity. Use maxPairs to restrict whole simultaneous pair publicity.
VPS: For finest outcomes, run on a VPS situated near your dealer’s server. The information filter and grid administration require the EA to be operating constantly.
Dealer: Select an ECN dealer with tight spreads. Extensive spreads will set off the maxspread filter and stop buying and selling. In case your dealer doesn’t help hedging, set allowHedge = false.
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).
Hedging Account (MT5): FX Avalanche requires a hedging account on MT5. The EA will show an alert and fail to initialize on netting accounts as a result of it holds simultaneous purchase and promote positions.
One Commerce Per Candle: The default oneTradePerCandle = true prevents the grid from increasing a couple of degree per bar. Disabling this enables quicker grid constructing however will increase threat throughout unstable strikes.