Enhancements to an existing EA for managing pending orders (source code available)

MQL4 Uzman Danışmanlar

İş tamamlandı

Tamamlanma süresi: 9 gün
Müşteri tarafından geri bildirim
good developer
Geliştirici tarafından geri bildirim
Very Professional and Kind Manner, I recommend him to all honest developers.

İş Gereklilikleri

I already have an EA, namend here EA1, included source code, the behaviour is as follows:

1) a third party EA2, with magic number xxx is attached to chart and generates orders

2‌) EA1 is attached also to a chart, with same magic number xxx, and generates pending stop orders corresponding to orders generted by EA2

more in detail present situation is decribed here:

EA1 performs:

 - opening a new buy or sell stop order when EA2 creates a real one

 - closing the pending stop order when EA2 closes the corresponding real order. 

 

More in detail EA1 behaviour is: imagine a pending stop order (eg. BUY) becomes active,  and then hits TP or SL or TS and closes. in this case EA1 generates another pending order like the previous (eg. BUY)  at a pricing level that is at N pips from current price. so N=number of pips from current price for pending order regeneration, is a input parameter for your EA. the regenerated pending order inherits all the rest of parameters as the provious (size, TP, SL, TS).

the input parameters for EA1 are:

- order size

- SL in pips

- TP in pips

- distance from corresponding real order in pips

- trailing stop in pips

- regeneration distance from current price


----------------------------------------------------------------------------------


new enhancements for EA1


the requested enhacements are described as follows:


1) a traling-like feature will be added to pending orders. Trailing will apply to pending orders, that once created will be moved towards the price as this goes further in the opposite direction.


for example, for a buy stop pending order, say it will be created at price 1,04567, which is 2 pips from current price 1,04547.

as price goes lower, say 1,04537, pending order will be moved 1 pip down in order to keep 2 pips distance from current price, so at 1,04557.


Pending order Trailing feature can be enabled-disabled.



2) another feature will be added, which will be applied when a new pending order is generated, in detail:


1) if the previous order was closed for TP or TS, the new pending order will be created at distance D1 in pips from current price.

2) if the previous order was closed for SL, the new pending order will be created at distance D2 in pips from current price.


so D1 and D2 are two new input parameters for EA (in present version D1=D2, now we ask to make a difference)



Yanıtlandı

1
Geliştirici 1
Derecelendirme
(34)
Projeler
80
34%
Arabuluculuk
13
31% / 54%
Süresi dolmuş
19
24%
Serbest
2
Geliştirici 2
Derecelendirme
(28)
Projeler
47
23%
Arabuluculuk
13
31% / 15%
Süresi dolmuş
12
26%
Serbest
3
Geliştirici 3
Derecelendirme
(25)
Projeler
36
17%
Arabuluculuk
14
14% / 57%
Süresi dolmuş
3
8%
Serbest
Benzer siparişler
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px 'Helvetica Neue'} Hello Looking for someone to help me improve my current strategy on my own algorithm and to also add hedging mode
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
Please watch the video on this youtube channel and download the Indicator from there. https://www.youtube.com/watch?v=ldTomLu8DxE&amp ;t=32s Rules are explained on the video and the download of the indicator is on the same video
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
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

Proje bilgisi

Bütçe
20 - 40 USD
KDV (22%): 4.4 - 8.8 USD
Toplam: 24.4 - 48.8 USD
Geliştirici için
18 - 36 USD
Son teslim tarihi
from 2 to 4 gün