MetaTrader 4 Guide: Download, Setup, Trading and Troubleshooting
MetaTrader 4 (MT4) is a desktop, mobile and broker-connected trading platform used primarily for forex and CFD trading. On Windows, it can display live broker quotes, place and manage orders, run technical indicators, test strategies and execute Expert Advisors. MT4 itself is software, not a broker: the legal entity holding the account determines pricing, product access, execution, withdrawals and regulatory protection.
This guide consolidates installation, platform use, forex basics, automation, data backup and login troubleshooting into one practical resource. Start with a demo account, download the platform only from MetaQuotes or the chosen broker, and confirm the correct account number, password and server before attempting to trade.
Last fact-checked: July 11, 2026. MetaQuotes currently states that the Windows terminal supports Windows 10 and 11. Broker-specific builds, servers, symbols and account features may differ.
Key Takeaways
- MT4 is trading software, not a broker. Regulation, client-money arrangements, spreads, commissions and withdrawals depend on the broker and legal entity.
- The safest installation route is the broker’s official platform page or the official MetaTrader 4 download page. Avoid unofficial installers and bundled software.
- A successful login requires the exact trading account number, the correct trading or investor password and the matching broker server.
- The core desktop layout includes Market Watch, Navigator, chart windows, Terminal and Strategy Tester.
- MT4 supports market orders, four pending-order types, stop-loss, take-profit and trailing stops, but fills can still differ from the requested price during gaps or fast markets.
- Expert Advisors and custom indicators can expand the platform, but they do not guarantee profitability and should be tested before use on a live account.
- Use File > Open Data Folder to back up custom tools, templates and profiles before reinstalling or moving MT4.
- MT4 does not have MT5’s built-in economic calendar. Use broker news, a reputable external calendar or MT5 when calendar integration is essential.
What Is the MetaTrader 4 Trading Platform?
MetaTrader 4 is client-terminal software developed by MetaQuotes. The platform receives prices and news from a connected broker, supports trade operations and order management, provides technical-analysis tools, and includes the MQL4 environment for Expert Advisors, custom indicators and scripts. MetaQuotes does not provide brokerage or investment services.
| MT4 component | Purpose | Important limitation |
|---|---|---|
| Desktop terminal | Full charting, order management, MQL4 tools, Expert Advisors and Strategy Tester on Windows | Must stay connected for live monitoring and local automation unless a compatible VPS is used |
| Mobile app | Quotes, charts, manual order management and account monitoring on iOS or Android | Does not run desktop MQL4 Expert Advisors locally |
| Broker server | Supplies symbols, prices, account data and execution | Conditions vary by broker, account, region and legal entity |
| MQL4 tools | Custom indicators, scripts and automated trading programs | Third-party code may be unreliable, insecure or overfitted |
| Strategy Tester | Tests and optimises Expert Advisors on historical data | Backtests depend on data quality and assumptions and cannot predict future performance |
Before You Download MT4
Prepare the information below before installation. A platform can install correctly and still fail to connect when the account belongs to a different server or when the broker no longer supports the selected build.
- A Windows 10 or Windows 11 computer with current security updates.
- The official MT4 installer supplied by MetaQuotes or the chosen broker.
- The trading account number, not the email address used for the broker portal.
- The trading password for full access or the investor password for read-only access.
- The exact live or demo server name shown in the broker’s account-opening email or client portal.
- A regulated broker whose legal entity is authorised to serve residents of the trader’s country.
- A demo account for learning order entry and platform controls before using real money.
Do not assume that an MT4 logo proves a broker is legitimate. Confirm the broker and legal entity independently through the relevant regulator, then compare spreads, commissions, overnight financing, withdrawal terms and product restrictions.
How to Download and Install MT4 on Windows
- Open the official source. Use the broker’s verified platform page or the official MetaTrader 4 download page.
- Download the Windows installer. Check the publisher and file source before opening it.
- Run the installer. Follow the installation wizard and use the default folder unless a separate installation is required for another broker or account.
- Launch MT4. The terminal may prompt for a demo account or server connection on first use.
- Allow updates to complete. Broker builds can update automatically when connected. Restart the terminal if prompted.
- Log in to the correct server. Use File > Login to Trade Account and enter the account number, password and matching server.
- Confirm the connection. Watch the connection indicator in the lower-right status bar and confirm that Market Watch prices update.
MetaQuotes’ installation guidance confirms that the installer is launched and completed through the setup wizard. Separate MT4 copies should be installed in different directories when multiple terminals must run at the same time.
How to Log In to MetaTrader 4
Open File > Login to Trade Account, or right-click the account in Navigator and choose Login. Enter the account number, password and server. MetaQuotes distinguishes between a standard password, which permits trading, and an investor password, which provides read-only access.
| Field | What to enter | Common mistake |
|---|---|---|
| Login | The numeric or broker-issued MT4 trading account ID | Entering the broker-portal email address |
| Password | The trading password for full access or investor password for read-only access | Using the client-portal password or copying an extra space |
| Server | The exact demo or live server assigned to the account | Selecting a similarly named server for another entity or account type |
| Save account information | Optional local credential storage on a trusted personal device | Saving credentials on a shared or unmanaged computer |
If the account connects but trading controls are unavailable, check whether the investor password was used. The official MT4 authorisation guide states that investor access can view and analyse the account but cannot trade or run automated trading.
Understanding the MT4 Interface
| Window | What it shows | Typical use |
|---|---|---|
| Market Watch | Available symbols and current bid and ask quotes | Open charts, inspect contract specifications and start an order |
| Navigator | Accounts, indicators, Expert Advisors and scripts | Switch accounts and add analytical or automated tools |
| Chart window | Price history, indicators and drawing objects | Analyse a symbol across timeframes and manage chart-based trades |
| Terminal | Open trades, pending orders, account history, alerts, Experts and Journal logs | Manage positions and diagnose platform or EA messages |
| Strategy Tester | Expert Advisor test settings, optimisation and reports | Backtest and compare automated-strategy parameters |
| Status bar | Server connection, data traffic and active chart information | Check whether the terminal is connected and receiving data |
The official MT4 interface documentation describes Market Watch, Navigator, Terminal, Tester and the status bar as core terminal components. Windows can be reopened from the View menu if they are closed accidentally.
Charts, Indicators and Workspace Setup
MT4 desktop provides nine standard timeframes, 30 built-in technical indicators and 23 analytical objects according to MetaQuotes’ current platform documentation. It can also load custom MQL4 indicators and retain chart layouts through templates and profiles.
- Open a symbol from Market Watch and choose the required timeframe.
- Select candlestick, bar or line view and adjust zoom to show enough context.
- Add only indicators that have a defined role in the trading plan.
- Set chart colours and the ask line so entries and spreads are easier to interpret.
- Save the chart as a template when the same layout will be reused.
- Save a profile when a group of charts and windows should reopen together.
More indicators do not automatically improve analysis. Overloaded charts can hide price structure, consume memory and encourage conflicting signals. Start with a small set of tools and document exactly how each one affects entries, exits or risk.
How to Place and Manage Trades in MT4
Market and Pending Orders
A market order requests execution at the available market price. A pending order waits for a specified trigger. MT4 supports Buy Limit, Sell Limit, Buy Stop and Sell Stop pending orders. The platform also supports stop-loss, take-profit and trailing-stop controls. Broker execution mode and symbol rules determine how the order is handled.
| Order | When it triggers | Typical use |
|---|---|---|
| Buy Limit | At a specified price below the current ask | Attempting to buy after a pullback |
| Sell Limit | At a specified price above the current bid | Attempting to sell after a rally |
| Buy Stop | At a specified price above the current ask | Entering after an upside breakout |
| Sell Stop | At a specified price below the current bid | Entering after a downside breakout |
| Stop-loss | Closes or attempts to close when the stop level is reached | Limiting downside under normal execution conditions |
| Take-profit | Closes or attempts to close at a defined favourable price | Automating a planned profit exit |
Bid, Ask and Spread
The bid is generally the price at which a long position can be sold, while the ask is the price at which a long position can be opened. The difference is the spread. A buy trade normally opens at the ask and is valued for closing at the bid, which is why it begins with an unrealised cost.
Risk Controls
- Set position size from a predefined account-risk limit rather than from the maximum leverage available.
- Check the symbol’s contract size, tick value, margin method, minimum volume and stop-level restrictions.
- Use stop-loss and take-profit levels as part of a written plan, not as guarantees of an exact fill.
- Expect possible slippage around market gaps, major news and thin liquidity.
- Review overnight financing before holding leveraged positions across the broker’s rollover time.
- Keep enough free margin to withstand normal price movement without an avoidable margin close-out.
Alerts, Notifications and News
MT4 can create alerts in the Terminal window and can send push notifications to a mobile device after a MetaQuotes ID is configured under Tools > Options > Notifications. Alerts help monitor price conditions, but they do not replace server-side stop orders and may fail when the terminal, computer or internet connection is unavailable.
MT4 can display broker-supplied news, but it does not include the built-in economic calendar found in MT5. Traders who use macroeconomic events should pair MT4 with a reputable external calendar or a broker research feed and confirm event times in the relevant time zone.
Expert Advisors, Custom Indicators and Scripts
Expert Advisors are MQL4 programs that can analyse the market and, when permitted, place or manage trades automatically. Custom indicators calculate or display analytical information, while scripts normally perform a one-time task. Files are managed through the terminal data folder rather than by guessing a Program Files path.
- Open File > Open Data Folder.
- Place Expert Advisors in MQL4 > Experts, indicators in MQL4 > Indicators and scripts in MQL4 > Scripts.
- Restart MT4 or refresh the relevant Navigator section.
- Review the program’s inputs and permissions before attaching it to a chart.
- Test it in Strategy Tester and on a demo account before live use.
- Enable AutoTrading only when the code, broker rules and risk limits are understood.
Treat third-party robots and indicators as software-risk decisions. Avoid unknown executable files, unrealistic profit claims, hidden DLL dependencies and tools that require account credentials outside MT4. Mobile MT4 can manage trades and receive notifications, but desktop MQL4 programs do not run locally inside the mobile app.
Using the Strategy Tester
The Strategy Tester can backtest and optimise Expert Advisors on historical data. Use it to find coding errors, compare parameters and understand how a strategy behaved under the selected assumptions. Do not treat a strong backtest as evidence of future profitability.
- Use a symbol and timeframe that match the intended live setup.
- Check the available historical data and whether the model reasonably represents the strategy.
- Include realistic spreads, commissions, swaps and execution assumptions where possible.
- Separate development data from out-of-sample validation data.
- Look for stability across parameter ranges rather than one perfect result.
- Forward-test on demo before committing live capital.
How to Back Up MT4 Data Safely
Select File > Open Data Folder to reach the active terminal’s user-data directory. MetaQuotes documents this folder as the storage location for most terminal data on current Windows systems. Back up only the folders and files that are needed, then restore them carefully to the matching locations after reinstalling.
| Folder or item | What it contains | Backup advice |
|---|---|---|
| MQL4 > Experts | Expert Advisors | Back up source and compiled files from trusted tools |
| MQL4 > Indicators | Custom indicators | Copy only tools that are still required and compatible |
| MQL4 > Scripts | One-time utility scripts | Review before restoring to a clean installation |
| Templates | Chart colours, indicators and layout presets | Useful when recreating chart workspaces |
| Profiles | Groups of open charts and workspace layouts | Restore after confirming symbol names match the broker |
| presets | Saved EA or indicator parameter sets | Label by tool and version to avoid mismatches |
| Terminal and Experts logs | Connection, platform and MQL4 messages | Preserve recent logs when diagnosing a fault |
MT4 Login and Connection Troubleshooting
“Invalid Account” or Login Failure
- Retype the account number rather than using an email address or copied label.
- Confirm whether the password is the trading password, investor password or broker-portal password.
- Select the exact live or demo server assigned to the account.
- Check whether the broker migrated the account to a new server or changed the platform offering.
- Reset the trading password through the broker portal or support team when necessary.
- Contact the broker if the account may be archived, disabled or restricted.
“No Connection” or Prices Not Updating
- Confirm that other secure websites load normally on the same device.
- Check the MT4 connection indicator in the status bar and restart the terminal.
- Verify the server selection and rescan or request the current server details from the broker.
- Check the broker’s status page or support channel for maintenance or an outage.
- Review proxy, firewall and managed-network restrictions without disabling security protections permanently.
- Try a trusted alternative network to identify a local connectivity problem.
MT4 Is Slow, Freezing or Crashing
- Close charts that are not being used and reduce the number of visible symbols.
- Remove or disable the most recently added indicator, script or Expert Advisor.
- Reduce “Max bars in history” and “Max bars in chart” under Tools > Options > Charts when excessive data is unnecessary.
- Check Terminal > Experts and Journal for repeated errors or connection loops.
- Restart MT4 and Windows, then allow the platform to update.
- Confirm that antivirus or endpoint software has not quarantined a legitimate terminal file.
- Back up the data folder and perform a clean reinstall if corruption remains likely.
Missing Account History
Open Terminal > Account History, right-click inside the tab and choose All History or a custom period. If older activity still does not appear, ask the broker for the official server-side statement. Local history should not be treated as the only record of account transactions.
Safe Reinstallation
- Record the broker, server and account details.
- Use File > Open Data Folder and back up required MQL4 tools, templates, profiles and recent logs.
- Close MT4 completely and uninstall the affected terminal.
- Download a fresh installer from the broker or MetaQuotes.
- Install, update and test the clean terminal before restoring custom files.
- Restore third-party tools one at a time so a faulty component can be identified.
MT4 vs MT5, cTrader and TradingView
| Platform | Main strength | Consider before choosing |
|---|---|---|
| MetaTrader 4 | Established forex workflow, MQL4 ecosystem and broad legacy broker support | Nine standard timeframes and older architecture; broker conditions still matter |
| MetaTrader 5 | More timeframes, broader multi-asset architecture, newer testing tools and built-in economic calendar | Uses MQL5, so MT4 tools are not automatically compatible |
| cTrader | Modern interface, depth-of-market tools and C#-based automation | Available brokers and account conditions vary |
| TradingView | Browser-first charting, alerts, community scripts and supported broker connections | Execution features depend on the connected broker and region |
MT4 remains useful when a suitable regulated broker supports it and the trader relies on MQL4 tools. MT5 may be the better long-term choice for a broader product set or more modern testing and calendar features. Platform familiarity should not override broker quality, cost or legal protection.
MT4 Security Checklist
- Download the terminal only from MetaQuotes or the broker’s verified domain.
- Verify the broker and exact legal entity with the appropriate regulator.
- Use unique passwords and broker-provided two-factor or one-time-password controls when available.
- Do not share the trading password, remote-desktop credentials or one-time codes.
- Use the investor password when read-only access is sufficient.
- Keep Windows, security software and MT4 updated.
- Review every Expert Advisor, indicator and DLL permission before enabling it.
- Maintain an independent record of deposits, withdrawals, statements and broker correspondence.
Frequently Asked Questions
Is MetaTrader 4 free?
The MT4 terminal is generally free to download and use. Trading costs come from the connected broker and may include spreads, commissions, overnight financing, market-data charges or other account fees.
Does MT4 work on Windows 11?
Yes. MetaQuotes currently lists Windows 10 and 11 for the desktop client terminal. Use the latest installer from MetaQuotes or the broker and keep the terminal updated.
Why does MT4 say “Invalid Account”?
The usual causes are an incorrect account number, password or server. Confirm the exact login details with the broker, distinguish the trading password from the client-portal password and ensure the live or demo server matches the account.
Why is MT4 showing “No Connection”?
Check the internet connection, status-bar indicator, assigned server and broker service status. Network, proxy or firewall restrictions can also block the terminal. Contact the broker when the server is unavailable or no longer assigned to the account.
Can Expert Advisors run on the MT4 mobile app?
No. MQL4 Expert Advisors run in the desktop terminal or a compatible hosted environment. The mobile app can monitor accounts, place manual trades and receive notifications, but it does not run desktop EAs locally.
Is MT4 better than MT5?
Neither platform is best for every trader. MT4 may suit an existing MQL4 workflow and a broker that supports it. MT5 offers a newer multi-asset architecture, more timeframes, additional testing capabilities and a built-in economic calendar.
How can I save this MT4 guide as a PDF?
Use the browser’s Print command and select Save as PDF. The saved copy is useful offline, but revisit the live article because platform support, broker servers and security guidance can change.
Can MT4 prevent trading losses?
No. MT4 provides analysis, order and automation tools, but it cannot remove market, leverage, execution, broker or software risk. Use a regulated broker, a tested plan and position sizing that limits the amount at risk.
Final Checklist
- Verify the broker and legal entity.
- Download MT4 from an official source.
- Start with a demo account.
- Confirm the correct account number, password and server.
- Learn Market Watch, Navigator, Charts, Terminal and Strategy Tester.
- Set position size, stop-loss and take-profit from a written risk plan.
- Test every Expert Advisor or custom tool before live use.
- Back up the active data folder before major changes.
- Use the troubleshooting sequence before reinstalling.
- Review the broker’s current costs and platform support regularly.