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

MQL4 Experts

Job finished

Execution time 9 days
Feedback from customer
good developer
Feedback from employee
Very Professional and Kind Manner, I recommend him to all honest developers.

Specification

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)



Responded

1
Developer 1
Rating
(34)
Projects
80
34%
Arbitration
13
31% / 54%
Overdue
19
24%
Free
2
Developer 2
Rating
(28)
Projects
47
23%
Arbitration
13
31% / 15%
Overdue
12
26%
Free
3
Developer 3
Rating
(25)
Projects
36
17%
Arbitration
14
14% / 57%
Overdue
3
8%
Free
Similar orders
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

Project information

Budget
20 - 40 USD
VAT (22%): 4.4 - 8.8 USD
Total: 24.4 - 48.8 USD
For the developer
18 - 36 USD
Deadline
from 2 to 4 day(s)