Fix A Few Bugs In EA

MQL4 Experts

Termos de Referência

This is a sort of martingale kind of EA with ~2700 lines of code.
1) Baskets lose count of trades when stoploss is hit
     - eg if max trades is set at 3, when 3 trades are open and first trade hits its stoploss a fourth trade is opened.
This shouldn't happen as it keeps repeating i.e. a fifth, sixth, seventh etc etc trade is opened and keeps multiplying up the lot size.
Max trades should be for that whole basket, not just currently open trades.
2) With an FXCM account I still get trades being placed with no TP or SL as the modifyorder fails due to multiple attempts overlapping.
fyi FXCM price feed sends approximately 4 times as many ticks as other brokers and I am running VPS on a multi core processor.
There needs to be tighter control in the code to ensure trade commands are only sent once as multiple ticks could be processed by separate cores.
MT4 doesn't wait for one tick to finish processing before starting the next, it runs as multithread. Suggest using global variables to ensure trade commands
are sent one at a time, ideally with time gap between to cover execution delay.
And code should check for any missing TP or SLs and add them, or close trades if they are already hit.

      

Respondido

1
Desenvolvedor 1
Classificação
(320)
Projetos
521
66%
Arbitragem
52
21% / 38%
Expirado
165
32%
Trabalhando
2
Desenvolvedor 2
Classificação
(107)
Projetos
149
36%
Arbitragem
29
3% / 55%
Expirado
35
23%
Livre
3
Desenvolvedor 3
Classificação
(49)
Projetos
134
27%
Arbitragem
62
13% / 53%
Expirado
58
43%
Livre
4
Desenvolvedor 4
Classificação
(103)
Projetos
205
41%
Arbitragem
17
29% / 71%
Expirado
45
22%
Livre
5
Desenvolvedor 5
Classificação
(2)
Projetos
2
0%
Arbitragem
13
8% / 92%
Expirado
1
50%
Livre
6
Desenvolvedor 6
Classificação
(2422)
Projetos
3042
66%
Arbitragem
77
48% / 14%
Expirado
340
11%
Trabalhando
7
Desenvolvedor 7
Classificação
(34)
Projetos
80
34%
Arbitragem
13
31% / 54%
Expirado
19
24%
Livre
8
Desenvolvedor 8
Classificação
(91)
Projetos
144
38%
Arbitragem
67
15% / 48%
Expirado
55
38%
Livre
9
Desenvolvedor 9
Classificação
(121)
Projetos
134
66%
Arbitragem
36
25% / 56%
Expirado
22
16%
Livre
10
Desenvolvedor 10
Classificação
(272)
Projetos
394
63%
Arbitragem
70
53% / 26%
Expirado
198
50%
Livre
11
Desenvolvedor 11
Classificação
(59)
Projetos
182
55%
Arbitragem
31
45% / 16%
Expirado
103
57%
Livre
12
Desenvolvedor 12
Classificação
(264)
Projetos
538
50%
Arbitragem
55
40% / 36%
Expirado
224
42%
Trabalhando
13
Desenvolvedor 13
Classificação
(586)
Projetos
1047
49%
Arbitragem
39
28% / 41%
Expirado
49
5%
Livre
14
Desenvolvedor 14
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
(1)
Projetos
4
25%
Arbitragem
1
0% / 100%
Expirado
1
25%
Livre
Pedidos semelhantes
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
The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform
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
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it

Informações sobre o projeto

Orçamento
60 - 150 USD
Desenvolvedor
54 - 135 USD
Prazo
de 2 para 5 dias