Auto close trade based on position count

MQL5 Esperti

Lavoro terminato

Tempo di esecuzione 3 giorni
Feedback del cliente
Very good developer! Highly recommended.
Feedback del dipendente
Very good customer, I will glad to work with you again.

Specifiche

Hi,

I need an EA to do below work.


When a new position is open, check if there are more than 1 active positions in same direction.

If there are, close positions in that direction until only 1 left.

The EA should have a setting to choose which position should be left in above step.

Setting option 1) close trades by create time, leave the latest

Setting option 2) close trades by create time, leave the earliest

Setting option 3) close trades by profit/loss, leave the one with max profit

Setting option 4) close trades by profit/loss, leave the one with max loss


Check position's direction only, do not consider symbol type.

Con risposta

1
Sviluppatore 1
Valutazioni
(176)
Progetti
235
46%
Arbitraggio
17
82% / 12%
In ritardo
35
15%
In elaborazione
2
Sviluppatore 2
Valutazioni
(57)
Progetti
75
25%
Arbitraggio
9
33% / 56%
In ritardo
8
11%
Gratuito
3
Sviluppatore 3
Valutazioni
(376)
Progetti
398
31%
Arbitraggio
62
19% / 69%
In ritardo
50
13%
In elaborazione
4
Sviluppatore 4
Valutazioni
(879)
Progetti
1392
67%
Arbitraggio
117
32% / 42%
In ritardo
215
15%
Gratuito
5
Sviluppatore 5
Valutazioni
(74)
Progetti
73
47%
Arbitraggio
2
50% / 50%
In ritardo
2
3%
Gratuito
6
Sviluppatore 6
Valutazioni
(40)
Progetti
76
39%
Arbitraggio
0
In ritardo
0
Gratuito
7
Sviluppatore 7
Valutazioni
(5)
Progetti
6
0%
Arbitraggio
3
0% / 100%
In ritardo
0
Gratuito
8
Sviluppatore 8
Valutazioni
(42)
Progetti
62
8%
Arbitraggio
12
58% / 42%
In ritardo
1
2%
Gratuito
9
Sviluppatore 9
Valutazioni
(41)
Progetti
54
4%
Arbitraggio
5
0% / 60%
In ritardo
4
7%
Gratuito
10
Sviluppatore 10
Valutazioni
(9)
Progetti
8
0%
Arbitraggio
5
0% / 80%
In ritardo
1
13%
In elaborazione
11
Sviluppatore 11
Valutazioni
(253)
Progetti
408
38%
Arbitraggio
85
44% / 19%
In ritardo
70
17%
In elaborazione
12
Sviluppatore 12
Valutazioni
(34)
Progetti
60
23%
Arbitraggio
11
73% / 9%
In ritardo
3
5%
Gratuito
13
Sviluppatore 13
Valutazioni
(236)
Progetti
418
34%
Arbitraggio
53
36% / 40%
In ritardo
153
37%
Occupato
14
Sviluppatore 14
Valutazioni
(34)
Progetti
49
43%
Arbitraggio
3
0% / 33%
In ritardo
14
29%
In elaborazione
Ordini simili
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px 'Helvetica Neue'} Hello Looking for someone to help me improve my current strategy on my own algorithm and to also add hedging mode
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
Please watch the video on this youtube channel and download the Indicator from there. https://www.youtube.com/watch?v=ldTomLu8DxE&amp ;t=32s Rules are explained on the video and the download of the indicator is on the same video
I would like an EA that follows exactly this steps to trade de daily candle. Watch the video and then see if you can do the task. https://www.youtube.com/watch?v=g3oDYq4P9ZE Document is one this link https://cdn.discordapp.com/attachments/1135977927469703230/1135978751461695598/Daily_Bias-TTrades_edu.pdf?ex=669a9a27&amp ;is=669948a7&hm=96de195f7e695a381c1261b065f67b94fae319d02a0c88641b146f8b2978320c& Should have
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks

Informazioni sul progetto

Budget
30 - 50 USD
Per lo sviluppatore
27 - 45 USD
Scadenze
da 1 a 5 giorno(i)