Installation Guide: FxS Triangular Arbitrage EA

Getting Started with FxS Grid EA


 

Card_logo_100

 Table of Contents

1. Introduction

2. EA Overview

3. Installation

4. Input Parameters

  • Grid Settings
  • Trade Settings
  • Entry Indicator Settings
  • Time Filters
  • Dashboard Settings

4. Optimizing the EA

5. Troubleshooting

   1. Introduction

Welcome to the Grid EA, your all-in-one solution for grid-based trading on MetaTrader 5. This guide provides a step-by-step breakdown of how to install, configure, and operate your EA effectively.  

   2. EA Overview

   Core Features:

  • 4 Grid Trading Modes: Neutral, Hedged, Trend-Following, and Martingale
  • 11 Entry Strategies: RSI, Moving Averages, ADX, Bollinger Bands, Ichimoku Cloud, Parabolic SAR, and more
  • Session-based Time Filters
  • Built-in Dashboard Interface
  • Manual and price-level entries supported
  • Risk Management via Target Profit and Max Drawdown

   3. Installation

For a detailed guide of how to install the EA, refer to this guide installation manual.

   4. Input Parameters

grid_settings_g
Parameter Explanation:

✅ Grid Type: Options (Classic Grid, Hedged Grid, Trend Following Grid, Martingale Grid)

Defines the structure and behavior of the recovery grid.

 Grid Step in Pips: Distance between grid levels in pips.

 Grid Levels per Side: Number of grid positions on each side (buy/sell).

 Martingale TypeOptions (Classic, Grand)

Controls lot sizing for Martingale Grid.

 Target Profit in account currency: Profit goal in account currency to close all trades.

 Max Drawdown % to close all tradesCloses all trades if drawdown exceeds this limit.

 Use percentage target insteadEnable profit closure based on balance percentage.

 Target profit as % of balanceProfit percentage (e.g. 10% of balance).

trade_settings_F1
✅ Initial lot size: Base lot size of initial trade.
✅ Entry Strategy: Options (RSI, Moving Averages, Average Directional Index, Bollinger Bands, Ichimoku Cloud, Parabolic SAR, Specified Price Buy/Sell, Current Price Buy/Sell, Manual)

Select one of 11 entry methods.

✅ Magic number: Unique number for trade separation.

✅ Trade comment: Label for trade identification.

✅ Specified PriceUsed in ‘Specified Price Buy/Sell’ modes.

    • Parameters of Entry Indicator Settings  
entry_indicator_settings11
Parameter Explanation:
a. RSI Settings
RSI Period: Sets the period of the RSI.
✅ RSI Overbought Level: Sets overbought level for the RSI.
✅ RSI Oversold LevelSets oversold level for the RSI.
b. MA Settings
✅ Fast EMA period: Sets the period of the fast EMA. A lower value makes the EMA more sensitive to price changes (default: 50).
✅ Slow EMA period: Sets the period of the slow EMA. Used in conjunction with the fast EMA to identify trend direction (default: 200).
✅ Minimum pip difference between EMAs: Minimum pip difference between the fast and slow EMA to confirm a valid crossover signal. Helps filter out weak or false signals (default: 15).
c. ADX Settings
 ADX period: The lookback period for calculating the ADX indicator (default: 14).
 ADX Trend Level: The threshold value above which the trend is considered strong. Entries are filtered based on whether the ADX value exceeds this level (default: 25).
d. Bollinger Bands Settings
 Bollinger Bands Period: Number of periods used in the Bollinger Bands calculation (default: 20).
 Bollinger Bands Standard Deviation: The number of standard deviations from the moving average used to form the upper and lower bands (default: 2.0).
e. Parabolic SAR Settings
 Step: The step increment of the SAR. Smaller steps make the indicator more sensitive to price changes (default: 0.02).
 Maximum: The maximum value that the step can reach, influencing how quickly the SAR accelerates toward price (default: 0.2).
f. Ichimoku_Cloud Settings
 Tenkan-sen (Conversion Line) period: The period used for the conversion line (Tenkan-sen), which reacts quickly to price movement.
 Kijun-sen (Base Line) period: The period for the base line (Kijun-sen), used as a trend confirmation.
 Senkou Span B period: The period used to calculate one of the cloud boundaries (Senkou Span B), representing longer-term sentiment.
    • Parameters of Time Filters   
time_filters

Parameter Explanation:

✅ Use time filters: Toggle to enable/disable using time filters.

✅ Trade on Friday: Toggle to enable/disable trading on Friday.
✅ Don’t trade on Monday: Toggle to enable/disable trading on Monday.

✅ When To Trade (Server Time)Select which session should trading be allowed.

    • Parameters of Dashboard Setting   
dashb11oard

Parameter Explanation:

✅ Show DashboardShow dashboard can be either Yes or No.
✅ Dashboard Style: Dashboard Style options are Default, Dark or Classic.

   4. Optimizing the EA

Issue  
Solution / Fix
EA not trading 
Ensure Algo Trading is enabled and market is open.
Dashboard Not Showing Verify that ‘Show Interface = Yes’
“No Entry” Recheck entry conditions (RSI/MA filters, session time).
 Too Many Trades  Reduce `Grid Levels` or increase `Grid Interval Pips`. 
 Slippage or Requotes  Use ECN/low-spread broker; avoid high news periods.
Not Closing Trades  Verify `Target Profit` or `%Target` is being reached.  

  Tip: Check the Experts and Journal tabs for detailed error logs.

      • Frequently Asked Questions (FAQ)

    Q1: Can I run multiple instances on different symbols?

A: Yes. Attach one FxS Grid EA per chart/symbol; ensure each uses a unique Magic Number to avoid trade interference.

    Q2: How do I load my optimized settings?

A: Save your optimized `.set` file in `\MQL5\Presets`. In the EA’s Inputs tab, click Load and select your file.

    Q3: Does the EA support hedging accounts?

A: Yes. FxS Grid EA is compatible with both hedging and netting account types.

    Q4: What timeframes work best?

A: Default strategies perform well on H1–H4. Use optimization to test other timeframes for your symbol.

    Q5: My broker uses 5-digit pricing—do I need to adjust inputs?

A: The EA auto-detects digit format and adjusts pips accordingly. No manual changes needed.

    Q6: What should I do if backtests look different from live results?

A: Ensure backtest spread, slippage, and execution model mirror your broker’s live conditions. Consider tick data import for accuracy.

    Q7: How often will I receive updates?

A: Updates are released quarterly or as needed for bug fixes and new features. Check the MQL5 Market page under Updates.



Source link

Similar Posts

  • IDBI Bank Q3 results: PAT rises 1.4% YoY to Rs 1,935 crore, NII down 24%

    IDBI Bank on Saturday reported a 1.4% increase in its December quarter standalone net profit at Rs 1,935 crore compared to Rs 1,908 crore reported in the year ago period. However, the profit after tax was down 47% on a sequential basis compared to Rs 3,627 crore in Q2 of FY26. The lender earned an…

  • LIC portfolio shuffle: Reliance Power among top 10 stocks where stakes went up in June quarter – LIC’s portfolio snapshot June 2025

    Life Insurance Corporation of India (LIC), India’s largest domestic institutional investor, held an equity portfolio valued at Rs 15.5 lakh crore as of the June 2025 quarter. Over the quarter, LIC made notable shifts, exiting or trimming 81 stocks while increasing its exposure to strategic sectors like defence, financial services, and technology. As of the…

  • Construction Spending Increased 0.7% in February

    by Calculated Risk on 4/01/2025 10:31:00 AM From the Census Bureau reported that overall construction spending decreased: Construction spending during February 2025 was estimated at a seasonally adjusted annual rate of $2,195.8 billion, 0.7 percent above the revised January estimate of $2,179.9 billion. The February figure is 2.9 percent above the February 2024 estimate of…

  • Top 10 Seller’s Markets Defy High Interest Rates With Strong Demand And Rising Prices – shareandstocks.com

    ‘:””;if(r){var a=n.promos.showYahooLogo?””:”yns-no-logo”;r=r.replace(“{notifOnboardBtnLabel}”,n.promos.notifOnboardBtnLabel).replace(“{notifOnboardMsg}”,n.promos.notifOnboardMsg).replace(“{subscriptionTopic}”,n.promos.subscriptionTopic).replace(“{noLogoClass}”,a).replace(“{promoLogo}”,n.promos.promoLogo)}var s=t.newCount>n.panel.maxCount?t.newCount:””,c=n.panel.notificationCenterPath,l=c?””:ne,u=n.panel.headerMsg?””:” “+ne,d=c?oe:””,f=void 0;t.count?f=t.markup:f=’ {emptyPanelMsg} ‘.replace(“{emptyPanelMsg}”,n.panel.emptyPanelMsg);return e=e.replace(“{notifMarkup}”,f).replace(“{promoMarkup}”,r).replace(“{hideClass}”,l).replace(“{notifCenterLink}”,c).replace(“{paddingClass}”,d).replace(“{headerMsg}”,n.panel.headerMsg).replace(“{hideHeaderClass}”,u).replace(/{notificationCenterNavMsg}/g,n.panel.notificationCenterNavMsg).replace(/{newCount}/g,s)}},{key:”render”,value:function(e,t){var n=this;if(n._panelNode){var o=void 0,i=n._panelNode,r=void 0,a=void 0;switch(e){case”expanded_panel”:o=’ {headerMsg} ‘,a=n._store.getNotifications(),r=n._generatePanelMarkup(o,a),i.innerHTML=r;break;case”error_panel”:r=(o=’ {errorMsg} ‘).replace(“{errorMsg}”,n._config.panel.errorMsg),i.innerHTML=r}t&&t()}else t&&t(new Error(“No panel parent”))}},{key:”createPanelParentNode”,value:function(e){e&&(e.innerHTML=”,this._panelNode=document.getElementById(te))}},{key:”updateBadgeNode”,value:function(e){if(e){var t=this._store.getNotifications().newCount,n=this._config.badge.maxCount;if(t){var o=t>n?n+”+”:t;e.innerHTML=o}else e.innerHTML=””}}},{key:”addStyles”,value:function(e){if(e&&”undefined”!=typeof window){var t=document.getElementById(this._config.panel.styleTagId);t||((t=document.createElement(“style”)).type=”text/css”,t.id=this._config.panel.styleTagId,t.innerText=e,document.head.appendChild(t))}}}]),e}(),re=function(){function e(t,n,o){z(this,e);var i=this;i._store=n,i._view=o,i._config=t;var r=i._config.panel;i._panelParentNode=document.querySelector(r.parentSelector),i._badgeNode=i._config.badge.selector&&document.querySelector(i._config.badge.selector),i._indicatorNode=r.indicatorSelector&&document.querySelector(r.indicatorSelector)}return G(e,[{key:”createPanelParentNode”,value:function(){this._view.createPanelParentNode(this._panelParentNode),this._notifPanelNode=document.getElementById(te)}},{key:”refreshPanelNode”,value:function(e,t){var n=this;V(n._notifPanelNode,ee),n._store.fetchNotifications(e,(function(e,o){var i=window.wafer&&window.wafer.base;i&&i.destroy(n._notifPanelNode),e?n._notifPanelNode.innerHTML||(n._view.render(“error_panel”),V(n._notifPanelNode,ee)):(n._view.render(“expanded_panel”),n._view.updateBadgeNode(n._badgeNode),n._showBadge(),n._showIndicator(),n._view.addStyles(o.css)),X(n._notifPanelNode,ee),i&&i.sync(n._notifPanelNode.parentNode),t&&t(e,o)}))}},{key:”resetBadge”,value:function(){var e=this;e._store.resetNewCount(),e._view.updateBadgeNode(e._badgeNode),V(e._badgeNode,e._config.badge.hideClass)}},{key:”_showIndicator”,value:function(){this._indicatorNode&&(this._store.getNotifications().newCount?V(this._indicatorNode,this._config.panel.indicatorClass):X(this._indicatorNode,this._config.panel.indicatorClass))}},{key:”_showBadge”,value:function(){var e=this;e._store.getNotifications().newCount?X(e._badgeNode,e._config.badge.hideClass):V(e._badgeNode,e._config.badge.hideClass)}}]),e}(),ae={promos:{eligibleBodyClass:”display-push-promos”,enableNotifOnboard:!0,bypassEligibleClassCheck:!1,notifOnboardBtnLabel:”Notify Me”,notifOnboardMsg:”Get alerts for breaking news and top stories”,promoLogo:”https://s.yimg.com/cv/apiv2/ae/news/circle_bell.png”,showYahooLogo:!0,subscriptionTopic:”gondor_homerun_news”},badge:{hideClass:””,maxCount:5,selector:””},panel:{emptyPanelMsg:”You have no new notifications.”,errorMsg:””,headerMsg:”Notifications”,imageTag:”img:40×40|2|80″,indicatorClass:”yns-indicator”,indicatorSelector:null,maxCount:6,notificationCenterNavMsg:”View all {newCount} notifications”,notificationCenterPath:””,notificationTypes:””,parentSelector:null,styleTagId:”notificationStyles”,theme:”default”},service:{attemptCount:1,attemptDelay:2,url:null,resetUrl:null,isRMP:!1,responseType:”json”,timeout:1500}},se={NotificationClient:function(){function e(t){z(this,e);var n=this;n.config=n._parseConfig(t),n._validateRequiredConfigs()&&(n._request=new F(n.config),n._store=new Q(n.config,n._request),n._view=new ie(n.config,n._store),n._panelController=new re(n.config,n._store,n._view),n._panelController.createPanelParentNode(),n._assignHelperMethods())}return…

  • TFSA Million-Dollar Blueprint: The Only Canadian Stock You’ll Need

    Building a million-dollar Tax-Free Savings Account (TFSA) might seem difficult, but it’s simply about using time, compounding, and discipline to let steady growth do the heavy lifting. The key is starting early, contributing consistently, and investing smartly in assets that combine growth potential with long-term resilience. Think of it less as a sprint and more…

Leave a Reply

Your email address will not be published. Required fields are marked *