Money manager EA

MQL4 Experts

Job finished

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

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
Gold liquidity expert 40 - 60 USD
#property strict #property version "1.00" #property description "XAUUSD Liquidity Sweep + Fibonacci Extension EA" #include <Trade/Trade.mqh> CTrade trade; //==================== INPUT SETTINGS ==================== input group "01. Strategy" input ENUM_TIMEFRAMES SignalTimeframe = PERIOD_CURRENT; input double SL_Buffer_Points = 20; input ulong MagicNumber = 20261122; input group "02. Fibonacci Extension" input double
أحتاج إلى مطور MQL5 ذو خبرة لإنشاء مستشار خبير آلي بالكامل ل MetaTrader 5. المتطلبات: - رمز التداول: XAUUSD (ذهبي) - الإطار الزمني: M5 - حجم القطعة الثابت: 0.01 - صفقات شراء وبيع تلقائية - وقف الخسارة وجني الأرباح - حماية يومية قصوى من الخسارة - حد أقصى لصفقة مفتوحة واحدة في كل مرة - إدارة المخاطر ومرشح الانتشار - لا توجد استراتيجية خطيرة للمارتينجيل أو الشبكة - الاختبار الرجعي والتحسين - كود مصدر MQ5 الكامل وملف EX5
1. Platform & Scope Platform: MetaTrader 5 (MQL5) Expert Advisor. Target market / symbols: [Specify symbols, e.g., EURUSD, XAUUSD, or all chart symbols]. Timeframe: [Specify timeframe, e.g., M15, H1, or input parameter for timeframe]. Trading mode: [Specify: Hedging or Netting], with configurable MagicNumber. 2. Entry & Exit Logic Entry conditions: [List exact buy and sell entry rules, e.g., EMA crossover + RSI
This utility manages the stop loss of positions that are already open, whether you opened them by hand or with another Expert Advisor. It never opens or closes trades by itself: it only moves the stop loss, and only in your favour. What it does Break-even: when a position reaches the profit you choose (in points), the stop moves to the entry price plus a small locked profit. Trailing stop: after a second profit
Robert for life money's cash maximum 16mb the jobs future linuox Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event . When the event occurs, the robot checks the emergence of trading signals and acts
Hi there I need someone who knows how to create smart ea,s but this must fool the broker spread meaning ,, it must make an spread that it had been paid but ,it had not placef an order buy if it place an order it will Start at 00 meaning it has foil the broker spread message Me if you can or any plan you have
MultiScalping 30+ USD
Je souhaite un robot avec une dizaine d'indicateurs sélectionnables en entrée et aussi en SL puis suiveurs. L'objectif de se robot est de me permettre de tester plusieurs backtest avec un ou plusieurs paramètres en M1. TOUS LES indicateurs sont sélectionnables avec: - oui/non - SL et Stop Suiveur - Croisement avec le prix - croisement de l'oscillateur à 0 - utilisation de l'une autre période (type M5 , ....) - retour
Trading system 45+ USD
Hello, I’m looking for a developer with experience in machine learning and automated trading systems. If so, could you please share some examples of your previous work or projects you have completed? I would like to review your experience and capabilities before proceeding. Thank you
RFP Reference: EA-MT5-001/2026 Issue Date: 20 November 2026 Issued By: Private Investor – United Arab Emirates Proposal Submission Deadline: 10 business days from publication Project Type: Fixed-price software development with milestone-based acceptance Confidentiality: Private and Confidential 1. Invitation to Submit Proposal We invite qualified software developers, MQL5 programmers and algorithmic trading
Okay, this is a big one for MT5 traders. Let's do it properly. In Python, the "Merge Tool" usually means 2 things: 1. *Merge MT5 data from different symbols / timeframes into one DataFrame* 2. *Plot it as a clean graph* Here is a complete working setup: *Step 1: Install* pip install MetaTrader5 pandas matplotlib mplfinance *Step 2: Full Code - Get MT5 Data + Merge + Plot* import MetaTrader5 as mt5 import pandas as pd

Project information

Budget
30+ USD
Deadline
to 3 day(s)