EA PM Portfolio Management identifies H1 trends with moving averages and Ichimoku clouds while timing M5 entries via MACD and RSI convergence. The system incorporates robust risk controls including equity-based lot sizing, daily loss limits, and tiered drawdown circuit breakers. Trade management features automated breakeven adjustments, partial profit booking, and trailing stops. It uniquely integrates an external Python-based news analyzer to avoid high-volatility events. The EA monitors portfolio exposure by limiting concurrent trades and currency-specific direction.
Multi-timeframe technical convergence signal engine
Soft and hard equity drawdown circuit breakers
Dynamic ATR-based risk management and stops
AI-integrated economic news filtering service
Portfolio exposure limits and daily loss protection
Read from EA_PM_V1.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpSymbols
string
EURUSD,GBPUSD,USDJPY,USDCHF,AUDUSD,USDCAD
Symbols to trade
InpRiskPercent
double
0.5
Risk per trade (%)
InpMaxSpread
double
20
Maximum spread (points)
InpMaxSlippage
int
10
Maximum slippage (points)
InpMagicBase
long
202601
Magic number base
InpDDSoft
double
4.0
Soft drawdown limit (%) - blocks new entries
InpDDHard
double
5.0
Hard drawdown limit (%) - flatten and halt
InpMaxDailyLoss
double
2.0
Max daily loss (%) - blocks entries until next day
InpProfitTargetPct
double
10.0
Halt after reaching this gain (%) (0 = off)
InpMaxOpenPositions
int
3
Max simultaneous positions (all symbols)
InpMaxPerCurrencySide
int
2
Max positions sharing one currency direction
InpSL_ATR
double
1.5
Stop Loss (ATR multiplier)
Show all 33 inputs
Name
Type
Default
Description
InpTP_ATR
double
3.0
Take Profit (ATR multiplier)
InpBE_ATR
double
1.0
Breakeven (ATR multiplier)
InpMinSL_Pips
double
5.0
Minimum SL distance (pips)
InpMaxLots
double
5.0
Hard cap on position size (lots)
InpEMA_Fast
int
20
EMA Fast period
InpEMA_Slow
int
50
EMA Slow period
InpRSI_Period
int
14
RSI period
InpMACD_Fast
int
12
MACD Fast period
InpMACD_Slow
int
26
MACD Slow period
InpMACD_Signal
int
9
MACD Signal period
InpATR_Period
int
14
ATR period
InpSwingLookback
int
5
Swing lookback bars
InpMinConvergence
int
3
Minimum convergence signals
InpMinADX_H1
double
0
Min H1 ADX to trade (0 = off, try 20-25)
InpWeekOpenCooldownMin
int
120
Minutes after weekly open with no entries
InpMaxTrades
int
3
Max trades per day
InpMaxLosses
int
2
Max consecutive losses
InpPauseMinutes
int
30
Pause after loss (minutes)
InpNewsFile
string
news_risk.json
News risk file
InpNewsPause
int
30
News pause (minutes)
InpShowDashboard
bool
true
Show dashboard panel
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone JuanPabloMF/pm-trading from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts or MQL5/Experts.
3Copy the filesCopy the .mq4 / .mq5 file into Experts, and any .mqh files into the Include folder the code expects.
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.
This MetaTrader 4 expert advisor implements a multi-strategy framework for automated trading across various symbols. It incorporates several technical entry signals, including Ichimoku, Bollinger Bands, and ADX-filtered logic. The EA provides multiple trade management options, explicitly including martingale lot scalin
EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat
EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario
EA Scalper XAUUSD is an automated trading research project for MetaTrader 5 focused on gold. It employs a multifaceted entry strategy using Smart Money Concepts like order blocks and liquidity sweeps, alongside moving average crossovers and Fibonacci zones. The EA includes a self-learning module designed to adapt to di
This MetaTrader 4 expert advisor functions as an automated trading robot using the Average Directional Index (ADX) to identify trend strength and direction. It executes trades based on ADX crossovers and specific level thresholds. The EA provides essential risk management tools, including stop loss, take profit, and a
Gold Trader EA is a multi-strategy expert advisor designed for trading XAUUSD on the MetaTrader 5 platform. It employs a fusion engine that combines up to 14 different technical analysis methods, including candlestick patterns, chart patterns, price action, and institutional levels. The system requires a user-defined n