SIMPLE MARTINGALE EA

MQL5 Asesores Expertos

Tarea técnica

I would like to create a very simple martingale EA.

The timeframe of reference will be the 1h.

I want it to be semi automatic, my contribution is just at the start. So I start the martingale with a buy or sell order and then the algorithm starts doing his thing.

Here is how the martingale needs to work : 

- When I open a trade, let's say a buy, if the trade is in loss at the end of the next hourly candle, we will open another trade and so on at the end of every hourly candle. Very simple

- the lot sizes need to be definable by me in advance.

- If the last hourly candle closed and the last trade is in loss of less than 3 pips (or a definable parameter) we don't open the next trade of the martingale

- only for the first trade of the martingale, if we do not hit TP, we open another order of the same size as the first one, no matter what. So even if we're in profit or in a loss of less than 3 pips, the second operation of the martingale needs to be opened (from there we have the classic algorithm that I described).

- I should be able to stop the EA from operating whenever I want without closing all the positions, this is in case I want to continue the martingale manually. I also want to be able to stop only one side. So let's say I'm in a buy and a sell martingale, I want to be able to tell the EA to stop working on the buy side and continue to work on the sell side.

- Buys and sells are managed separately, no link between the two. I need to be able to have both sell and buy martingales running at the same time if I want to.

- The TP should be at 4 pips from the mean price of the martingale and I want to be able to modify the TP.

- No sl needed


I think this is it and you have all you need. If you're interested and don't understand something, don't hesitate to ask.

PS : Image as example.



Archivos adjuntos:

PNG
IMG_6758.PNG
218.7 Kb

Han respondido

1
Desarrollador 1
Evaluación
(107)
Proyectos
166
33%
Arbitraje
12
25% / 33%
Caducado
0
Trabajando

Información sobre el proyecto

Presupuesto
30 - 50 USD
IVA (22%): 6.6 - 11 USD
Total: 37 - 61 USD
Para el ejecutor
27 - 45 USD
Plazo límite de ejecución
de 1 a 3 día(s)

Cliente

Encargos realizados1
Número de arbitrajes0