Fix A Few Bugs In EA

MQL4 Asesores Expertos

Tarea técnica

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.

      

Han respondido

1
Desarrollador 1
Evaluación
(320)
Proyectos
523
66%
Arbitraje
52
21% / 38%
Caducado
167
32%
Libre
2
Desarrollador 2
Evaluación
(107)
Proyectos
149
36%
Arbitraje
29
3% / 55%
Caducado
35
23%
Libre
3
Desarrollador 3
Evaluación
(49)
Proyectos
134
27%
Arbitraje
62
13% / 53%
Caducado
58
43%
Libre
4
Desarrollador 4
Evaluación
(103)
Proyectos
205
41%
Arbitraje
17
29% / 71%
Caducado
45
22%
Libre
5
Desarrollador 5
Evaluación
(2)
Proyectos
2
0%
Arbitraje
13
8% / 92%
Caducado
1
50%
Libre
6
Desarrollador 6
Evaluación
(2428)
Proyectos
3057
66%
Arbitraje
77
48% / 14%
Caducado
340
11%
Trabaja
7
Desarrollador 7
Evaluación
(34)
Proyectos
80
34%
Arbitraje
13
31% / 54%
Caducado
19
24%
Libre
8
Desarrollador 8
Evaluación
(91)
Proyectos
144
38%
Arbitraje
67
15% / 48%
Caducado
55
38%
Libre
9
Desarrollador 9
Evaluación
(121)
Proyectos
134
66%
Arbitraje
36
25% / 56%
Caducado
22
16%
Libre
10
Desarrollador 10
Evaluación
(272)
Proyectos
394
63%
Arbitraje
70
53% / 26%
Caducado
198
50%
Libre
11
Desarrollador 11
Evaluación
(59)
Proyectos
182
55%
Arbitraje
31
45% / 16%
Caducado
103
57%
Libre
12
Desarrollador 12
Evaluación
(266)
Proyectos
540
50%
Arbitraje
55
40% / 36%
Caducado
224
41%
Libre
13
Desarrollador 13
Evaluación
(586)
Proyectos
1048
49%
Arbitraje
39
28% / 41%
Caducado
49
5%
Libre
14
Desarrollador 14
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
15
Desarrollador 15
Evaluación
(1)
Proyectos
4
25%
Arbitraje
1
0% / 100%
Caducado
1
25%
Libre
Solicitudes similares
Creating of an expert advisor or trading bot that uses a Top Down analysis (using monthly, weekly, daily, hourly, minutes ( 30, 15, 5, 1) to determine trade direction or trend direction and makes multiple trade decisions for mt4. You can use or combine accurate trend indicators
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hello, I want to create an EA that can be able to take and optimise trade bids using the trend tracker concept I have developed. The tracker will monitor 2 lines to determine the trend of the market and afterwards take bids towards the correct direction. It will also be able to use a distance between the bids for the direction of the trend and plan a reverse bid when the price of the extreme doesn’t change again. The
Gradient boosting and L2 100 - 200 USD
I am looking for a well experienced programmer to put/implement a gradient boosting algorithm and an L2 to reduce overfitting in my ea which l already have which uses indicators . If you are experienced please adhere
Hello, I'm looking for a developer for repair calendar in EA MT4/MT5 (News Filter - https://ec.forexprostools.com ) for all windows servers. Note: EA MT4/MT5 works with calendar on PC Win 10, 11 but not on all windows servers. I have the source code and will post within the comments section for review. If you are able to do this and quality. Please apply. Thanks
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
SCALP MARTINCALE SPY TIMEFRAME 1MIN CANDLE - SHORT SIDE ONLY 1-SET RISK : A IS A VARIABLE (HOW MUCH $) 2-SET ATR(3) : SET THE TIME AT WHICH THE ATR SHOULD BE TAKEN, IF SET 933AM THEN THE ATR OF THE 1MIN CANDLE AT 933AM CANDLE WILL BE USED (ROUND AT 0.25 UP OR DOWN) *USE NEW YORK TIME 3-SET MAX NUMBER OF ENTRY : B IS A VARIABLE 4-SET RSI(14) / C IS A VARIABLE, IF RSI(14) > C = ORDERS OPEN 5-IF RSI(14) > C IS TRIGGERED

Información sobre el proyecto

Presupuesto
60 - 150 USD
Para el ejecutor
54 - 135 USD
Plazo límite de ejecución
de 2 a 5 día(s)