DomPanion monitors active positions to enforce lot size limits, session-based trading restrictions, and monetary take-profit or stop-loss targets. The EA features a dashboard with time-based performance analysis and a breathing room mechanic for stop losses. While primarily a manager, it includes an optional grid-based scaling feature for losing positions. It provides account-level safeguards including daily profit locks and equity floors to prevent over-trading.
Read from DomPanion.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpDryRun
bool
false
Don't close โ just show
InpShowDashboard
bool
true
Show panel
InpCorner
ENUM_DP_CORNER
DP_CORNER_RIGHT_TOP
Corner
InpTheme
ENUM_DP_THEME
DP_THEME_DARK
Dark or light
InpAlertOnClose
bool
true
Pop-up
InpNotifyOnClose
bool
false
Phone
InpEnableLotGuard
bool
true
Limit lots
InpBalancePer001
double
2000.0
Money for 0.01 lot
InpEnableMoneyGuard
bool
true
Use money TP / SL
InpTpPer001
double
2.0
Win per 0.01
InpSlPer001
double
2.0
Room per 0.01
InpBreathMultiplier
double
3.0
Close after this many rooms
Show all 40 inputs
Name
Type
Default
Description
InpSetBrokerHardSl
bool
true
Broker SL
InpSetBrokerTp
bool
true
Broker TP
InpEnableOneTrade
bool
true
Only 1 trade
InpEnableTimeAnalysis
bool
true
Show hour clock
InpBlockLosingHours
bool
false
Kill bad-hour trades
InpManualLosingHours
string
Bad hours
InpForceSafeHours
string
Good hours
InpEnableDailyLock
bool
false
Stop after a win
InpDailyLockMoney
double
400.0
Win goal
InpDailyLockFlatten
bool
false
Close trade at goal
InpDailyMaxLoss
double
0.0
Max loss (0=off)
InpEnableDailyFloor
bool
false
Protect start money
InpDailyStartBalance
double
600.0
I started with
InpDailyFloorArmPct
double
5.0
Wait until up %
InpDailyFloorBufferPct
double
3.0
Close if only up %
InpEnableAtl
bool
false
Add to losers
InpAtlBePlusPct
double
0.5
Extra profit %
InpAtlMaxTrades
int
6
Max trades
InpAtlLot
double
0.0
Lot per add (0=2nd)
InpManageScope
ENUM_DP_SCOPE
DP_SCOPE_CHART_SYMBOL
Watch
InpOneTradeScope
ENUM_DP_SCOPE
DP_SCOPE_CHART_SYMBOL
One-trade on
InpMagicFilter
long
-1
Which trades (-1=all 0=manual)
InpEnforceOnStart
bool
true
Fix trades already open
InpSlippagePoints
int
40
Slippage
InpLogLevel
int
1
Log 0/1/2
InpOffsetX
int
12
Panel side gap
InpOffsetY
int
12
Panel top gap
InpPanelWidth
int
380
Panel width
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone domsendotnet/MT5-DomPanion 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, 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 is a management utility designed to handle orders opened by other martingale robots. It monitors trade sequences and applies hedging to the initial low-lot positions to mitigate drawdown. The tool provides automated risk controls including fixed take profit, stop loss, trailing stops, a
This MetaTrader expert advisor functions as a trade manager that automates stop loss adjustments for existing positions. It specifically waits until a trade reaches a user-defined profit threshold in points before initiating a trailing stop. The tool includes flexible filtering options to manage specific symbols, magic
Trader Pad is a trade management utility for MetaTrader 5 designed to automate position exits and risk control after an entry is initiated. The software handles stop-loss and take-profit placement in ticks, providing advanced trailing stop logic and break-even functionality. It allows users to scale out of positions th
This trade manager for MetaTrader 4 and 5 automatically adjusts the stop-loss levels of open positions using the Average True Range indicator. It allows users to define the trailing distance through a configurable ATR period and multiplier. The expert advisor includes filtering logic to apply the trailing stop only to
PSAR Trailing Stop is a management utility for MetaTrader 4 and 5 that automates the adjustment of stop-loss levels for open positions. Instead of manual movement, it follows the Parabolic SAR indicator values to lock in profits or minimize losses as a trend progresses. The software includes filtering options to target
This expert advisor is a utility for MetaTrader 4 and MetaTrader 5 designed to manage stop-loss levels for existing trades. It utilizes Bill Williams' Fractals indicator to dynamically adjust the stop loss as new fractal points form on the chart. Users can configure the number of bars to scan and specify which fractal