Hedge EA with Martingale

MQL5 Experts

Spécifications

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.

Répondu

1
Développeur 1
Évaluation
(16)
Projets
23
26%
Arbitrage
1
0% / 0%
En retard
2
9%
Gratuit
2
Développeur 2
Évaluation
(2350)
Projets
2956
63%
Arbitrage
125
44% / 26%
En retard
429
15%
Travail
3
Développeur 3
Évaluation
(634)
Projets
741
34%
Arbitrage
49
53% / 39%
En retard
14
2%
Travail
4
Développeur 4
Évaluation
(298)
Projets
478
40%
Arbitrage
105
40% / 24%
En retard
82
17%
Chargé
Publié : 2 codes
5
Développeur 5
Évaluation
(328)
Projets
333
71%
Arbitrage
2
100% / 0%
En retard
0
Gratuit
Publié : 1 code
6
Développeur 6
Évaluation
(2677)
Projets
3420
68%
Arbitrage
77
48% / 14%
En retard
343
10%
Travail
Publié : 1 code
7
Développeur 7
Évaluation
(50)
Projets
51
8%
Arbitrage
0
En retard
0
Gratuit
8
Développeur 8
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
9
Développeur 9
Évaluation
(11)
Projets
17
59%
Arbitrage
2
0% / 100%
En retard
2
12%
Gratuit
10
Développeur 10
Évaluation
(45)
Projets
91
13%
Arbitrage
34
26% / 59%
En retard
37
41%
Gratuit
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit

Informations sur le projet

Budget
30 - 50 USD
Délais
à 1 jour(s)