Mask Protected Trading Panel acts as a protective layer, blocking manual orders that violate pre-set rules such as maximum daily trades, drawdown limits, or minimum reward-to-risk ratios. The tool includes a mandatory cooldown period after losses to prevent revenge trading and restricts lot size increases following a losing streak. It features a comprehensive Arabic user interface and monitors spreads to ensure entry conditions meet user-defined safety standards.
Read from Mask_Protected_Trading_Panel_Pro.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpMagicNumber
int
20260616
InpMonitorAllSymbols
bool
false
InpMaxTradesPerDay
int
5
InpMaxLossStreak
int
2
InpCooldownMinutesAfterLoss
int
30
InpMaxLotMultiplierAfterLoss
double
1.00
InpMaxDailyLossPercent
double
3.00
InpUseBadHourFilter
bool
true
InpBadHoursCSV
string
18,19,20
InpMinimumRiskReward
double
1.50
InpMaxSpreadPoints
int
50
InpSizeMode
ENUM_MASK_SIZE_MODE
MASK_RISK_PERCENT
Show all 37 inputs
Name
Type
Default
Description
InpDefaultLot
double
0.10
InpDefaultRiskPercent
double
1.00
InpDefaultSLPoints
int
300
InpDefaultTPPoints
int
600
InpDeviationPoints
int
30
InpPopupAlerts
bool
true
InpPushAlerts
bool
false
InpSoundAlerts
bool
false
InpCorner
ENUM_BASE_CORNER
CORNER_LEFT_UPPER
InpPanelX
int
20
InpPanelY
int
30
InpPanelWidth
int
500
InpPanelHeight
int
640
InpBackgroundColor
color
C'2,6,23'
InpHeaderColor
color
C'15,23,42'
InpCardColor
color
C'15,23,42'
InpBorderColor
color
C'51,65,85'
InpAccentColor
color
C'37,99,235'
InpTextColor
color
clrWhite
InpMutedColor
color
C'148,163,184'
InpGoodColor
color
C'34,197,94'
InpWarningColor
color
C'249,115,22'
InpDangerColor
color
C'220,38,38'
InpBuyColor
color
C'22,163,74'
InpSellColor
color
C'220,38,38'
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone meshalalsultan/mt5-protected-trading-panel 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.
Account Protector is a risk management expert advisor for MetaTrader 4 and 5 designed to monitor account health and prevent excessive drawdowns. It allows users to set specific triggers based on floating profit or loss, equity levels, free margin, spread, or daily performance. When these conditions are met, the EA auto
This expert advisor provides automated schedule management for the MetaTrader 4 and MetaTrader 5 platforms. It allows users to define specific time windows for each day of the week to toggle the platform's global AutoTrading status. Beyond simple scheduling, the utility can close active positions and delete pending ord
ICCapitals Secure is a risk management utility for MetaTrader 5. It acts as a supervisor to monitor and enforce trading parameters across an account. The expert advisor calculates position sizing based on a user-defined risk percentage per trade and manages risk-to-reward ratios. It features a timer-driven function to
Equity Protector is an account management utility for MetaTrader 5 designed to safeguard capital against significant drawdowns. It operates by monitoring account equity and balance at a user-defined frequency, such as every second. When the floating loss reaches a specified percentage or limit, the utility automaticall
Secure Risk Manager is a MetaTrader 5 utility designed to provide a framework for account protection and trade sizing. This expert advisor does not execute independent trade entries; rather, it functions as a risk control tool that calculates lot sizes based on a user-defined risk percentage and risk-to-reward ratios.
This collection of utilities for MetaTrader 5 focuses on protecting open positions during periods of high volatility or spread widening. The SpreadHourDodger tool manages stop loss orders during market rollover by either removing them entirely or widening them based on historical spread data stored in a CSV file. The N