I need an EA that places pending orders X pips away from the open position.

MQL4 Experts Forex

Job finished

Execution time 3 days
Feedback from employee
Good customer. Thanks for your job. I am waiting for your further job.
Feedback from customer
Great work. Very satisfied with the results

Specification

Kindly keep in mind this is a trade management EA so it compliments a manual trading strategy. That means not everything is disclosed below.

I need an EA that places pending hedging orders X pips away from the open position.

The EA should d the following.

Step 1: Every time a position is opened whether manually or automatically, the EA should immediately place an opposite trade pending order "x" pips away with double the lot size of the opened trade. Where X is a variable i should input when attaching the EA.

for example - assuming x is 10 pips - if I open a sell order with  0.2 lots. Immediately the EA should open a hedging buy stop pending order with 0.4 lots 10 pips away from the sell order.

Step 2:

The pending order placed will have a take profit 10 pips away.

example using EURUSD: open sell with 0.2 lots at 1.18000, ea places buy stop at 1.18100 with 0.4 lots. The buy stop order take profit is 1.18200.

kindly note that buy stop only has a take profit and no stop loss.


if th sell order hits Take profit is hit( not described how) then the pending order should be taken out immediately.

All pending orders should be closed immediately if TP is hit at any point


step 3:

The EA should as well modify the stop loss order of the original trade - in the case the sell order at 1.18000 - to to the Take profit price of the hedging trade.

so, the stop loss of the original trade is similar to the take profit price of the pending buy stop order. in our case at the 1.18200 price.

we will use the following terms:

NT is the latest trade to be activated, either opened manually or automatically. So in our example above, NT is the Sell order at 1.18000 with 0.2 lots.

HEDGING PENDING ORDER as HPO.

BUY STOP is BS

SELL STOP is SS

TAKE PROFIT is TP

STOP LOSS is SL

so in our example above:

NT = 1.18000/0.2

HPO = BS/1.18100/ 0.4 lots

HPO  take profit = 1.18200

NT stop loss = 1.18200

step 4: very important - i call this the loop stage.

for this stage we will refer to the open trade - the sell order at 1.18000/0.2 lots - as NEWTRADE or NT

If the  BS/1.18100/ 0.4 lots is activated, then that HPO becomes our new NT.

So, the EA opens new pending order as follows: - keep in mind the "X" is constant

NT = BS/1.18100/0.4

HPO = SS/1.18000/0.8

HPO take profit = 1.17900

Remeber perviously, the EA had not assigned BS/1.18100/ 0.4 lots a stop loss. So now the EA should modify the stop loss for BS/1.18100/ 0.4 lots to be the same price as HPO SS/1.18000/0.8 take profit price at 1.17900.

so, HPO SS/1.18000/0.8 take profit and HPO BS/1.18100/ 0.4 lots (which is now NT) stop loss = 1.17900.

if TP is hit, pending orders are deleted.


step 5: If If the HPOSS/1.18000/0.8 lots is activated, then that HPO becomes our new NT.

hence our NT becomes SS/1.18000/0.8

HPO = BS/1.18100/1.6

HPO take profit = 1.18200

remember, again the EA modifies the SL for SS/1.18000/0.8 to be the same price as HPO = BS/1.18100/1.6 take profit which is 1.18200.

so HPO = BS/1.18100/1.6 take profit and SS/1.18000/0.8 stop loss = 1.18200.


If TP hit, then all pending orders deleted.

step 6. If HPO BS/1.18100/1.6 is activated, then the EA opens HPO SS/1.18000/3.2 and we repeat the loop/ process untill TP is hit.


Finally:::

the EA should have a stop guard feature where it closes all LOSING open trades after i lose "X" percentage equity in all charts. Example, if I loose 10% of my total equity, it closes all open LOSING positions just leaving the profitable positions. It should give an option to choose my "X" % stop loss.

IT should also print on the screen a live calculation of the -ve% equity and the stop loss %







Responded

2
Developer 2
Rating
(590)
Projects
789
71%
Arbitration
9
33% / 33%
Overdue
22
3%
Free
3
Developer 3
Rating
(1853)
Projects
3455
88%
Arbitration
73
40% / 15%
Overdue
265
8%
Free
5
Developer 5
Rating
(362)
Projects
504
40%
Arbitration
147
18% / 72%
Overdue
98
19%
Busy
6
Developer 6
Rating
(204)
Projects
280
34%
Arbitration
34
32% / 29%
Overdue
75
27%
Working
7
Developer 7
Rating
(22)
Projects
28
29%
Arbitration
3
0% / 67%
Overdue
7
25%
Free
8
Developer 8
Rating
(130)
Projects
210
40%
Arbitration
90
20% / 43%
Overdue
85
40%
Free
9
Developer 9
Rating
(563)
Projects
931
47%
Arbitration
302
59% / 25%
Overdue
123
13%
Working
10
Developer 10
Rating
(769)
Projects
1033
44%
Arbitration
50
8% / 50%
Overdue
117
11%
Free
11
Developer 11
Rating
(90)
Projects
118
17%
Arbitration
44
23% / 39%
Overdue
20
17%
Free
12
Developer 12
Rating
(10)
Projects
13
46%
Arbitration
0
Overdue
1
8%
Free
13
Developer 13
Rating
(94)
Projects
148
59%
Arbitration
16
38% / 13%
Overdue
25
17%
Free
14
Developer 14
Rating
(2409)
Projects
3026
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Free
15
Developer 15
Rating
(65)
Projects
87
39%
Arbitration
3
0% / 33%
Overdue
29
33%
Free
16
Developer 16
Rating
(1123)
Projects
1425
62%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
17
Developer 17
Rating
(263)
Projects
537
50%
Arbitration
55
40% / 36%
Overdue
224
42%
Free
18
Developer 18
Rating
(439)
Projects
545
25%
Arbitration
21
38% / 38%
Overdue
83
15%
Free
19
Developer 19
Rating
(49)
Projects
134
27%
Arbitration
62
13% / 53%
Overdue
58
43%
Free
20
Developer 20
Rating
(66)
Projects
143
34%
Arbitration
11
9% / 55%
Overdue
26
18%
Working
21
Developer 21
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
Similar orders
Hello, am looking for an expert that can code my expert advisor from the scratch and also adding my indicator to it, NOTE: the developer must be a professional and i need it within two days from now and also i need someone that can provide me with the test file before placing the order but will already be selected
Hello, am looking for an expert that can code my expert advisor from the scratch and also adding my indicator to it, NOTE: the developer must be a professional and i need it within two days from now and also i need someone that can provide me with the test file before placing the order but will already be selected
Can you get my drafts to work? Have to conditions in RSI and Stoch oscillators ,,,I have a draft but its not run,, you can help me? if iRsi <30 ordersend op_sell iStoch > 80 ordersend op_sell Period_15M Send Orders_Buy limit Pivot Price Send Orders_Sell Limit Pivot Price
Hello, am looking for an expert that can code my expert advisor from the scratch and also adding my indicator to it, NOTE: the developer must be a professional and i need it within two days from now and also i need someone that can provide me with the test file before placing the order but will already be selected
I need to develop an EA that based on SMC concept on any Forex Pairs and timeframe. The action flow of the EA will be as following link: https://fxopen.com/blog/en/smart-money-concept-and-how-to-use-it-in-trading/#:~:text=The%20Smart%20Money%20Concept%20(SMC)%20is%20a%20trading%20strategy%20focused,as%20banks%20and%20hedge%20funds. The EA's entry points will always be within the order block. The block will be
I recently bought an indicator, that sends out notifications for trades i need to place, on the notification these and SL and TP, so i want an EA that would automate that for me
SMART MONEY 30 - 49 USD
--- Job Title: EA Programmer for Smart Money Concept (Urgent) Job Description: We are seeking an experienced EA programmer to finalize a project focused on implementing the Smart Money Concept. The progress is at 80%, and we need someone to complete the remaining tasks within a week. Project Requirements: - Liquidity, CHoCh, and Return to OrderBlock: Implement these key components effectively into the Expert Advisor
I Need an advise which robot or how robot to execute trading in different items such as currencies, gold and silver etc. need this one to fit with my broker's MT4 and have other broker MT5. the time within one week to two weeks. price to fit with the desired performance and profitability. qoute in rental charges or for life time
I want to develop bot for MT4 and i will send pdf to explain in detail and you have any questions on it https://drive.google.com/drive/folders/1TPtn-THkqbLqf6kL_w09OD4vcmhOerIc?usp=sharing I will be looking for great developer to bid for it best regard
I am looking for a tool that will calculate the max adverse excursion before a trade closes in profit or loss. The toll needs to analyse historical trades and record this value for each trade. The purpose is to assist me calculate the best stop loss for using a martingale system

Project information

Budget
30 - 100 USD
For the developer
27 - 90 USD