Dynamic stop loss and partial closures

MQL4 Uzman Danışmanlar

İş tamamlandı

Tamamlanma süresi: 5 gün

İş Gereklilikleri

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.

 



Yanıtlandı

1
Geliştirici 1
Derecelendirme
(620)
Projeler
680
57%
Arabuluculuk
25
16% / 60%
Süresi dolmuş
228
34%
Serbest
2
Geliştirici 2
Derecelendirme
(590)
Projeler
789
71%
Arabuluculuk
9
33% / 33%
Süresi dolmuş
22
3%
Serbest
3
Geliştirici 3
Derecelendirme
(97)
Projeler
121
25%
Arabuluculuk
5
20% / 60%
Süresi dolmuş
17
14%
Serbest
4
Geliştirici 4
Derecelendirme
(117)
Projeler
216
49%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
25
12%
Serbest
5
Geliştirici 5
Derecelendirme
(258)
Projeler
395
28%
Arabuluculuk
69
19% / 49%
Süresi dolmuş
120
30%
Serbest
6
Geliştirici 6
Derecelendirme
(563)
Projeler
932
47%
Arabuluculuk
301
59% / 25%
Süresi dolmuş
124
13%
Çalışıyor
7
Geliştirici 7
Derecelendirme
(89)
Projeler
137
24%
Arabuluculuk
35
9% / 40%
Süresi dolmuş
52
38%
Serbest
Benzer siparişler
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

Proje bilgisi

Bütçe
20 - 35 USD
KDV (22%): 4.4 - 7.7 USD
Toplam: 24.4 - 42.7 USD
Geliştirici için
18 - 31.5 USD
Son teslim tarihi
from 1 to 4 gün