Create an EA to close half of trade when profit hits specific amount per lot

MQL4 Experts Scripts

Tâche terminée

Temps d'exécution 2 jours
Commentaires du client
Great to work with, recommended

Spécifications

Hi, 

So I want it to automatically close a trade (Partially) if the profit per lot hits a specific number.


Like if I have a trade open with 0.06 lots if profit hits $5 per 0.01 lot (total $30) then close half trade (AUTOMATCALLY for any open trade)

so An order should automatically close at Given TP or partially close when it hits $5 per 0.01 lot in profit (whichever comes first).


I want it to have 2 levels, first level will close xx% of of trade when it it hits $yy per 0.01 lots and second level will close the rest EXCEPT the last 0.01 lot at a specific $zz per 0.01 lot. (after the second level is Triggered the order should have only 0.01 lot left open). 


xx, yy, zz are variables I should be able to set ( xx - percentage of order closure in step one, yy, zz - profit per 0.01 lot in both steps)


There should be an option to only enable step 1 or only step 2 or both. (I should be able to use only 1 rule or both rules). 

This should apply to all orders opened in the trading account. 

Also I use another EA to copy signals (open , close or edit trades) from telegram, but I don't think this should be a problem as you can run more than 1 EA in one account right?


Thanks, let me know if you have any questions. 


-Syed 




Répondu

1
Développeur 1
Évaluation
(137)
Projets
167
35%
Arbitrage
11
91% / 0%
En retard
0
Gratuit
2
Développeur 2
Évaluation
(23)
Projets
45
20%
Arbitrage
25
28% / 48%
En retard
12
27%
Gratuit
3
Développeur 3
Évaluation
(45)
Projets
59
14%
Arbitrage
31
26% / 52%
En retard
34
58%
Gratuit
4
Développeur 4
Évaluation
(308)
Projets
553
35%
Arbitrage
79
32% / 42%
En retard
200
36%
Chargé
5
Développeur 5
Évaluation
(180)
Projets
233
20%
Arbitrage
21
43% / 19%
En retard
0
Travail
Commandes similaires
Need MT5 Expert Advisor base on my strategy XAUUSD Fast scalping, Grid , Martingale, TP, SL trailing buy sell both also add magic number fully atumated advance strategy Pro version 24 hours running trades close in profit directly open new trade
Freeallfree 400 - 800 USD
Professional MT5 EA – XAUUSD I need a professional Expert Advisor for MT5 (MQL5) to trade XAUUSD only. This is not a random scalping bot. The EA must trade only high-probability liquidity breakouts during active sessions and avoid ranging or low-volatility markets. Symbol: XAUUSD Timeframe: M15 (optional H1 confirmation) Session filter (Dubai GMT+4): Trade only London and New York sessions Adjustable session times No
Hi Developers, I am looking for a EA based on EURUSD where EA is taking multiple trades in a day with small profits in each trade. Looking for some EA based on HFT trading, scalping
My EA has serious problems and needs full improvement and optimization. Problems: No Stop Loss and Take Profit No risk management system High drawdown and losses Opens multiple trades at same entry (overtrading) No maximum trades per day limit No maximum open trades per symbol No trailing stop Poor entry logic and weak signals Trades open very late (after many days) No equity protection system No daily loss limit No
i need a trading bot that can make 100% profit in 1 day. with capital less than $200 i know this is risky but am willing to take the risk. ea has to be backtestable and also i will test for just 5 random days to make sure it works. and make a purchase if am satisfied with the 5days results. send back test results for me to consider and reply
EA MUSYOKA 35+ USD
//+------------------------------------------------------------------+ //| TrendPullbackEA.mq5 | //| Copyright 2024, EA DENIS MUSYOKA Trading Robot | //+------------------------------------------------------------------+ #property strict #property copyright "Copyright 2024" #property version "1.00" // 1. Include the Trade Library (Fixes OrderSend errors) #include
Hello, good day to you Developers, I am looking for someone that can deliver on a project with the following requirements: The job I am about to give out will involve "Tradingview" and "Metatrader 5" Tradingview: for analysis, as the Strategy uses one second charts/candles, Metatrader 5: for executing and managing the trades. For this EA to work well for the project's aims, SPEED of execution is of upmost
Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance service
Hi, I need a simple MT5 EA. Based on my simple trading strategy I'm going to discuss with you If you have experience in this kindly bid for this project Thanks
An Expert KBFX 30+ USD
Fill orders first execution and real time trading, my strategy is that wait for clean confirmation before entering the market and fill orders for a snappier entrance,then execute trade after making profit on the position

Informations sur le projet

Budget
35+ USD