Hedge EA with Martingale

MQL5 エキスパート

指定

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 codes
5
開発者 5
評価
(328)
プロジェクト
333
71%
仲裁
2
100% / 0%
期限切れ
0
暇
パブリッシュした人: 1 code
6
開発者 6
評価
(2677)
プロジェクト
3420
68%
仲裁
77
48% / 14%
期限切れ
343
10%
仕事中
パブリッシュした人: 1 code
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 日