MT% Risk Manager is a simple yet powerful Risk Management Expert Advisor (EA) designed for the MetaTrader 5 (MT5) platform.
It helps traders automatically calculate the lot size based on account balance and predefined risk percentage per trade.
By default, this EA risks 0.5% of the total account balance per trade and uses horizontal lines drawn on the chart to determine the Entry, Stop Loss (SL), and Take Profit (TP) levels.
- ✅ Automatically calculates lot size based on account balance and stop-loss distance.
- ✅ Default risk per trade: 0.5% of account balance.
- ✅ Uses horizontal lines to define:
- Entry Line: Named
Entry
- Stop Loss Line: Named
SL
- Take Profit Line: Named
TP
- Entry Line: Named
- ✅ Simple and intuitive: just draw the lines and let the EA handle the rest.
- ✅ Works on any symbol and timeframe.
- ✅ Ensures one trade per setup to prevent overtrading.
- Attach the EA to your preferred chart.
- Draw three horizontal lines and name them exactly as:
Entry
for entry price.SL
for stop-loss level.TP
for take-profit level.
- The EA will automatically:
- Calculate the correct lot size based on your stop-loss distance and account size.
- Place a trade when the market price reaches your entry point.
- The EA will not place a new trade until the current trade is complete.
Parameter | Description | Default |
---|---|---|
RiskPercent | Percentage of account balance to risk | 0.5 |
EntryLineName | Name of the horizontal entry line | Entry |
StopLossLineName | Name of the stop-loss horizontal line | SL |
TakeProfitLineName | Name of the take-profit horizontal line | TP |
- The EA does not manage trailing stop or break-even — it strictly handles entry and lot sizing based on risk.
- Make sure the line names are correctly typed (case-sensitive).
- Always test the EA in a demo account before using it in live trading.
- Add a user interface (UI) for more interactive lot size adjustments.
- Include dynamic risk % selection.
- Add trailing stop and break-even features.
- Notification on trade execution.
This EA is provided for educational and personal use only. Trading in the financial markets involves risk. Please test thoroughly and use appropriate risk management. The author is not responsible for any losses incurred.
For updates or support:
Amal Jeev
[Visit my MQL5 profile](https://www.mql5.com](https://www.mql5.com/en/users/amaljeev)