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

MQL4 Experts Forex

Tâche terminée

Temps d'exécution 3 jours
Commentaires de l'employé
Good customer. Thanks for your job. I am waiting for your further job.
Commentaires du client
Great work. Very satisfied with the results

Spécifications

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 %







Répondu

2
Développeur 2
Évaluation
(590)
Projets
789
71%
Arbitrage
9
33% / 33%
En retard
22
3%
Gratuit
Publié : 8 codes
3
Développeur 3
Évaluation
(1931)
Projets
3552
88%
Arbitrage
73
40% / 15%
En retard
268
8%
Gratuit
5
Développeur 5
Évaluation
(365)
Projets
507
40%
Arbitrage
159
17% / 74%
En retard
99
20%
Chargé
6
Développeur 6
Évaluation
(204)
Projets
326
43%
Arbitrage
34
32% / 29%
En retard
83
25%
Gratuit
7
Développeur 7
Évaluation
(22)
Projets
28
29%
Arbitrage
3
0% / 67%
En retard
7
25%
Gratuit
8
Développeur 8
Évaluation
(130)
Projets
210
40%
Arbitrage
90
20% / 43%
En retard
85
40%
Gratuit
9
Développeur 9
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
10
Développeur 10
Évaluation
(772)
Projets
1039
44%
Arbitrage
50
8% / 50%
En retard
116
11%
Gratuit
11
Développeur 11
Évaluation
(90)
Projets
118
17%
Arbitrage
44
23% / 39%
En retard
20
17%
Gratuit
12
Développeur 12
Évaluation
(10)
Projets
13
46%
Arbitrage
0
En retard
1
8%
Gratuit
13
Développeur 13
Évaluation
(94)
Projets
148
59%
Arbitrage
16
38% / 13%
En retard
25
17%
Gratuit
Publié : 1 code
14
Développeur 14
Évaluation
(2676)
Projets
3416
68%
Arbitrage
77
48% / 14%
En retard
343
10%
Travail
Publié : 1 code
15
Développeur 15
Évaluation
(65)
Projets
87
39%
Arbitrage
3
0% / 33%
En retard
29
33%
Gratuit
16
Développeur 16
Évaluation
(1156)
Projets
1462
63%
Arbitrage
21
57% / 10%
En retard
43
3%
Gratuit
17
Développeur 17
Évaluation
(271)
Projets
553
50%
Arbitrage
57
40% / 37%
En retard
227
41%
Travail
18
Développeur 18
Évaluation
(453)
Projets
566
26%
Arbitrage
24
42% / 38%
En retard
85
15%
Gratuit
Publié : 6 codes
19
Développeur 19
Évaluation
(49)
Projets
134
27%
Arbitrage
62
13% / 53%
En retard
58
43%
Gratuit
Publié : 347 articles, 1 code
20
Développeur 20
Évaluation
(69)
Projets
146
34%
Arbitrage
13
8% / 62%
En retard
26
18%
Gratuit
Publié : 6 codes
21
Développeur 21
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
Commandes similaires
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

Informations sur le projet

Budget
30 - 100 USD