Hedge EA with Martingale

MQL5 EA

명시

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.

응답함

1
개발자 1
등급
(16)
프로젝트
23
26%
중재
1
0% / 0%
기한 초과
2
9%
무료
2
개발자 2
등급
(2350)
프로젝트
2956
63%
중재
125
44% / 26%
기한 초과
429
15%
작업중
3
개발자 3
등급
(634)
프로젝트
741
34%
중재
49
53% / 39%
기한 초과
14
2%
작업중
4
개발자 4
등급
(298)
프로젝트
478
40%
중재
105
40% / 24%
기한 초과
82
17%
로드됨
게재됨: 2 코드
5
개발자 5
등급
(328)
프로젝트
333
71%
중재
2
100% / 0%
기한 초과
0
무료
게재됨: 1 코드
6
개발자 6
등급
(2677)
프로젝트
3420
68%
중재
77
48% / 14%
기한 초과
343
10%
작업중
게재됨: 1 코드
7
개발자 7
등급
(50)
프로젝트
51
8%
중재
0
기한 초과
0
무료
8
개발자 8
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
9
개발자 9
등급
(11)
프로젝트
17
59%
중재
2
0% / 100%
기한 초과
2
12%
무료
10
개발자 10
등급
(45)
프로젝트
91
13%
중재
34
26% / 59%
기한 초과
37
41%
무료
11
개발자 11
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료

프로젝트 정보

예산
30 - 50 USD
기한
로 1 일