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

MQL4 Asesores Expertos Fórex

Trabajo finalizado

Plazo de ejecución 3 días
Comentario del Ejecutor
Good customer. Thanks for your job. I am waiting for your further job.
Comentario del Cliente
Great work. Very satisfied with the results

Tarea técnica

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 %







Han respondido

2
Desarrollador 2
Evaluación
(590)
Proyectos
789
71%
Arbitraje
9
33% / 33%
Caducado
22
3%
Libre
3
Desarrollador 3
Evaluación
(1853)
Proyectos
3455
88%
Arbitraje
73
40% / 15%
Caducado
265
8%
Libre
5
Desarrollador 5
Evaluación
(362)
Proyectos
504
40%
Arbitraje
147
18% / 72%
Caducado
98
19%
Ocupado
6
Desarrollador 6
Evaluación
(204)
Proyectos
280
34%
Arbitraje
34
32% / 29%
Caducado
75
27%
Trabajando
7
Desarrollador 7
Evaluación
(22)
Proyectos
28
29%
Arbitraje
3
0% / 67%
Caducado
7
25%
Libre
8
Desarrollador 8
Evaluación
(130)
Proyectos
210
40%
Arbitraje
90
20% / 43%
Caducado
85
40%
Libre
9
Desarrollador 9
Evaluación
(563)
Proyectos
931
47%
Arbitraje
301
59% / 25%
Caducado
123
13%
Trabaja
10
Desarrollador 10
Evaluación
(769)
Proyectos
1033
44%
Arbitraje
50
8% / 50%
Caducado
117
11%
Libre
11
Desarrollador 11
Evaluación
(90)
Proyectos
118
17%
Arbitraje
44
23% / 39%
Caducado
20
17%
Libre
12
Desarrollador 12
Evaluación
(10)
Proyectos
13
46%
Arbitraje
0
Caducado
1
8%
Libre
13
Desarrollador 13
Evaluación
(94)
Proyectos
148
59%
Arbitraje
16
38% / 13%
Caducado
25
17%
Libre
14
Desarrollador 14
Evaluación
(2420)
Proyectos
3040
66%
Arbitraje
77
48% / 14%
Caducado
340
11%
Trabaja
15
Desarrollador 15
Evaluación
(65)
Proyectos
87
39%
Arbitraje
3
0% / 33%
Caducado
29
33%
Libre
16
Desarrollador 16
Evaluación
(1127)
Proyectos
1429
62%
Arbitraje
21
57% / 10%
Caducado
43
3%
Libre
17
Desarrollador 17
Evaluación
(264)
Proyectos
538
50%
Arbitraje
55
40% / 36%
Caducado
224
42%
Trabaja
18
Desarrollador 18
Evaluación
(439)
Proyectos
545
25%
Arbitraje
21
38% / 38%
Caducado
83
15%
Libre
19
Desarrollador 19
Evaluación
(49)
Proyectos
134
27%
Arbitraje
62
13% / 53%
Caducado
58
43%
Libre
20
Desarrollador 20
Evaluación
(66)
Proyectos
143
34%
Arbitraje
10
10% / 60%
Caducado
26
18%
Libre
21
Desarrollador 21
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
Solicitudes similares
I have a full code ,, There are some errors in this.It does not add to the chart, does not show arrow marks, does not alert ,, fix this problem and work properly,, Contact on telegram @Gw_rakib1
Capable of Trading on all pears. Need a HFT EA with an %80 to %97 profit returns that may have a very very low with or without drawdown. It should have a good Gui panel showing statistics. It has to use candlestick pattern such as (pin bars, inside bar, engulfed bar)at a significant tuning point as a supply and demand zone. Always wait for retest before placing a stop order with the trailing stop loss on one
Job Description: We are seeking an experienced EA programmer to create an EA that utilizes SnR + Trendlines + Multi timeframe confluence Project Requirements: - Support and Resistance, Open Close levels/kissing candles/Rejection block, Support broken becomes Resistance(SbR), Resistance broken becomes Support(RbS), Quasimodo Levels, Asian Range, London Killzone, London Open, New York Killzone, New York Open
Job Description: We are seeking an experienced EA programmer to create an EA that utilizes SnR + Trendlines + Multi timeframe confluence Project Requirements: - Support and Resistance, Open Close levels/kissing candles/Rejection block, Support broken becomes Resistance(SbR), Resistance broken becomes Support(RbS), Quasimodo Levels, Asian Range, London Killzone, London Open, New York Killzone, New York Open
Need EA programmer to create an MT4 EA that will be able to leverage trades in favour of the market direction ,the EA should be able to operate to any broker. The EA must trade on a clear trend not when the Market is ranging. More will be explained once your application has been accepted for the job
I want an Expert advisor, that follows the Trend Scanner MT5 1.8. But i want to set de Rist to Reward Ratio. I want to set the Balance of the Equity. in %. I want to set the Maximal Drawdown per Day. I want to set a Tralinig Stop (Start, Distance etc. must be Dynamic, that for example the Trailin Distance will increase when the Trad does well). I want to set the maximum of Open Trades at one Time. Is Such a method
Range breakout 30+ USD
I need a 1st 3hour candle range breakout ea. With take profit and Stop loss levels in points. That Range clearly shown in colour shades. I need that ea ASAP
Auria2.0 30+ USD
I would like to get your help with compiling my EA ihave my code written in MQL5 when I compile it shows that my strategy have errors bit ican only identify few as I'm not familiar with MQL5 what's in it for you?well after compiling Auria you will get to keep her if you find her interesting
Hi, I need someone to develop an EA for MT5 to address the following issue: I trade using Local Trade Copier and have encountered problems with several of my receiver accounts. Sometimes, these accounts do not open the same number of positions, or they open double positions. Therefore, I need an EA that can identify and show me which positions are not matching the positions opened on the master account (transmitter)
Hello! I want to make an EA according to the Indicator, I have the mql4 file. When you accept my work, I will send you the file. After making the EA, I can test it for 4 days. I will send you the rules: - Indicator with an up arrow, after closing the candle, buy; - Indicator with a down arrow, after closing the candle, sell; Note: Open a trade only when the arrow changes on the chart. The EA should not open a trade

Información sobre el proyecto

Presupuesto
30 - 100 USD
Para el ejecutor
27 - 90 USD