Money manager EA

MQL4 Experts

Job finished

Execution time 15 days
Feedback from customer
good work
Feedback from employee
Good Communicator, and easy to work with! Highly recommended.

Specification

I need an EA cutting loss positions every specific timeframe, if a specified (balance - equity)/balance % is reached.
Parameters should be the following:

N° DescriptionValueExplanation
 1TFM1, M5, M15, and so onThe TF at which EA performs controls
 2(Balance - Equity)/Balance %% choosen by me (i.e. 5%, 10%, and so onThe % over which EA starts to cut positions at loss
 3Trades to cutdigit valutThe number (1,2,3...) of deals to be cutted each TF if Equity/balance % is crossed
 4Deals to cut1) The oldest
2) The youngest
3) The Lowest loss (absolute value in dollars, euros etc.)
4) The Greatest loss (absolute value in dollars, euros etc.)
5) The Lowest pips 
6) The Greatest pips 
1) EA cuts the oldest position (hour/date) accordingly to number in point 3
2) EA cuts the youngest position (hour/date) accordingly to number in point 3
3) EA cuts the position with lowest loss
4) EA cuts the position with greatest loss
5) EA cuts the position with greatest distance (in pips) from entry price
6) EA cuts the position with lowest distance (in pips) from entry price

Suppose the following parameters:
=====
TF = 5M
Equity/Balance % = 25%
Trades to cut = 3
Deals to cut = The Oldest
In this scenario, EA every 5 minutes checks if (balance - equity)/balance crosses over 25%. If not EA do not performs anything. If Yes, starts to cut positions accordingly to others parameters. If Yes, EA cuts 3 oldest positions.
EA then waits next 5 minutes, and performs a new check on (balance - equity)/balance %. If again over 25%, a new cut of 3 position is performed.
=====

Another example:
=====
TF  = 1H
Equity/Balance % = 30%
Trades to cut = 1
Deals to cut = The Greatest pips
In this scenario, EA every 1 hour checks if (balance - equity)/balance crosses over 30%. If not EA do not performs anything. If Yes, starts to cut positions accordingly to others parameters. If Yes, EA cuts 1 position, with greatest distance from entry price than all the other ones (EA considers only distance about deals in loss).
EA then waits next 1 hour, and performs a new check on (balance - equity)/balance %. If again over 30%, a new cut of 1 position is performed.
=====


Please also consider that:
Deals to be cutted comes from another EA.

Responded

1
Developer 1
Rating
(4)
Projects
4
0%
Arbitration
0
Overdue
1
25%
Free
Similar orders
Hello, I want this project to be a complete redesign, not just an update. My goal is to build an institutional-grade TradingView indicator that is extremely accurate, stable, fast, and completely non-repainting. You are free to modify, delete, replace, or completely rewrite any part of the code if it improves the final result. I don't care about preserving the current code or appearance—I only care about building the
I have few EAs that I want to place on market, but I can't due to some errors, please help me, because I am not a programmer. Source of code required, bug free version, ony my computer it must works not only on your computer
Hello dear all developers, I will find here python programmers? I would like to create an Expert Advisor, if you can you can convert, because I already have Expert Advisor written in mql5 or maybe you will create a bridge? it's up to you, but I need 1:1 copy
Hello! I am searching a professional programmer for regular works. I don't care if you have 1 projects done or 1000, show me your skills. I need to create an EA based on Zig Zag indicator and candlestick patterns, EA must works on all time frames, source of code required
My EA have bug 30+ USD
Expert Advisor have a bug, I tried to fix it somehow with searching on google, but I couldn't fix find a solution. Please fix it, I will send you erorr type, what line etc. Only serious programmers, not amateur please. My time is precious
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo
{ "strategy_name": "M5 EMA Scalper", "timeframe": "M5", "indicators": { "ema_fast": 20, "ema_slow": 50, "rsi": 14, "atr": 14 }, "entry_rules": { "buy": [ "EMA20 > EMA50", "Price closes above EMA20", "RSI > 55" ], "sell": [ "EMA20 < EMA50", "Price closes below EMA20", "RSI < 45" ] }, "risk_management": { "risk_per_trade": 1.0, "stop_loss_atr": 1.5, "take_profit_rr": 2.0
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
Hello All, can someone help me to make an EA base on MACD, https://www.mql5.com/en/code/14669 and RSI. If you are able to make this than please get me in touch, i will appreciated Thanks and best Regards Kodj007
EA 45 - 205 USD
If EMA20 > EMA50 AND RSI > 55 AND No Open Position THEN Buy SL = 50 pips TP = 100 pips If Profit > 30 pips Move SL to Break Even If Profit > 50 pips Enable Trailing Stop

Project information

Budget
30+ USD
Deadline
to 3 day(s)