Hedge EA with Martingale

MQL5 Esperti

Specifiche

Let's develop an EA for MT5.


Indicators:

Bollinger Bands with customizable period and deviation.

Moving Average with customizable period.


Financial Manager:

Customizable initial lot size

Customizable Martingale multiplier (with decimals)

Customizable Take Profit (TP)

Customizable Stop Loss (SL)


Trading Logic:

if no open orders and the last trade hit TP:

Use the initial lot size.

If the moving average is above the middle band of the Bollinger Bands: open a buy order.

If the moving average is below the middle band of the Bollinger Bands: open a sell order.


if no open orders and the last trade hit SL:

Apply the Martingale multiplier to the last lot size.

Open a trade in the opposite direction of the last trade.


Please provide the complete MQL5 code for this EA.

Con risposta

1
Sviluppatore 1
Valutazioni
(16)
Progetti
23
26%
Arbitraggio
1
0% / 0%
In ritardo
2
9%
Gratuito
2
Sviluppatore 2
Valutazioni
(2350)
Progetti
2956
63%
Arbitraggio
125
44% / 26%
In ritardo
429
15%
In elaborazione
3
Sviluppatore 3
Valutazioni
(634)
Progetti
741
34%
Arbitraggio
49
53% / 39%
In ritardo
14
2%
In elaborazione
4
Sviluppatore 4
Valutazioni
(298)
Progetti
478
40%
Arbitraggio
105
40% / 24%
In ritardo
82
17%
Caricato
Pubblicati: 2 codici
5
Sviluppatore 5
Valutazioni
(328)
Progetti
333
71%
Arbitraggio
2
100% / 0%
In ritardo
0
Gratuito
Pubblicati: 1 codice
6
Sviluppatore 6
Valutazioni
(2677)
Progetti
3420
68%
Arbitraggio
77
48% / 14%
In ritardo
343
10%
In elaborazione
Pubblicati: 1 codice
7
Sviluppatore 7
Valutazioni
(50)
Progetti
51
8%
Arbitraggio
0
In ritardo
0
Gratuito
8
Sviluppatore 8
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
(11)
Progetti
17
59%
Arbitraggio
2
0% / 100%
In ritardo
2
12%
Gratuito
10
Sviluppatore 10
Valutazioni
(45)
Progetti
91
13%
Arbitraggio
34
26% / 59%
In ritardo
37
41%
Gratuito
11
Sviluppatore 11
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito

Informazioni sul progetto

Budget
30 - 50 USD
Scadenze
a 1 giorno(i)