Dynamic stop loss and partial closures

MQL4 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 5 días

Tarea técnica

Hello MQL4 coders,

I need an Expert Advisor which handles two principal aspects of orders placed manually or by EA: dynamic stop loss (locking in profit) and partial closures.

The EA check that there is SL and TP values and calculates the risk reward ratio. Suppose that N is the distance between Entry and SL.

When the current price reaches a certain profit, the EA moves SL value defined in the following table.

Profit

Value of SL should be

1*N

First price when Profit > Commissions + Swap

2*N

1*N

...

...

x*N

Closure at TP

 

 

 

 

 

 

Also when the current price reaches a certain profit, we need the possibility to partially close the order. Suppose that M is the distance between Entry and TP.

The EA can partially close the order at 3 different levels (expressed as a percentage of M).

Levels

Closing Lots

TP1% of M

CLOSE1 % of Order Lots

TP2% of M

CLOSE2 %  of Order Lots

TP3% of M

CLOSE3 %  of Order Lots

 

 

 

 



The dynamic stop loss need to be compatible with the partial closures. If an order is partially closed, the stop loss should move dynamically on the basis of the N value when the order was opened.

The Expert is so simple, detailed and clear specs will follow.

 



Han respondido

1
Desarrollador 1
Evaluación
(620)
Proyectos
680
57%
Arbitraje
25
16% / 60%
Caducado
228
34%
Libre
2
Desarrollador 2
Evaluación
(590)
Proyectos
789
71%
Arbitraje
9
33% / 33%
Caducado
22
3%
Libre
3
Desarrollador 3
Evaluación
(97)
Proyectos
121
25%
Arbitraje
5
20% / 60%
Caducado
17
14%
Libre
4
Desarrollador 4
Evaluación
(117)
Proyectos
216
49%
Arbitraje
1
0% / 0%
Caducado
25
12%
Libre
5
Desarrollador 5
Evaluación
(258)
Proyectos
395
28%
Arbitraje
69
19% / 49%
Caducado
120
30%
Libre
6
Desarrollador 6
Evaluación
(563)
Proyectos
932
47%
Arbitraje
301
59% / 25%
Caducado
124
13%
Trabaja
7
Desarrollador 7
Evaluación
(89)
Proyectos
137
24%
Arbitraje
35
9% / 40%
Caducado
52
38%
Libre
Solicitudes similares
I would like an EA that follows exactly this steps to trade de daily candle. Watch the video and then see if you can do the task. https://www.youtube.com/watch?v=g3oDYq4P9ZE Document is one this link https://cdn.discordapp.com/attachments/1135977927469703230/1135978751461695598/Daily_Bias-TTrades_edu.pdf?ex=669a9a27&amp ;is=669948a7&hm=96de195f7e695a381c1261b065f67b94fae319d02a0c88641b146f8b2978320c& Should have
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of

Información sobre el proyecto

Presupuesto
20 - 35 USD
IVA (22%): 4.4 - 7.7 USD
Total: 24.4 - 42.7 USD
Para el ejecutor
18 - 31.5 USD
Plazo límite de ejecución
de 1 a 4 día(s)