Write a code to execute trades when SL is hit

MQL5 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 2 días
Comentario del Cliente
Great Job
Comentario del Ejecutor
Thanks

Tarea técnica

p.p1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131}


p.p1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131} li.li1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131} ol.ol1 {list-style-type: decimal}

I have an EA that open trades when my entry conditions are met. It usually executes one trade per day. I'd like to add an option to be able to execute more trades in the same direction of the initial trade when the SL is hit. 

It needs to add positions every time the SL is reached until whether 

  1. TP is hit, or
  2. 2. Maximum number of trades is reached.

Lot size: add the losing position to the next position (for example, if the first position lose 200$, you add the 200$, to the profit of the 2nd posn and etc.) See the profits and losses written in yellow in the image.

SL and TP: every added position will need to have the same SL and TP distance.

Input needed: Maximum number of trades

It is important that the code take into consideration that it can have two or more trades open at the same time for the same symbol.

I can provide the EA I have written if you need it.


Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(21)
Proyectos
20
10%
Arbitraje
2
50% / 50%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(206)
Proyectos
336
16%
Arbitraje
23
39% / 30%
Caducado
18
5%
Ocupado
3
Desarrollador 3
Evaluación
(25)
Proyectos
33
15%
Arbitraje
6
33% / 50%
Caducado
5
15%
Trabaja
4
Desarrollador 4
Evaluación
(9)
Proyectos
12
42%
Arbitraje
0
Caducado
0
Libre
5
Desarrollador 5
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(186)
Proyectos
189
76%
Arbitraje
2
100% / 0%
Caducado
0
Libre
7
Desarrollador 7
Evaluación
(1)
Proyectos
1
100%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(3)
Proyectos
5
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(89)
Proyectos
99
35%
Arbitraje
3
0% / 0%
Caducado
1
1%
Trabajando
10
Desarrollador 10
Evaluación
(394)
Proyectos
498
39%
Arbitraje
84
37% / 32%
Caducado
13
3%
Ocupado
11
Desarrollador 11
Evaluación
(378)
Proyectos
401
31%
Arbitraje
63
19% / 70%
Caducado
51
13%
Trabajando
12
Desarrollador 12
Evaluación
(39)
Proyectos
44
30%
Arbitraje
4
25% / 25%
Caducado
0
Trabaja
13
Desarrollador 13
Evaluación
(26)
Proyectos
33
21%
Arbitraje
0
Caducado
2
6%
Trabaja
14
Desarrollador 14
Evaluación
(260)
Proyectos
422
38%
Arbitraje
86
44% / 19%
Caducado
70
17%
Ocupado
15
Desarrollador 15
Evaluación
(28)
Proyectos
34
26%
Arbitraje
0
Caducado
1
3%
Trabaja
16
Desarrollador 16
Evaluación
Proyectos
1
0%
Arbitraje
2
0% / 0%
Caducado
0
Trabaja
Solicitudes similares
If you think you can replicate EA ("reverse engineering") from Metarader's Market, and create a new EA from scratch that works 100% the same - please send an offer. I have already managed to find out many features of that EA (entry times, risk management, averaging, trailing...) but I still miss a few
Candle wick bot The bot will have a set amount of wick length to enter trade at candle open price, there will be a set Amount in points that the candle wick has to be to then enter that opposite of the wick direction Settings will look like this : Timeframe: (meaning which candles you’re using to measure open price from for the wick length ) If set to 5 min it’ll be using 5 min candles , if set to 15 it’ll use 15
Looking for a developer to create an MT4 EA based on a custom currency strength indicator and simple moving average. Will provide currency strength indicator code to the selected developer. Buy rules If the EA added in the EURUSD chart and EUR has a currency strength above or equal to 6 and USD has strength less than 2. Wait for the prices comes back to SMA and open the buy trade if the price closes above SMA. Place
I have an equity reporter. This equity reporter displays the maximum and minimum equity reached over a specific interval. So, if the interval is set to 24 hours, the script will generate data in the format: "Profit ATT" (profit AtThatTime) shows max./min. during the specific interval This specific report shows data in pips. It can also be set to display in price or percentages. The interval is also easily adjustable
Sistema HTF EFECTIVO 30 - 60 USD
Hola, me gustaría que un programador experimentado creea un sistema de trading EA que abra y cierre operaciones muy rápido en segundos (HFT). Sería óptimo tener una opción/botón para activar solo para comprar o solo para vender (operaciones unidireccionales). Con una buena interfaz gráfica de usuario. Se agradece la implementación de su propia experiencia con sistemas de trading HFT. Es para mercados volátiles como
Hello, I would like an experienced programmer to create an EA trading system which opens and closes trades very fast within seconds (HFT). To have an option/button to activate either for only buy or only sell (one way trading) would be optimal. With a nice GUI. Implementing your own experience with HFT trading systems is welcomed. It's for volatile markets such as XAUUSD or US30. Taking advantage of order placements
The strategy is a martingale type . i.e if it hits the stop loss , it will double the lot size and place again in that direction, and when it hits the take profit at any level of the martingale, it will start over from the first lot size used initially
I want you to make me an indicator in Training View. Its idea is very simple, and I want it to have an alarm. Here's a clearer step-by-step guide to checking the last 50 candles on your chart and applying Fibonacci retracement levels based on their colors: Identify Candle Color: Start from the 100th candle from the left on the chart and check its color. If the 100th candle is green (i.e., the close is higher than the
I'm looking for a developer to assist in creating an Expert Advisor (EA) for use in a prop firm. The EA should be designed for the MT4 trading platform and include the following features: Scalping strategy Maximum drawdown of 3% Please let me know if you're interested and capable of handling this project
Hello, is it possible to be made accommodation of provided signal for Forex for mt4? I bought a signal for multiple pairs. it is executing all pair.I want to use it on couple of pairs.Is it possible to be made some modifications?I do not have codes for the signal

Información sobre el proyecto

Presupuesto
50 - 100 USD
Para el ejecutor
45 - 90 USD