Fix A Few Bugs In EA

MQL4 Esperti

Specifiche

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.

      

Con risposta

1
Sviluppatore 1
Valutazioni
(320)
Progetti
521
66%
Arbitraggio
52
21% / 38%
In ritardo
165
32%
In elaborazione
2
Sviluppatore 2
Valutazioni
(107)
Progetti
149
36%
Arbitraggio
29
3% / 55%
In ritardo
35
23%
Gratuito
3
Sviluppatore 3
Valutazioni
(49)
Progetti
134
27%
Arbitraggio
62
13% / 53%
In ritardo
58
43%
Gratuito
4
Sviluppatore 4
Valutazioni
(103)
Progetti
205
41%
Arbitraggio
17
29% / 71%
In ritardo
45
22%
Gratuito
5
Sviluppatore 5
Valutazioni
(2)
Progetti
2
0%
Arbitraggio
13
8% / 92%
In ritardo
1
50%
Gratuito
6
Sviluppatore 6
Valutazioni
(2422)
Progetti
3042
66%
Arbitraggio
77
48% / 14%
In ritardo
340
11%
In elaborazione
7
Sviluppatore 7
Valutazioni
(34)
Progetti
80
34%
Arbitraggio
13
31% / 54%
In ritardo
19
24%
Gratuito
8
Sviluppatore 8
Valutazioni
(91)
Progetti
144
38%
Arbitraggio
67
15% / 48%
In ritardo
55
38%
Gratuito
9
Sviluppatore 9
Valutazioni
(121)
Progetti
134
66%
Arbitraggio
36
25% / 56%
In ritardo
22
16%
Gratuito
10
Sviluppatore 10
Valutazioni
(272)
Progetti
394
63%
Arbitraggio
70
53% / 26%
In ritardo
198
50%
Gratuito
11
Sviluppatore 11
Valutazioni
(59)
Progetti
182
55%
Arbitraggio
31
45% / 16%
In ritardo
103
57%
Gratuito
12
Sviluppatore 12
Valutazioni
(264)
Progetti
538
50%
Arbitraggio
55
40% / 36%
In ritardo
224
42%
In elaborazione
13
Sviluppatore 13
Valutazioni
(586)
Progetti
1047
49%
Arbitraggio
39
28% / 41%
In ritardo
49
5%
Gratuito
14
Sviluppatore 14
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
15
Sviluppatore 15
Valutazioni
(1)
Progetti
4
25%
Arbitraggio
1
0% / 100%
In ritardo
1
25%
Gratuito
Ordini simili
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

Informazioni sul progetto

Budget
60 - 150 USD
Per lo sviluppatore
54 - 135 USD
Scadenze
da 2 a 5 giorno(i)