SIMPLE MARTINGALE EA

MQL5 Experten

Spezifikation

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.



Dateien:

PNG
IMG_6758.PNG
218.7 Kb

Bewerbungen

1
Entwickler 1
Bewertung
(107)
Projekte
166
33%
Schlichtung
12
25% / 33%
Frist nicht eingehalten
0
Beschäftigt

Projektdetails

Budget
30 - 50 USD
MwSt (22%): 6.6 - 11 USD
Insgesamt: 37 - 61 USD
Für die Entwickler
27 - 45 USD
Ausführungsfristen
von 1 bis 3 Tag(e)

Kunde

Veröffentlichte Aufträge1
Anzahl der Schlichtungen0