Fix A Few Bugs In EA

MQL4 Experts

Spécifications

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.

      

Répondu

1
Développeur 1
Évaluation
(320)
Projets
521
66%
Arbitrage
52
21% / 38%
En retard
165
32%
Travail
2
Développeur 2
Évaluation
(107)
Projets
149
36%
Arbitrage
29
3% / 55%
En retard
35
23%
Gratuit
3
Développeur 3
Évaluation
(49)
Projets
134
27%
Arbitrage
62
13% / 53%
En retard
58
43%
Gratuit
4
Développeur 4
Évaluation
(103)
Projets
205
41%
Arbitrage
17
29% / 71%
En retard
45
22%
Gratuit
5
Développeur 5
Évaluation
(2)
Projets
2
0%
Arbitrage
13
8% / 92%
En retard
1
50%
Gratuit
6
Développeur 6
Évaluation
(2422)
Projets
3042
66%
Arbitrage
77
48% / 14%
En retard
340
11%
Travail
7
Développeur 7
Évaluation
(34)
Projets
80
34%
Arbitrage
13
31% / 54%
En retard
19
24%
Gratuit
8
Développeur 8
Évaluation
(91)
Projets
144
38%
Arbitrage
67
15% / 48%
En retard
55
38%
Gratuit
9
Développeur 9
Évaluation
(121)
Projets
134
66%
Arbitrage
36
25% / 56%
En retard
22
16%
Gratuit
10
Développeur 10
Évaluation
(272)
Projets
394
63%
Arbitrage
70
53% / 26%
En retard
198
50%
Gratuit
11
Développeur 11
Évaluation
(59)
Projets
182
55%
Arbitrage
31
45% / 16%
En retard
103
57%
Gratuit
12
Développeur 12
Évaluation
(264)
Projets
538
50%
Arbitrage
55
40% / 36%
En retard
224
42%
Travail
13
Développeur 13
Évaluation
(586)
Projets
1047
49%
Arbitrage
39
28% / 41%
En retard
49
5%
Gratuit
14
Développeur 14
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
15
Développeur 15
Évaluation
(1)
Projets
4
25%
Arbitrage
1
0% / 100%
En retard
1
25%
Gratuit
Commandes similaires
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'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
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

Informations sur le projet

Budget
60 - 150 USD
Pour le développeur
54 - 135 USD
Délais
de 2 à 5 jour(s)