Tag: EA Setup

  • Reading the MT4 Journal: How to Diagnose EA Health at a Glance

    EA Maintenance · 7 min read

    MetaTrader maintains a detailed log of every action your EA takes and every event that affects its operation. Most traders install their EA and never look at this log again. The traders who do look at it catch problems early — before a silent failure turns into a week of missed trades or an unmanaged recovery cycle.


    The Three Log Tabs

    Experts Tab

    The primary EA activity log. Shows every action the EA takes: when it evaluates signals, when it opens orders, when it closes them, and any error messages. This is the first place to check if the EA appears inactive or behaving unexpectedly.

    Journal Tab

    System-level events: broker connections, reconnections, account login events, and MetaTrader platform messages. The Journal tells you when disconnections happened and how long they lasted — critical for understanding whether the EA was running continuously or experienced gaps.

    Trade Tab (in Terminal)

    Shows all currently open trades, their lot sizes, open prices, current profit, and the magic number. Verify that the magic numbers on open trades match your EA’s configured magic number — if they do not, another system may have opened those trades.

    Normal Log Entries

    These entries appear in healthy EA operation and require no action:

    • initialized — EA loaded successfully at platform start
    • no new trade conditions — EA evaluated conditions and found no entry signal this bar
    • order #XXXXX opened — trade entered successfully
    • order #XXXXX closed — trade exited

    Warning Log Entries

    These require investigation:

    • trade is not allowed — AutoTrading is disabled. Enable it in the toolbar.
    • no connection — Broker server disconnected. Check VPS internet connection and broker status.
    • invalid stops — Order rejected because stop levels are too close to current price. Broker minimum stop level may have changed.
    • margin insufficient — Account does not have enough free margin to open the next order. Lot size may be too large or account has insufficient buffer.
    • dll calls not allowed — If EA requires DLL access, this must be enabled in EA properties under Tools > Options > Expert Advisors.

    Recommended Weekly Check Routine

    1. Open Journal tab — confirm no extended disconnection periods
    2. Open Experts tab — scan for any error messages in the past 7 days
    3. Check Terminal trade tab — verify open positions match expected EA state
    4. Confirm account balance and equity in the terminal

    This five-minute check, done weekly, catches 90% of operational issues before they compound into larger problems. The EA does the trading — you just make sure the infrastructure is running.

    Try It on a Demo Account First

    All BotFXPro EAs include a free MQL5 demo. Run it in Strategy Tester before committing to live.

    Chronos Algo on MQL5 →
  • How to Monitor Your Forex EA Remotely: Tools and Best Practices

    Practical Guides · 7 min read

    Running an EA on a VPS is not a set-and-forget operation. It is an autonomous system that requires periodic oversight — not to second-guess its decisions, but to ensure it is running correctly, the connection to the broker is active, and no technical issues have silently disrupted its operation.

    The key word is periodic: daily checks introduce unnecessary anxiety and decision pressure. Weekly reviews balance awareness with autonomy. Emergency alerts handle the edge cases where immediate attention is genuinely needed.


    The MT4/MT5 Mobile App

    The MetaTrader mobile app (available for iOS and Android) connects directly to your live account and shows real-time balance, equity, open positions, and trade history. This is the most convenient remote monitoring tool for most EA traders.

    Key things to check on the mobile app weekly:

    • Account connection status — shows “Connected” and the broker server name
    • Open positions — how many, which direction, current floating P/L
    • Account balance vs equity — large divergence indicates a deep recovery cycle in progress
    • Recent closed trades — confirming cycles are closing and profits are being realized

    Myfxbook for Weekly Performance Review

    Myfxbook provides a better performance visualization than the mobile app for weekly reviews. The equity curve, drawdown chart, and trade statistics give a cleaner picture of how the current week compares to historical averages.

    Connect your account to Myfxbook once and the data updates automatically. A weekly 5-minute review of the equity curve and current drawdown percentage is sufficient for most EA operations.

    Setting Up Alerts for Emergency Conditions

    Some conditions require immediate attention: kill switch triggered, VPS connectivity lost, broker margin call approaching. Setting up alerts for these conditions allows you to respond quickly when needed without constant monitoring.

    Alert Options

    • MT4/MT5 email alerts: Configure in Tools > Options > Email to receive alerts when specific conditions trigger (equity drop below threshold, large floating loss)
    • Myfxbook alerts: Set email or SMS notifications for drawdown exceeding a defined percentage
    • VPS uptime monitoring: Services like UptimeRobot (free) can monitor VPS connectivity and alert you if the server goes offline

    What Not to Do

    The most common monitoring mistake: checking the account multiple times daily during a recovery cycle. This increases anxiety, creates intervention pressure, and provides no operational benefit — the EA does not need your help managing open positions that it is designed to manage.

    Set the review schedule before going live and commit to it: weekly check plus emergency alerts. Everything else is noise that reduces your enjoyment of what should be a genuinely passive operation.

    Try It on a Demo Account First

    All BotFXPro EAs include a free MQL5 demo. Run it in Strategy Tester before committing to live.

    Chronos Algo on MQL5 →
  • The Forex EA Setup Checklist: 20 Things to Verify Before Going Live

    Practical Guides · 7 min read

    The most common reason a newly purchased EA fails to perform is not a flaw in the strategy — it is a configuration error. Wrong timeframe, incorrect lot size, disabled automated trading permission, or a settings mismatch between the backtest and live configuration.

    This checklist covers every critical point to verify before running any EA live for the first time. Work through it in order before funding the account.


    Account and Broker Verification

    • Broker allows automated trading — checked ToS for restrictions on martingale/averaging strategies
    • Account type is correct — micro (0.01 min lot) for small accounts, standard (0.1 min lot) for larger accounts
    • Account balance meets minimum — verified against developer’s published minimum, not arbitrary self-assessment
    • Spread confirmed — checked live spread on the pair during your target trading session, not just during off-hours

    MetaTrader Configuration

    • AutoTrading button is active — the green “play” button in the MT4/MT5 toolbar is enabled, not the red “stop” button
    • EA is attached to the correct chart — confirmed symbol and timeframe match the EA’s requirements
    • “Allow live trading” is checked — in the EA properties dialog under Common tab
    • DLL imports allowed if required — some EAs need DLL access; confirm in EA properties
    • EA smiley face is visible on chart — the yellow smiley in the top right corner of the MT4 chart indicates the EA is active

    EA Parameter Settings

    • Base lot size is correct — calculated based on account balance, not copied from an example for a different account size
    • Kill switch threshold is enabled — not set to zero or disabled
    • Magic number is unique — different from any other EA running on the same account
    • Max orders parameter is correct — set to the documented maximum (typically 8), not raised
    • Time filters configured — if using news or session filters, times are set in the broker’s server timezone, not local time

    VPS and Connectivity

    • VPS is active and connected — MT4/MT5 shows connected status with broker server
    • VPS auto-starts MT4 on reboot — configured to launch MetaTrader automatically if VPS restarts
    • Ping to broker server is acceptable — below 50ms is good; above 200ms may cause execution issues

    Pre-Live Verification

    • Demo account test completed — EA has run on demo for at least one week and confirmed trades are opening and closing correctly
    • Lot sizes on demo match expected sizes — not 10x or 0.1x what they should be due to a decimal point error
    • Know how to pause the EA — practiced disabling AutoTrading and know what happens to open positions when you do
    • Have a plan for kill switch trigger — decided in advance what to do if the portfolio stop is hit: restart, withdraw, or pause

    Completing this checklist before going live takes 30-60 minutes. Skipping it costs more than that when a configuration error causes a preventable loss in the first week of operation.

    Try It on a Demo Account First

    All BotFXPro EAs include a free MQL5 demo. Run it in Strategy Tester before committing to live.

    Chronos Algo on MQL5 →
  • Holiday and News Filters for Forex EAs: Why They Matter and How to Configure Them

    EA Configuration · 8 min read

    Forex markets behave differently around major economic releases and public holidays. Spreads widen, liquidity drops, and price can gap — moving instantly from one level to another without trading through the intermediate prices. For EAs that rely on stable, liquid conditions, these periods represent disproportionate risk relative to opportunity.

    News and holiday filters exist to pause EA trading during these high-risk windows. Whether to use them, and how to configure them, depends on the specific EA’s strategy and the pair being traded.


    Why News Events Are Dangerous for Martingale EAs

    Martingale EAs open additional positions when price moves against the initial entry. During a major news release — NFP, FOMC decision, CPI — price can move 50-100 pips in seconds. This rapid movement can trigger multiple recovery orders simultaneously, opening positions at prices far from where they would have opened under normal conditions.

    The combination of sudden large adverse movement, widened spreads, and multiple orders triggering simultaneously creates the conditions most likely to push a martingale system into deep drawdown quickly. A news filter that pauses new order entry for 30-60 minutes around major releases prevents the EA from initiating new cycles at the worst possible moments.

    Note: Filters Pause New Entries Only

    News filters typically prevent new positions from opening — they do not close existing open positions. An EA in a recovery cycle when a news event fires will continue managing existing positions through the event. The filter prevents the initiation of new cycles at high-risk times.

    Holiday Periods: Lower Liquidity, Wider Spreads

    During major public holidays — Christmas, New Year, Easter, Golden Week in Japan — global forex liquidity drops significantly. Even major pairs like EURUSD can see spreads widen to 5-10 pips during thin holiday trading, compared to 0.5-1.0 pips during normal sessions.

    For mean-reversion EAs that depend on normal price oscillation patterns, holiday periods produce abnormal price behavior. The same indicator signals that are reliable during normal trading can fire on illiquid price action that does not represent genuine market sentiment.

    Most seasoned EA traders pause their systems entirely during the Christmas-New Year period (December 24 to January 2) and reduce lot sizes or pause during other major holiday windows.

    Configuring a News Filter in Chronos Algo

    Chronos Algo includes a manual time window configuration that allows traders to define specific hours during which no new entries are permitted. To implement a news filter:

    1. Check an economic calendar (ForexFactory, Investing.com) for the week’s major releases
    2. Note the release time in UTC
    3. Configure the EA’s time exclusion window to cover 30 minutes before and 30 minutes after each high-impact release
    4. During holiday periods, disable the EA entirely via the Allow Trading toggle in MetaTrader

    The key high-impact releases to filter for EURUSD: NFP (first Friday each month), FOMC decisions (8 per year), US CPI, ECB rate decisions, and German CPI. For USDCAD: BOC rate decisions and Canadian employment data. For gold: US CPI and FOMC have the strongest impact.

    Does Filtering Actually Improve Performance?

    Backtests with news filtering enabled versus disabled show mixed results — some strategies perform better with filters, some worse, depending on whether news events tend to trigger profitable entries or damaging ones for that specific system.

    For martingale systems in particular, the value of news filtering is asymmetric: preventing one deeply adverse news-triggered recovery cycle can preserve more capital than the accumulated missed entries from 12 months of filtering. The protection is more valuable than the missed opportunity.

    Holiday filtering is more universally beneficial — there is no compelling reason to initiate new martingale cycles during thin, spread-widened holiday trading when the same opportunity will exist again in January under normal conditions.

    Try It on a Demo Account First

    All BotFXPro EAs include a free MQL5 demo. Run it in Strategy Tester before committing to live.

    Chronos Algo on MQL5 →
  • How to Choose a Forex Broker for EA Trading: The 7 Factors That Matter

    Practical Guides · 8 min read

    The same EA can produce different results at different brokers. This is not theory — it is a documented reality that traders discover when they move an EA from one account to another and see performance diverge meaningfully.

    Broker selection affects spread costs, execution speed, slippage, and whether the EA is even permitted to operate. Getting this decision right before funding an account avoids the frustration of discovering problems after deployment.


    Factor 1: Spread on Your Target Pair

    Spread is the most direct cost an EA pays per trade. On a system executing 50 trades per month at 1.0 pip average spread, you are paying 50 pips monthly in friction costs. On the same system at a broker with 2.0 pip spread, you are paying 100 pips — double the cost with the same strategy.

    Target spreads by pair:

    • EURUSD: Below 1.0 pip on ECN/STP accounts. Zero-spread accounts with commission are equivalent or better.
    • USDCAD / AUDCAD: Below 1.5 pips average.
    • XAUUSD: Below $0.25 per unit ($2.50 per lot) on standard accounts.

    Factor 2: Execution Model

    ECN (Electronic Communication Network) and STP (Straight Through Processing) brokers pass orders directly to the interbank market. Market Makers fill orders from their own book and can trade against client positions. For EA trading, ECN/STP is strongly preferred — execution is faster, slippage is lower, and there is no conflict of interest when you are consistently profitable.

    Factor 3: Automated Trading Policy

    Some brokers explicitly prohibit martingale, grid, or averaging strategies in their Terms of Service. Running a prohibited strategy can result in account closure and profit clawback — even if the trading itself was profitable. Always read the ToS before funding. Key phrases to look for: “no automated trading,” “scalping prohibited,” “averaging strategies prohibited.”

    Factor 4: Server Location and Latency

    Most major forex brokers host their trading servers in Equinix LD4 (London) or NY4 (New York). Running a VPS in the same data center as your broker produces sub-5ms execution latency. A VPS in a different region can add 100-300ms of latency — not critical for H1 systems but potentially meaningful for M15 entries where timing precision matters more.

    Factor 5: Minimum Deposit and Account Types

    Brokers vary significantly in their account tier structure. Some require $100 minimum for micro accounts with 0.01 lot capability. Others require $1,000+ for their lowest tier. Ensure the account type you can fund supports the lot size your EA requires at its minimum recommended balance.

    Factor 6: VPS Policy

    Some brokers offer free VPS hosting to clients meeting minimum balance or volume requirements. If your planned account size qualifies, this can eliminate the VPS cost entirely. Check the free VPS requirements — they are often $1,000+ balance or a minimum monthly trading volume.

    Factor 7: Regulatory Status and Fund Security

    Broker regulation determines whether client funds are segregated from company funds and what recourse exists if the broker fails. Tier 1 regulators — FCA (UK), ASIC (Australia), CySEC (Cyprus), MAS (Singapore) — have the strongest client protection requirements. Trading with an unregulated broker, regardless of their apparent EA-friendliness, introduces counterparty risk that outweighs any spread advantage.

    Test Before Committing

    Open a demo account at your shortlisted broker and run the EA for 2-4 weeks. Verify spread levels match their published figures, execution is clean, and the EA behaves identically to how it runs on your backtest or other accounts. Only then fund a live account.

    Try It on a Demo Account First

    All BotFXPro EAs include a free MQL5 demo. Run it in Strategy Tester before committing to live.

    Chronos Algo on MQL5 →
  • VPS for Forex EA Trading: What It Is, Why You Need It, and How to Choose One

    Practical Guides · 7 min read

    A VPS — Virtual Private Server — is a dedicated remote computer that runs MetaTrader continuously, 24 hours a day, seven days a week. For any trader running an automated EA, it is the single most important infrastructure decision after choosing the EA itself.

    This article explains exactly what a VPS does, why running an EA without one is a significant operational risk, and the specific criteria that matter when selecting a VPS provider for forex trading.


    What a VPS Actually Is

    A VPS is a slice of a physical server — a computer running in a data center — that you access remotely via internet. For forex trading, you install MetaTrader on the VPS, configure your EA, and then the EA runs continuously regardless of whether your personal computer is on.

    The VPS stays connected to the internet with enterprise-grade uptime. Power failures, internet outages, and computer restarts on your end do not affect its operation.

    What Happens Without a VPS

    Without a VPS, the EA stops trading whenever your computer is off, sleeping, or loses internet connection. This creates specific risks:

    • A recovery cycle in progress has open positions that need to close — if MetaTrader disconnects, the positions stay open but the EA cannot manage them
    • A trading signal fires while your computer is off — missed entry that may not recur
    • A stop condition (kill switch, news filter) needs to activate — but cannot without a running instance

    The Worst-Case Scenario

    A martingale EA is mid-recovery with five open positions. Your internet goes down overnight. The positions cannot close because MetaTrader disconnects. The market continues moving against the cycle. When you reconnect in the morning, the positions are at a much larger loss than when you left.

    What to Look For in a Forex VPS

    Location: As Close to Your Broker as Possible

    VPS latency to the broker server affects execution speed. Most major forex brokers host servers in London (LD4 Equinix), New York (NY4 Equinix), or Tokyo. Choose a VPS provider with servers in the same location. A VPS in London connecting to a broker in London will have 1-2ms latency; a VPS in Bangkok connecting to London will have 200ms+.

    Specifications: Minimum Requirements

    For running 1-3 MT4/MT5 instances with EAs: 2GB RAM minimum (4GB preferred), 2 CPU cores, 50GB storage, Windows Server 2019 or 2022. More EAs or complex systems need more RAM.

    Uptime: 99.9% Minimum

    Look for providers that guarantee 99.9% uptime with SLA. This translates to under 9 hours of downtime per year. Enterprise data center providers typically achieve 99.95-99.99%.

    Cost Expectations

    A reliable forex VPS costs $15-40 per month depending on specifications and location. Cheaper options exist but often compromise on location quality or uptime guarantees. For a system running $1,000+ in capital, the $20/month VPS cost is a negligible operational expense.

    Some brokers offer free VPS hosting to clients above a certain balance or trading volume threshold — worth checking before paying for a third-party provider.

    Try It on a Demo Account First

    All BotFXPro EAs include a free MQL5 demo. Run it in Strategy Tester before committing to live.

    Chronos Algo on MQL5 →
  • How to Set Up a Forex EA on MT4 and MT5: A Beginner’s Walkthrough

    Practical Guides · 10 min read

    Getting a forex EA running for the first time involves more steps than most guides cover. Broker selection, account type, VPS setup, file installation, and parameter configuration all need to be done correctly before the EA can trade.

    This guide covers each step in order, with the specific decisions that matter most for traders running EAs for the first time.


    Step 1: Choose a Compatible Broker

    Not all brokers are EA-friendly. The key requirements for running an automated trading system are: MetaTrader 4 or 5 platform support, low spreads on your intended pair, fast execution with minimal slippage, and no restrictions on automated trading (some brokers prohibit certain EA types).

    For EURUSD: look for ECN or STP brokers with spreads below 1.0 pip on the main account type. For USDCAD and AUDCAD: similar spread standards apply. For gold: spreads below $0.30 per unit are reasonable on standard accounts.

    Check Broker EA Policy

    Some brokers label certain strategies as “prohibited” and may close accounts using EAs with averaging or martingale logic. Read your broker’s Terms of Service before funding an account for automated trading.

    Step 2: Set Up a VPS

    A VPS (Virtual Private Server) is a remote computer that runs MetaTrader 24 hours a day without requiring your personal computer to stay on. For any EA intended to trade continuously, a VPS is essential — not optional.

    Without a VPS, the EA stops trading when your computer sleeps, restarts, or loses internet connection. Missing a recovery cycle exit because your computer was off can mean the difference between a closed position and an all-night drawdown.

    Most VPS providers offer plans at $10-30 per month with MetaTrader pre-installed. Choose a server located in the same city or region as your broker’s servers to minimize latency.

    Step 3: Install the EA File

    Once you have purchased an EA from MQL5, download the .ex4 (MT4) or .ex5 (MT5) file. In MetaTrader, go to File > Open Data Folder > MQL4 (or MQL5) > Experts, and paste the file there. Restart MetaTrader and the EA will appear in the Navigator panel under Expert Advisors.

    Step 4: Attach to the Correct Chart

    Drag the EA from the Navigator panel onto the chart of the correct pair and timeframe. For Chronos Algo: EURUSD, H1. For Velocity: USDCAD, M15. For Sentinel: AUDCAD, M15. For Gold Trend Accelerator: XAUUSD, H1.

    Running an EA on the wrong timeframe is one of the most common first-time mistakes. The strategy logic is calibrated to specific bar durations — the wrong timeframe changes every parameter’s effective value.

    Step 5: Configure the Five Key Settings

    • Base lot size — set according to your account balance and the sizing guidelines from the developer
    • Kill switch threshold — confirm this is enabled and set to the recommended percentage
    • AutoLot — decide whether to use automatic lot scaling or fixed lots. For beginners, fixed lots are safer.
    • Magic number — a unique ID that prevents the EA from interfering with manual trades or other EAs on the same account
    • Live trading enabled — confirm the “Allow automated trading” button in MetaTrader toolbar is active (yellow play icon)

    Run on demo for at least one week before switching to live. Verify the EA is opening and closing trades as expected, that lot sizes match your configuration, and that the kill switch triggers correctly if tested.

    Try It on a Demo Account First

    All BotFXPro EAs include a free MQL5 demo. Run it in Strategy Tester before committing to live.

    Chronos Algo on MQL5 →