Fix A Few Bugs In EA

MQL4 전문가

명시

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.

      

응답함

1
개발자 1
등급
(320)
프로젝트
521
66%
중재
52
21% / 38%
기한 초과
165
32%
작업중
2
개발자 2
등급
(107)
프로젝트
149
36%
중재
29
3% / 55%
기한 초과
35
23%
무료
3
개발자 3
등급
(49)
프로젝트
134
27%
중재
62
13% / 53%
기한 초과
58
43%
무료
4
개발자 4
등급
(103)
프로젝트
205
41%
중재
17
29% / 71%
기한 초과
45
22%
무료
5
개발자 5
등급
(2)
프로젝트
2
0%
중재
13
8% / 92%
기한 초과
1
50%
무료
6
개발자 6
등급
(2422)
프로젝트
3042
66%
중재
77
48% / 14%
기한 초과
340
11%
작업중
7
개발자 7
등급
(34)
프로젝트
80
34%
중재
13
31% / 54%
기한 초과
19
24%
무료
8
개발자 8
등급
(91)
프로젝트
144
38%
중재
67
15% / 48%
기한 초과
55
38%
무료
9
개발자 9
등급
(121)
프로젝트
134
66%
중재
36
25% / 56%
기한 초과
22
16%
무료
10
개발자 10
등급
(272)
프로젝트
394
63%
중재
70
53% / 26%
기한 초과
198
50%
무료
11
개발자 11
등급
(59)
프로젝트
182
55%
중재
31
45% / 16%
기한 초과
103
57%
무료
12
개발자 12
등급
(264)
프로젝트
538
50%
중재
55
40% / 36%
기한 초과
224
42%
작업중
13
개발자 13
등급
(586)
프로젝트
1047
49%
중재
39
28% / 41%
기한 초과
49
5%
무료
14
개발자 14
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
15
개발자 15
등급
(1)
프로젝트
4
25%
중재
1
0% / 100%
기한 초과
1
25%
무료
비슷한 주문
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

프로젝트 정보

예산
60 - 150 USD
개발자에게
54 - 135 USD
기한
에서 2  5 일