Multipair EA Template is designed to execute trades across multiple symbols from a single chart based on a user-defined list of currency pairs. The EA includes risk management tools such as a trailing stop, fixed take profit, and stop loss. It also features an optional martingale lot scaling system that increases position sizes after losses and layers orders at a minimum distance. The code is intended for educational purposes and framework development.
Read from Multipair EA Template.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
EnableMartin
bool
true
Enable Martingale
SLType
SLMode
OwnSL
SL Type
maxOrders
int
4
Max Orders
Multiplier
double
1.5
Lot Multiplier
minDist
double
20
Distance
Lot
double
0.01
Starting Lot
StopLoss
int
95
Stoploss
TakeProfit
int
95
TakeProfit
EnableTrail
bool
true
Enable Trail
TrailingStop
int
33
Trailing Stop
TrailingStep
int
10
Trailing Step
Magic
int
1
Magic Number
Show all 16 inputs
Name
Type
Default
Description
Commentary
string
Multipair EA Template
EA Comment
Slippage
int
10
Tolerated slippage in brokers' pips
TradeMultipair
bool
false
Trade Multipair
PairsToTrade
string
EURUSD,GBPUSD,USDCHF
Pair to Trade
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone drdz9876/Multipair-EA-Template-MT5 from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.
RiskGuard Pro is a multi-strategy expert advisor for MetaTrader 5 that combines automated trade execution with comprehensive risk management. It features a voting engine that aggregates signals from indicators like RSI, MACD, and Bollinger Bands. The EA supports various lot-sizing methods, including fixed lots and perc
This repository features a collection of MetaTrader 5 expert advisors, with a primary focus on a multi-currency ring trading system. The flagship EA executes trades across several currency pairs simultaneously, utilizing triangular hedging logic to manage exposure. It incorporates various lot management modes including
This repository features a collection of expert advisors for MetaTrader 5, primarily focused on the Blessing 3 grid strategy. The system enters trades based on market conditions and manages them using a grid with martingale lot multipliers. Risk controls include maximum drawdown percentages, equity-based trading stops,
LIVMOR is a MetaTrader 4 expert advisor found within this repository of over fifty automated trading tools. It utilizes technical indicators such as MACD, Stochastic, and moving averages to identify entry points, while also offering manual price entry options. The EA manages risk through user-defined stop loss and take
This repository contains the MQL source code used by Forex Strategy Builder Professional to export automated trading strategies to MetaTrader 4 and MetaTrader 5. It serves as a standardized template for executing technical strategies generated by the software, handling order execution and trade management. The EA inclu
This repository features a collection of MetaTrader 4 expert advisors, primarily focused on a multi-strategy system named Complete Robot. The main EA utilizes a combination of technical indicators including Moving Averages, MACD, Bollinger Bands, and Stochastic oscillators for market entry. It employs a grid-based appr