指定

The idea of the trading system is as follows: market entries are performed when MACD's main and signal lines intersect in the current trend direction.

2. Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the current EMA value is greater than the previous one, the trend is seen as growing (ema_current > ema_previous). Alternatively, if current EMA is below the previous one, the trend is considered to be falling (ema_current< ema_previous).

3. Trading Signals:

  • Buy signal: the main MACD line crosses the signal line upwards (macd_current>signal_current && macd_previous<signal_previous).
  • Sell signal: the main MACD line crosses the signal line downwards (macd_current<signal_current && macd_previous>signal_previous). The below figure shows Buy and Sell cases.


4. Positions are closed at opposite signals: Buy positions are closed at Sell signals, and Sell positions are closed at Buy signals.

5. Positions are opened at the market price, when a new bar emerges. The Expert Advisor is to be tested using Open prices, so there is no need to add functions for disabling operations inside the bar.

6. Additional filters for opening a position:

The absolute value of MACD's main line will be used to filter out weak signals: the signal is only confirmed if this value is greater than open_level (in points). Signal confirmation conditions are as follows:

  • Confirmation of a buy signal: Abs(macd_current)>open_level
  • Confirmation of a sell signal: macd_current>open_level

7. Additional filters for closing a position:

The absolute value of MACD's main line will also be used to confirm position closure: the signal is confirmed if this value is greater than close_level (in points). Close signal confirmation conditions are as follows:

  • Confirmation to close Buy positions — macd_current>close_level
  • Confirmation to close Sell positions — Abs(macd_current)>close_level

8. Close by Take Profit — during position opening, a Take Profit level is set at a fixed distance from the open price, specified in points. The value is set in the InpTakeProfit input parameter.

9. Position management

TrailngStop is used to protect profit. Stop Loss is set if profit in points exceeds the value specified in the InpTrailingStop parameter. If the price continues to move in the profit direction, Stop Loss should be trailed at the given distance. Stop Loss cannot be moved towards the loss direction, i.e. the Stop Loss value cannot be increased. If none of protective orders (Take Profit or Stop Loss) triggers, the position should be closed by an opposite signal. No other position exit methods are available.



反馈

1
开发者 1
等级
(621)
项目
972
47%
仲裁
32
38% / 34%
逾期
96
10%
已载入
发布者: 6 代码
2
开发者 2
等级
(433)
项目
686
34%
仲裁
32
72% / 9%
逾期
22
3%
空闲
3
开发者 3
等级
(120)
项目
159
49%
仲裁
15
53% / 27%
逾期
4
3%
空闲
4
开发者 4
等级
(268)
项目
396
27%
仲裁
38
39% / 50%
逾期
1
0%
空闲
5
开发者 5
等级
(250)
项目
460
26%
仲裁
140
20% / 59%
逾期
100
22%
工作中
6
开发者 6
等级
(79)
项目
111
37%
仲裁
0
逾期
4
4%
空闲
7
开发者 7
等级
(45)
项目
91
13%
仲裁
34
26% / 59%
逾期
37
41%
空闲
8
开发者 8
等级
(1156)
项目
1462
63%
仲裁
21
57% / 10%
逾期
43
3%
空闲
9
开发者 9
等级
(617)
项目
1427
59%
仲裁
31
81% / 0%
逾期
10
1%
空闲
10
开发者 10
等级
(20)
项目
51
75%
仲裁
0
逾期
8
16%
空闲
11
开发者 11
等级
(151)
项目
188
57%
仲裁
10
80% / 0%
逾期
0
空闲
发布者: 1 代码
12
开发者 12
等级
(251)
项目
400
54%
仲裁
9
67% / 22%
逾期
36
9%
空闲
发布者: 2 代码
13
开发者 13
等级
(625)
项目
842
48%
仲裁
27
37% / 15%
逾期
63
7%
空闲
14
开发者 14
等级
(5)
项目
4
50%
仲裁
4
0% / 75%
逾期
0
空闲
15
开发者 15
等级
(304)
项目
544
35%
仲裁
77
31% / 42%
逾期
196
36%
已载入
16
开发者 16
等级
(539)
项目
618
33%
仲裁
35
37% / 49%
逾期
10
2%
繁忙
17
开发者 17
等级
(574)
项目
945
47%
仲裁
309
58% / 27%
逾期
125
13%
空闲
18
开发者 18
等级
(45)
项目
46
24%
仲裁
34
9% / 85%
逾期
10
22%
空闲
19
开发者 19
等级
(72)
项目
80
10%
仲裁
38
8% / 58%
逾期
6
8%
空闲
20
开发者 20
等级
(77)
项目
240
73%
仲裁
7
100% / 0%
逾期
1
0%
空闲
21
开发者 21
等级
(300)
项目
306
69%
仲裁
2
100% / 0%
逾期
0
空闲
发布者: 1 代码
22
开发者 22
等级
(2279)
项目
2873
63%
仲裁
121
45% / 26%
逾期
429
15%
空闲
23
开发者 23
等级
(68)
项目
111
69%
仲裁
1
100% / 0%
逾期
2
2%
空闲
24
开发者 24
等级
(74)
项目
79
6%
仲裁
46
11% / 54%
逾期
7
9%
工作中
25
开发者 25
等级
(48)
项目
49
8%
仲裁
0
逾期
0
空闲
26
开发者 26
等级
(2622)
项目
3327
67%
仲裁
77
48% / 14%
逾期
342
10%
空闲
发布者: 1 代码
27
开发者 27
等级
项目
0
0%
仲裁
0
逾期
0
空闲
28
开发者 28
等级
项目
0
0%
仲裁
1
0% / 0%
逾期
0
工作中
发布者: 27 文章
29
开发者 29
等级
(6)
项目
8
25%
仲裁
2
50% / 0%
逾期
2
25%
空闲
相似订单
Pazuzu 30+ USD
generate or create me a python coded file that has mql5 language requirements for a trading bot under the following instructions. the bot must execute trades if necessary the bot must trade 24/7 the bot must trade gold and currency the bot must make unlimited profit hourly the bot must enter market with caution after market analysis of 98 percent of clear trade

项目信息

预算
100+ USD