Adding martingale to ea

MQL4 Indicadores Asesores Expertos

Trabajo finalizado

Plazo de ejecución 2 horas
Comentario del Ejecutor
Good Customer thank u
Comentario del Cliente
Very fast developer, work well done. thank you.

Tarea técnica

Hi. I need to add a martingale option to my EA. Here are the features:

1° - There should be a true/false option in the settings to activate/deactivate the martingale.

2° - The martingale should be independent from the existing "AutoLots" money management. So I will set manually the amounts of lots of the martingale (explained at point 5°).

3° - The martingale should work at the end of every trade, so that it modifies the lots of the next trade only after that the previous trade is closed.

4° - Then, if the previous trade is in profit, the same initial lots quantity is maintained, so for example if it starts the first trade with 0.01 lots and it wins, the next trade will be of 0.01 lots. Instead, if the trade is in loss, the EA should increase the lots in the next trade (by settable numbers in the settings - explained below), and it should increase the lots every time there is a loss (but with a limit - explained below), so that when it wins it recovers all the previous losses.

5° - There should be 20 parameters in the options where I will put every amount of lots of the martingale, so that I can customize them, for example:
     1°- 0.01
     2°- 0.02
     3°- 0.04
     4°- 0.07
     5°- 0.13
     ...and so on till 20°

6° - There should be a settable option of maximum number of bets of the martingale after a loss, so for example if I set "maximum number of bets" = 8, the ea should use the martingale for 8 times, and if I lose one time again (9 times) it doesn't increase lots again and takes all the 9 losses, AND after that big loss it should restart from the initial lots (ie. 0.01), doing the same as before so if it wins it should maintain the same lots AND if it loses it should restart to increase lots (ie. 0.01, 0.02, 0.04...).

I request the final source code in mq4 file.

Regards.



Han respondido

1
Desarrollador 1
Evaluación
(595)
Proyectos
927
46%
Arbitraje
31
39% / 29%
Caducado
93
10%
Trabaja
2
Desarrollador 2
Evaluación
(212)
Proyectos
246
45%
Arbitraje
42
10% / 57%
Caducado
5
2%
Libre
3
Desarrollador 3
Evaluación
(356)
Proyectos
632
26%
Arbitraje
89
73% / 13%
Caducado
12
2%
Libre
4
Desarrollador 4
Evaluación
(117)
Proyectos
138
41%
Arbitraje
30
7% / 77%
Caducado
17
12%
Libre
5
Desarrollador 5
Evaluación
(45)
Proyectos
59
14%
Arbitraje
31
26% / 52%
Caducado
35
59%
Libre
6
Desarrollador 6
Evaluación
(769)
Proyectos
1033
44%
Arbitraje
50
8% / 50%
Caducado
117
11%
Libre
7
Desarrollador 7
Evaluación
(163)
Proyectos
193
48%
Arbitraje
2
50% / 50%
Caducado
1
1%
Libre
8
Desarrollador 8
Evaluación
(620)
Proyectos
680
57%
Arbitraje
25
16% / 60%
Caducado
228
34%
Libre
9
Desarrollador 9
Evaluación
(7)
Proyectos
8
38%
Arbitraje
3
33% / 33%
Caducado
2
25%
Libre
10
Desarrollador 10
Evaluación
Proyectos
0
0%
Arbitraje
3
0% / 100%
Caducado
0
Libre
Solicitudes similares
we want to build a dashboard ea that would display on another chart key metrics : i will foward screeshot of what i want to dashboard to look like : the function i would need to get display are the following: 1. classified past performance ea by magic number ( with classic : total trade , total profit , return/dd , max dd (base on history) , ) 2. equity chart of performance if we click on a magic number we should
the task will be actually quiet simple , i need an active develloper to devellope out of 3 updates an ea STEP 1 (this job): make a classical pair trading ea , that can calculate correlation between assets and trade when the correlation diverge above a specified % the develloper that will postulate for the job will need : 1- to be ok to do the full project this job and the update following 2- very low arbitration , i
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 the 2 lines in the below pictures and then start to activate bids once they cross each other and then be able to manage all bids afterwards towards the direction of the market by opening and closing them intermittently and profitably until the position at the other
Hi man, How are u? I have an EA and I need to check few aspects of the code, if It works fine? I am looking for an expert coder, who can understand mt4 language and help us to solve this out. This job will hardly take about 3-4 hours max for an experienced coder, when explained detail. Also, I would like to give this to someone, who can understand and speak English well. Also, the coder should be able to come via
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. THREE TYPES OF ENTRIES 1: AGGRESSIVE 2: DIVERGENCE 3
Indicator in use: Bollinger Bands Mechanism (See diagrams provided for help) Sells: 1. Trigger candle: When candle low is above the top Bollinger band - accurate to the lowest point scale (e.g. On EURUSD if candle low is 1.07915 and the value of top bollinger is 1.07914 - this is a sell signal; or if on Futures if the increment is .25 or .10 then this is used) 2. Enter sell ONLY on the next candle if price breaks
Indicator in use: Bollinger Bands Mechanism: (See diagrams provided for help) Sells: 1. Trigger candle: When candle low is above the top Bollinger band - accurate to the point scale (e.g. On EURUSD if candle low is 1.07915 and the value of top bollinger is 1.07914 - this is a sell signal) 2. Enter sell ONLY on the next candle if price breaks below the trigger candle LOW (using the e.g. above- if next candle price
hey guys, im looking for an auto mt5 license system through a web app i have already, i simply want it so a unique license key is generated for memebers, they input this onto the EA input and then it checks if its valid. active license per user capped at 5. i already have an mt5 coder and dec team for the app so i dont know if youd prefer to intergrate onto the webapp yourself or simply provide the code and doc so my
I need a simple panel to execute both buy and sell operations with very basic things like stopp loss take profit that functions for both market orders such as buy stop sell stop buy limit sell limit I don't care about colors or design I just want how you can do it what interests me most are the functions
I want to create an EA that can take bids according to information of a logic I have developed to give indication of a BUY or SELL opportunity. The EA will then be able to activate the BUY at the lowest possible position once the indicator clears it for a BUY and take bid upwards or identify the highest point and clears it for a SELL and take bids downwards. As you can see from example of JULY 2024 data to see how

Información sobre el proyecto

Presupuesto
30+ USD
IVA (22%): 6.6 USD
Total: 36.6 USD
Para el ejecutor
27 USD
Plazo límite de ejecución
a 2 día(s)