Close single positions of any symbol of a certain day

MQL5 Indicadores Experts

Termos de Referência

Hello,


i have an existing EA where i check if there are open positions on any symbol and on the same day

it is programmed with two for loops but is does not work.

it closes some positions but not all single positions



if there is one position on any symbol on a certain day  : close that position

if there are more positions on that symbol on a certain day  : do nothing



so close all single positions of each symbol on a certain day and do not nothing if there are more 



Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(21)
Projetos
20
10%
Arbitragem
2
50% / 50%
Expirado
0
Trabalhando
2
Desenvolvedor 2
Classificação
(22)
Projetos
27
37%
Arbitragem
1
100% / 0%
Expirado
3
11%
Trabalhando
3
Desenvolvedor 3
Classificação
(172)
Projetos
245
22%
Arbitragem
17
65% / 18%
Expirado
1
0%
Carregado
4
Desenvolvedor 4
Classificação
(403)
Projetos
707
49%
Arbitragem
57
16% / 49%
Expirado
130
18%
Trabalhando
5
Desenvolvedor 5
Classificação
(440)
Projetos
546
25%
Arbitragem
21
38% / 38%
Expirado
83
15%
Trabalhando
6
Desenvolvedor 6
Classificação
(214)
Projetos
347
16%
Arbitragem
22
41% / 32%
Expirado
18
5%
Ocupado
7
Desenvolvedor 7
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
8
Desenvolvedor 8
Classificação
(11)
Projetos
26
27%
Arbitragem
3
0% / 0%
Expirado
1
4%
Carregado
9
Desenvolvedor 9
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(59)
Projetos
78
26%
Arbitragem
9
33% / 56%
Expirado
8
10%
Livre
11
Desenvolvedor 11
Classificação
(42)
Projetos
62
8%
Arbitragem
12
58% / 42%
Expirado
1
2%
Livre
12
Desenvolvedor 12
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
0
Trabalhando
13
Desenvolvedor 13
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
14
Desenvolvedor 14
Classificação
(167)
Projetos
188
32%
Arbitragem
6
50% / 50%
Expirado
2
1%
Trabalhando
15
Desenvolvedor 15
Classificação
(2442)
Projetos
3079
66%
Arbitragem
77
48% / 14%
Expirado
340
11%
Livre
16
Desenvolvedor 16
Classificação
(63)
Projetos
194
73%
Arbitragem
4
100% / 0%
Expirado
1
1%
Trabalhando
17
Desenvolvedor 17
Classificação
(1)
Projetos
2
50%
Arbitragem
1
100% / 0%
Expirado
0
Livre
18
Desenvolvedor 18
Classificação
(98)
Projetos
121
40%
Arbitragem
9
89% / 0%
Expirado
0
Trabalhando
19
Desenvolvedor 19
Classificação
(36)
Projetos
46
37%
Arbitragem
0
Expirado
0
Livre
20
Desenvolvedor 20
Classificação
(158)
Projetos
175
43%
Arbitragem
6
0% / 67%
Expirado
8
5%
Livre
21
Desenvolvedor 21
Classificação
(43)
Projetos
59
61%
Arbitragem
2
50% / 0%
Expirado
6
10%
Trabalhando
Pedidos semelhantes
I want to modify my Expert Advisor and add the following details below 1. Add Money Flow Index Indicator (can be enable and disable) 2. Add Range 3. Add Range Multipier and level 4. Add lot multiplier and increment 5. Add TP by level Tp1 and Tp2 6. Add Trailing ( Trailing Start and Stop) 7. Add Max Percentage to Stop 8. Add Balance and Equity on the screen Please see attached picture what it precisely look like
I require an MT4 Expert Advisor (EA) that automatically places hedge orders when a buy or sell order is placed by me or another EA. The hedge orders will consist of a stop order (either Buy Stop or Sell Stop), with the same lot size as the original order, deployed at a predefined price distance. The EA must ensure that only one hedge order is placed for each trade. The system should monitor trades based on specific
Hello Developers, I am interested in purchasing the source code of ready-made Expert Advisors (EAs) with a proven live account track record. The drawdown must be minimal, and I am not looking for risky strategies. I am open to purchasing from multiple sellers, and pricing will depend on the EA's performance, functionality, and features. If you are confident in your work, please send over the investor credentials
Renko EA 30 - 150 USD
I want a Renko EA similar to the one I have, because I want the source code. The Renko EA will have the mode presets described, the Renko EA will be live, it will be for MT5, it will be saved under Expert Advisors. Please see the attached file for specifications. Please let me know if you have any questions
For Chart Panel : Needs a Black Back ground at present its transparent . ✔️ Trading Panel (To be reset weekly = 1-6) 1. EA Status : (on/off) 2. Total Trades Taken : 3. Number of Profitable Trades Today : 4. Number of Loosing Trades Today : 5. Number of Profitable Trades This Week : 6. Number of Loosing Trades This Week : (To be Reset every Month = 7-9) 7. Number of Profitable Trades This Month : 8. Number of Loosing
I’m looking for windows tool that can convert csv file to metastock data format Like the attachment Data more than 364 days Data type: stock data E xample file (csv) attached named: AG
//+------------------------------------------------------------------+ //| EngulfingBot.mq5 | //| Copyright 2024, Your Name | //| https://yourwebsite.com | //+------------------------------------------------------------------+ input double TakeProfit = 50; // Take profit dalam pips input double StopLoss = 30; // Stop loss dalam pips input double LotSize
Ich will den oben erwähnten RSI Divergence Indicator als Expert Advisor eins zu eins umgesetzt haben. In MQL5, mit Code. Die Input Felder gemäss Muster sind ebenfalls 1 zu 1 zu übernehmen. Wer kann mich in diesem kleinen Auftrag unterstützen
Only bid if you can complete the task with the stated amount. I need someone to do some 3 main changes to my EA. The chaeges are outlined in the doc I will provide. We'll first have to do the first change, then we'll proceed to now fully engage and have the projrct awarded
I have more detailed audio/ video attached Close All and restart = tru ___________________________________________ RULES EA MQL5 EA requirements below. MQ5 source code The EA must work in strategy tester with out any errors. The EA must be efficient, must execute trades quickly and not slow down if placed on many charts. require MQ5 source code when code is completed

Informações sobre o projeto

Orçamento
30+ USD
IVA (21%): 6.3 USD
Total: 36 USD
Desenvolvedor
27 USD

Cliente

(1)
Pedidos postados2
Número de arbitragens0