Tarea técnica

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.



Han respondido

1
Desarrollador 1
Evaluación
(631)
Proyectos
998
47%
Arbitraje
33
36% / 36%
Caducado
98
10%
Trabaja
Ha publicado: 6 ejemplos
2
Desarrollador 2
Evaluación
(451)
Proyectos
713
34%
Arbitraje
34
71% / 9%
Caducado
22
3%
Trabaja
3
Desarrollador 3
Evaluación
(120)
Proyectos
159
49%
Arbitraje
15
53% / 27%
Caducado
4
3%
Libre
4
Desarrollador 4
Evaluación
(273)
Proyectos
402
27%
Arbitraje
40
40% / 50%
Caducado
1
0%
Trabaja
5
Desarrollador 5
Evaluación
(250)
Proyectos
460
26%
Arbitraje
140
20% / 59%
Caducado
100
22%
Trabaja
6
Desarrollador 6
Evaluación
(79)
Proyectos
111
37%
Arbitraje
0
Caducado
4
4%
Libre
7
Desarrollador 7
Evaluación
(45)
Proyectos
91
13%
Arbitraje
34
26% / 59%
Caducado
37
41%
Libre
8
Desarrollador 8
Evaluación
(1156)
Proyectos
1462
63%
Arbitraje
21
57% / 10%
Caducado
43
3%
Libre
9
Desarrollador 9
Evaluación
(618)
Proyectos
1428
59%
Arbitraje
31
81% / 0%
Caducado
10
1%
Libre
10
Desarrollador 10
Evaluación
(20)
Proyectos
51
75%
Arbitraje
0
Caducado
8
16%
Libre
11
Desarrollador 11
Evaluación
(156)
Proyectos
197
59%
Arbitraje
10
80% / 0%
Caducado
0
Trabaja
Ha publicado: 1 ejemplo
12
Desarrollador 12
Evaluación
(251)
Proyectos
400
54%
Arbitraje
9
67% / 22%
Caducado
36
9%
Libre
Ha publicado: 2 ejemplos
13
Desarrollador 13
Evaluación
(638)
Proyectos
861
48%
Arbitraje
29
38% / 17%
Caducado
63
7%
Trabaja
14
Desarrollador 14
Evaluación
(5)
Proyectos
4
50%
Arbitraje
4
0% / 75%
Caducado
0
Libre
15
Desarrollador 15
Evaluación
(313)
Proyectos
559
35%
Arbitraje
80
31% / 44%
Caducado
203
36%
Libre
16
Desarrollador 16
Evaluación
(571)
Proyectos
662
32%
Arbitraje
42
45% / 45%
Caducado
12
2%
Trabaja
17
Desarrollador 17
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
18
Desarrollador 18
Evaluación
(45)
Proyectos
46
24%
Arbitraje
34
9% / 85%
Caducado
10
22%
Libre
19
Desarrollador 19
Evaluación
(72)
Proyectos
80
10%
Arbitraje
38
8% / 58%
Caducado
6
8%
Libre
20
Desarrollador 20
Evaluación
(77)
Proyectos
243
74%
Arbitraje
7
100% / 0%
Caducado
1
0%
Libre
Ha publicado: 1 artículo
21
Desarrollador 21
Evaluación
(309)
Proyectos
314
70%
Arbitraje
2
100% / 0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
22
Desarrollador 22
Evaluación
(2322)
Proyectos
2925
63%
Arbitraje
123
45% / 25%
Caducado
429
15%
Libre
23
Desarrollador 23
Evaluación
(68)
Proyectos
111
69%
Arbitraje
1
100% / 0%
Caducado
2
2%
Libre
24
Desarrollador 24
Evaluación
(75)
Proyectos
80
6%
Arbitraje
46
11% / 54%
Caducado
7
9%
Trabaja
25
Desarrollador 25
Evaluación
(49)
Proyectos
50
8%
Arbitraje
0
Caducado
0
Trabaja
26
Desarrollador 26
Evaluación
(2661)
Proyectos
3382
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
27
Desarrollador 27
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
28
Desarrollador 28
Evaluación
Proyectos
0
0%
Arbitraje
1
0% / 0%
Caducado
0
Trabaja
Ha publicado: 27 artículos
29
Desarrollador 29
Evaluación
(6)
Proyectos
8
25%
Arbitraje
2
50% / 0%
Caducado
2
25%
Libre
Solicitudes similares
I have a fully developed and ready Expert Advisor for MT5. I am NOT looking for coding work. I am looking for an experienced MQL5 Market seller who can publish and manage my EA on the MQL5 Market on my behalf. The deal is revenue share — we split the income from sales or rentals. The EA is complete and ready to publish. If you have an established seller account on MQL5 Market with good reputation and experience
Early Killer EA 30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
I want a order management ea that can also copy trades to a recieevr email in other platforms and a reciever ea to recieve orders from master ea. Eas should be like the below... Pending orders When I open one manual order, e a should be able to set 3 pending orders at x amount of pips below or above manual order entry depending on if its buy or sell. So like this Pending order 1 true or false Pending order pips away

Información sobre el proyecto

Presupuesto
100+ USD