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
Published: 8 codes
3
Developer 3
Rating
(1931)
Projects
3552
88%
Arbitration
73
40% / 15%
Overdue
268
8%
Free
5
Developer 5
Rating
(365)
Projects
507
40%
Arbitration
159
17% / 74%
Overdue
99
20%
Loaded
6
Developer 6
Rating
(204)
Projects
326
43%
Arbitration
34
32% / 29%
Overdue
83
25%
Free
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
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
10
Developer 10
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
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
Published: 1 code
14
Developer 14
Rating
(2676)
Projects
3416
68%
Arbitration
77
48% / 14%
Overdue
343
10%
Working
Published: 1 code
15
Developer 15
Rating
(65)
Projects
87
39%
Arbitration
3
0% / 33%
Overdue
29
33%
Free
16
Developer 16
Rating
(1156)
Projects
1462
63%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
17
Developer 17
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
18
Developer 18
Rating
(453)
Projects
566
26%
Arbitration
24
42% / 38%
Overdue
85
15%
Free
Published: 6 codes
19
Developer 19
Rating
(49)
Projects
134
27%
Arbitration
62
13% / 53%
Overdue
58
43%
Free
Published: 347 articles, 1 code
20
Developer 20
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
21
Developer 21
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
Similar orders
I need an MT5 Expert Advisor (EA) specifically for NFP news trading. Strategy: - Trade EURUSD during the US Non-Farm Payroll (NFP) release. - Automatically identify the NFP release time. - Place a Buy Stop above the current price and a Sell Stop below the current price shortly before NFP. - Adjustable distance from current price for both pending orders. - When one order is triggered, automatically cancel the opposite
Bonjour ! Je vous ai contacté pour le développement de mon EA sur MetaTrader. Je souhaite intégrer une stratégie précise avec une gestion stricte des règles du courtier Exness. J'ai déjà préparé le cahier des charges complet sous format PDF avec toutes les spécifications techniques
SKBOT 35+ USD
want an MQL5 Expert Advisor (EA) for MetaTrader 5, mainly for XAUUSD (Gold). Strategy: The EA should trade based on market structure, Break of Structure (BOS), Fair Value Gaps (FVG), Order Blocks (OB), and Fibonacci retracement levels. BUY setup: Detect bullish market structure. Detect a bullish Break of Structure (BOS). Identify the relevant bullish FVG and/or Order Block created around the structure move. Use
Chciał bym w tej grze poznać dużo i zrozumieć ciężko bez języka mam tylko sms na gry nie mam kieszonkowych i kiepsko się trzymam finansowo żeby czasem myślę gdzie będę
​ Indicators: Fast MA (Period 10, Exponential) and Slow MA (Period 50, Exponential). ​ Buy Signal: When Fast MA crosses above Slow MA. ​ Sell Signal: When Fast MA crosses below Slow MA. ​ Risk Management & Parameters: ​Customizable Lot Size (Default: 0.01). ​Stop Loss (SL) and Take Profit (TP) in pips. ​Trailing Stop options. ​Max Spread filter. ​ Platform: MetaTrader 5 (MQL5)
​ Indicators: Fast MA (Period 10, Exponential) and Slow MA (Period 50, Exponential). ​ Buy Signal: When Fast MA crosses above Slow MA. ​ Sell Signal: When Fast MA crosses below Slow MA. ​ Risk Management & Parameters: ​Customizable Lot Size (Default: 0.01). ​Stop Loss (SL) and Take Profit (TP) in pips. ​Trailing Stop options. ​Max Spread filter. ​ Platform: MetaTrader 5 (MQL5)
I am looking for an experienced MQL5/MT5 developer to develop a custom Expert Advisor based on a complete technical architecture already prepared by the client. This is not a request to design a trading strategy from scratch . The strategy architecture, entry/exit concepts, filters, risk-management requirements and testing requirements are already documented. The main responsibility will be MQL5 development
Ready to use bot 100+ USD
seller must provide the following to be considered... i will answer to all who fit this description, and can purchase more than 1 EA... - brief strategy description - overall EA expectancy - 1 week limited trial version, with whatever settings you consider best (can be blocked on demo, i don't really care) - investor password from a reputable broker (if history is available... live / demo, same thing, doesn't really
can you help me use a Tickblaze Algo NRBO on the NT platform? I have it somewhat set up, but I have other questions about running it & knowing how to operate it in NT. Thank you if anyone have experience in this kindly bib and let do it asap
I need a fully automated custom Expert Advisor for MetaTrader 5 (MQL5). The EA is intended for use on a The5ers $100,000 2-Step prop-firm account. IMPORTANT DELIVERY REQUIREMENT: I must receive the complete editable .mq5 source code as well as the compiled .ex5 file. Compiled-only delivery is NOT acceptable. The EA must be coded specifically for this project and must not copy trades, use external trading signals or

Project information

Budget
30 - 100 USD