GHTech Risk Management monitors various drawdown levels, including weekly, monthly, and emergency thresholds, and enforces trading pauses if these limits are exceeded. The tool also evaluates trading performance by checking the risk-to-reward ratio of historical trades against user-defined minimums. It allows for strict control over risk per trade and total risk across all open orders based on a fixed initial balance. The README is missing, so configuration relies on the input parameters.
Read from RiskManagement.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InitBalance
long
10000
risk per trade is based on the initial balance which is set at year start
RiskPerTrade
double
0.02
risk per trade
MaxRiskTotalTrade
double
0.03
max risk of total orders
MaxWeeklyDrawDown
double
0.04
Max weekly drawdown
MaxMonthlyDrawDown
double
0.06
Max monthly drawdown
EmergencyStop
double
0.1
Stop trading for two weeks if 10% drawdown is reached
MaxDrawDownAllowed
double
0.2
Max allowed drawdown
StopTradingDaysOL
int
5
Min stop trading days because of loss is over risk limit
MinLoss
double
-10
Min loss as a filter
MinRRRatioPerTrade
double
1.5
Min RR ratio
MinRRRatioHistory
double
1.8
Min RR history ratio
MinHisTradesToCalRRR
int
5
the min number of transactions to calculate the RR ratio
Show all 16 inputs
Name
Type
Default
Description
LastTradesToCalRRR
int
3
calculate the last 3-10 trades RR ratio
StopTradingDaysRR
int
5
Min stop trading days because of history RR ratio < MinRRRatioHistory
GMToffset
int
-6
Mountain Daylight Time -6, Mountain time -7;
ServerTimeGMToffset
int
3
server time and GMT offset
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone godcryhe/Experts from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
3Copy the filesCopy the .mq4 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
JT Prop Firm Trade Manager is a risk management utility for MetaTrader 4 designed to protect accounts from violating equity and drawdown rules. It monitors daily loss limits and maximum drawdown, allowing users to configure thresholds in either currency or percentage. The tool features time-based filters to restrict ov
Prop Firm Manager is a risk management utility for MetaTrader 4 designed to help traders comply with prop firm rules and protect account equity. The tool monitors maximum loss per trade and daily drawdown limits using either fixed dollar amounts or percentages. It manages trading sessions by restricting overnight and w
This MetaTrader 4 collection provides a set of utilities focused on risk management and order execution. It includes scripts and expert advisors designed to automate the closing of open positions and the removal of pending orders. The logic specifically targets closing trades that have reached a specific gain threshold
This MetaTrader 4 utility calculates and displays a five percent daily drawdown limit directly on the chart. It determines the daily starting balance by analyzing the account history and subtracting current-day profits from the total balance. Designed as a monitoring tool for traders following specific risk management