Specification

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.

Responded

1
Developer 1
Rating
(296)
Projects
368
30%
Arbitration
37
27% / 65%
Overdue
10
3%
Working
Published: 10 codes
2
Developer 2
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
3
Developer 3
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(438)
Projects
651
53%
Arbitration
35
63% / 20%
Overdue
7
1%
Working
5
Developer 5
Rating
(642)
Projects
750
35%
Arbitration
50
52% / 38%
Overdue
14
2%
Working
6
Developer 6
Rating
(268)
Projects
319
74%
Arbitration
16
75% / 0%
Overdue
6
2%
Loaded
7
Developer 7
Rating
(11)
Projects
20
25%
Arbitration
3
0% / 67%
Overdue
3
15%
Working
8
Developer 8
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Working
9
Developer 9
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 2 codes
10
Developer 10
Rating
(469)
Projects
823
49%
Arbitration
76
21% / 51%
Overdue
143
17%
Working
11
Developer 11
Rating
(192)
Projects
206
47%
Arbitration
4
50% / 25%
Overdue
1
0%
Working
12
Developer 12
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 3 codes
13
Developer 13
Rating
(2)
Projects
2
50%
Arbitration
0
Overdue
0
Free
Published: 7 codes
14
Developer 14
Rating
(24)
Projects
32
38%
Arbitration
4
50% / 25%
Overdue
5
16%
Working
15
Developer 15
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
17
Developer 17
Rating
(4)
Projects
5
60%
Arbitration
0
Overdue
1
20%
Free
18
Developer 18
Rating
(568)
Projects
866
61%
Arbitration
33
27% / 45%
Overdue
24
3%
Free
Published: 1 code
19
Developer 19
Rating
(2)
Projects
7
0%
Arbitration
3
0% / 33%
Overdue
1
14%
Working
20
Developer 20
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
21
Developer 21
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 4 codes
22
Developer 22
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
23
Developer 23
Rating
(5)
Projects
7
86%
Arbitration
0
Overdue
0
Free
Published: 4 codes
24
Developer 24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
(408)
Projects
527
24%
Arbitration
62
58% / 24%
Overdue
60
11%
Working
27
Developer 27
Rating
(2)
Projects
3
33%
Arbitration
0
Overdue
2
67%
Free
28
Developer 28
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
29
Developer 29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 3 codes
30
Developer 30
Rating
(2)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
31
Developer 31
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 5 codes
32
Developer 32
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 7 codes
33
Developer 33
Rating
(206)
Projects
333
35%
Arbitration
66
12% / 58%
Overdue
87
26%
Free
34
Developer 34
Rating
(119)
Projects
169
38%
Arbitration
9
78% / 22%
Overdue
15
9%
Free
35
Developer 35
Rating
(2354)
Projects
2960
63%
Arbitration
125
44% / 26%
Overdue
429
14%
Working
36
Developer 36
Rating
(2683)
Projects
3435
68%
Arbitration
78
49% / 14%
Overdue
344
10%
Free
Published: 1 code
37
Developer 37
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
38
Developer 38
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
39
Developer 39
Rating
(16)
Projects
30
40%
Arbitration
3
33% / 67%
Overdue
7
23%
Working
40
Developer 40
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
41
Developer 41
Rating
(13)
Projects
23
39%
Arbitration
8
0% / 50%
Overdue
4
17%
Free
42
Developer 42
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
43
Developer 43
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 6 codes
44
Developer 44
Rating
(14)
Projects
15
20%
Arbitration
1
100% / 0%
Overdue
0
Free
45
Developer 45
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
46
Developer 46
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
47
Developer 47
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
48
Developer 48
Rating
(217)
Projects
285
20%
Arbitration
28
61% / 14%
Overdue
0
Free
49
Developer 49
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 2 articles
50
Developer 50
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 4 codes
51
Developer 51
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
52
Developer 52
Rating
(30)
Projects
37
38%
Arbitration
0
Overdue
2
5%
Working
Published: 1 code
53
Developer 53
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
54
Developer 54
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
55
Developer 55
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Working
56
Developer 56
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 2 codes
57
Developer 57
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
58
Developer 58
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
59
Developer 59
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
60
Developer 60
Rating
(1)
Projects
2
100%
Arbitration
0
Overdue
0
Free
Published: 2 codes
61
Developer 61
Rating
(61)
Projects
61
51%
Arbitration
1
0% / 100%
Overdue
1
2%
Free
62
Developer 62
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
63
Developer 63
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
64
Developer 64
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
65
Developer 65
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
66
Developer 66
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
67
Developer 67
Rating
(78)
Projects
248
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 2 articles, 1 code
68
Developer 68
Rating
(4)
Projects
11
55%
Arbitration
1
100% / 0%
Overdue
0
Free
69
Developer 69
Rating
(64)
Projects
145
46%
Arbitration
21
38% / 24%
Overdue
32
22%
Free
70
Developer 70
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
71
Developer 71
Rating
(183)
Projects
278
64%
Arbitration
4
50% / 25%
Overdue
10
4%
Free
72
Developer 72
Rating
(7)
Projects
7
71%
Arbitration
0
Overdue
0
Free
73
Developer 73
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
74
Developer 74
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
75
Developer 75
Rating
(619)
Projects
1430
59%
Arbitration
31
81% / 0%
Overdue
10
1%
Free
76
Developer 76
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
77
Developer 77
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
78
Developer 78
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
79
Developer 79
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 4 codes
80
Developer 80
Rating
(373)
Projects
465
56%
Arbitration
24
58% / 17%
Overdue
32
7%
Working
81
Developer 81
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 3 codes
82
Developer 82
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 2 articles
83
Developer 83
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
84
Developer 84
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
85
Developer 85
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 3 codes
86
Developer 86
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
87
Developer 87
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
88
Developer 88
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
89
Developer 89
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
90
Developer 90
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
91
Developer 91
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
92
Developer 92
Rating
(8)
Projects
8
0%
Arbitration
2
50% / 0%
Overdue
1
13%
Working
Similar orders
I am looking to purchase an existing, fully developed and operational XAUUSD scalping Expert Advisor (EA) for MetaTrader 5. IMPORTANT: I am NOT looking for new development, custom programming, or an experimental strategy. I am only interested in an existing, ready-made and proven trading system. Requirements: Fully automated XAUUSD scalping EA for MT5. Short-duration trades with an active trading frequency. Hard Stop
Looking to Purchase a Proven and Profitable XAUUSD Scalping EA for MT4 I am looking to purchase an existing, fully automated Gold (XAUUSD) scalping EA specifically designed for MetaTrader 4 (MT4) , with proven and verifiable real-money trading performance. Mandatory Requirements: Exclusively designed for XAUUSD (Gold). Fully automated trading on MetaTrader 4. Genuine scalping strategy with relatively short trade
OVERVIEW I have three MT4 custom indicators in .ex4 format only. I do NOT have the .mq4 source files. I need working MT5 versions of all three, with full .mq5 source code. The MT5 versions may be: (a) rebuilt from scratch in MQL5 by analyzing how the EX4 indicators behave, or (b) obtained from the original author's official MT5 version, if one legitimately exists. Decompiling the EX4 files is NOT acceptable. THE
I am seeking an experienced quantitative trading developer to independently research, design, develop, test, validate, and deliver a professional standalone Python 3.12 detection engine for identifying early pump and dump movements in Bybit USDT perpetual futures markets
I am looking for an experienced quantitative researcher to conduct empirical and statistical research on systematic trading strategies, with an initial focus on XAUUSD. The research will cover three main areas: Market structure Market behaviour Quantitative strategy validation, backtesting and robustness analysis. I already have a functional MT5 EA that I would like to improve through extensive quantitative research
--- I need an MT5 Expert Advisor (EA) for Forex trading. Strategy: - Trade when fast Moving Average (9) crosses above slow Moving Average (21) = BUY - Trade when fast Moving Average (9) crosses below slow Moving Average (21) = SELL - Only 1 trade at a time Settings I want to change: - Lot size - Stop Loss in pips - Take Profit in pips - Trailing Stop - Trading hours (Start and End time) Risk: - Close all trades at
Hello, I'm looking for a developer who can build an automated trading bot (Expert Advisor) for MetaTrader 5 (MT5). I want a smart trading robot that can scan the markets, identify high-probability trading opportunities, and automatically execute trades. Strategies and indicators I'd like included: RSI (75 overbought / 25 oversold). MACD crossover with strong momentum. 9/21 EMA crossover. 20/50 SMA crossover. Smart
Delete/Remove . Integrate Support & Resistance . Prop Firm Expert. (Expert is Active With a firm's account) . (Tick Volume) spikes specifically when price interacts with pre-defined Support and Resistance zones. [ required ]
I am looking for an experienced MQL5 developer to create a simple, well-organized Expert Advisor for MetaTrader 5. Requirements: - Provide complete and editable MQL5 source code. - Explain the EA's functionality and logic clearly. - Include configurable settings. - Include appropriate risk-control features. - Provide clear installation and testing instructions. - Ensure the code is clean and properly documented. I
PROJECT NAME: BALISA AI VERSION 1.0 I want to develop my own automated trading robot called Balisa AI for MetaTrader 5 (MT5). REQUIREMENTS: 1. The robot must support Forex and Gold (XAUUSD). 2. It must operate as an Expert Advisor (EA) on MT5. 3. It must automatically identify trading opportunities and execute buy and sell orders. 4. It must have Stop Loss and Take Profit. 5. It must include risk management to

Project information

Budget
30 - 50 USD
Deadline
from 5 to 10 day(s)

Customer

Placed orders1
Arbitrage count0