Spécifications

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.



Répondu

1
Développeur 1
Évaluation
(624)
Projets
981
47%
Arbitrage
32
38% / 34%
En retard
96
10%
Travail
Publié : 6 codes
2
Développeur 2
Évaluation
(439)
Projets
694
34%
Arbitrage
34
68% / 9%
En retard
22
3%
Travail
3
Développeur 3
Évaluation
(120)
Projets
159
49%
Arbitrage
15
53% / 27%
En retard
4
3%
Gratuit
4
Développeur 4
Évaluation
(270)
Projets
399
27%
Arbitrage
39
41% / 49%
En retard
1
0%
Gratuit
5
Développeur 5
Évaluation
(250)
Projets
460
26%
Arbitrage
140
20% / 59%
En retard
100
22%
Travail
6
Développeur 6
Évaluation
(79)
Projets
111
37%
Arbitrage
0
En retard
4
4%
Gratuit
7
Développeur 7
Évaluation
(45)
Projets
91
13%
Arbitrage
34
26% / 59%
En retard
37
41%
Gratuit
8
Développeur 8
Évaluation
(1156)
Projets
1462
63%
Arbitrage
21
57% / 10%
En retard
43
3%
Gratuit
9
Développeur 9
Évaluation
(618)
Projets
1428
59%
Arbitrage
31
81% / 0%
En retard
10
1%
Gratuit
10
Développeur 10
Évaluation
(20)
Projets
51
75%
Arbitrage
0
En retard
8
16%
Gratuit
11
Développeur 11
Évaluation
(152)
Projets
190
57%
Arbitrage
10
80% / 0%
En retard
0
Travail
Publié : 1 code
12
Développeur 12
Évaluation
(251)
Projets
400
54%
Arbitrage
9
67% / 22%
En retard
36
9%
Gratuit
Publié : 2 codes
13
Développeur 13
Évaluation
(626)
Projets
845
47%
Arbitrage
28
36% / 14%
En retard
63
7%
Travail
14
Développeur 14
Évaluation
(5)
Projets
4
50%
Arbitrage
4
0% / 75%
En retard
0
Gratuit
15
Développeur 15
Évaluation
(307)
Projets
551
35%
Arbitrage
79
32% / 42%
En retard
199
36%
Chargé
16
Développeur 16
Évaluation
(542)
Projets
624
33%
Arbitrage
39
36% / 49%
En retard
11
2%
Occupé
17
Développeur 17
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
18
Développeur 18
Évaluation
(45)
Projets
46
24%
Arbitrage
34
9% / 85%
En retard
10
22%
Gratuit
19
Développeur 19
Évaluation
(72)
Projets
80
10%
Arbitrage
38
8% / 58%
En retard
6
8%
Gratuit
20
Développeur 20
Évaluation
(77)
Projets
243
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
21
Développeur 21
Évaluation
(302)
Projets
308
69%
Arbitrage
2
100% / 0%
En retard
0
Gratuit
Publié : 1 code
22
Développeur 22
Évaluation
(2296)
Projets
2892
63%
Arbitrage
122
44% / 25%
En retard
429
15%
Gratuit
23
Développeur 23
Évaluation
(68)
Projets
111
69%
Arbitrage
1
100% / 0%
En retard
2
2%
Gratuit
24
Développeur 24
Évaluation
(75)
Projets
80
6%
Arbitrage
46
11% / 54%
En retard
7
9%
Travail
25
Développeur 25
Évaluation
(48)
Projets
49
8%
Arbitrage
0
En retard
0
Gratuit
26
Développeur 26
Évaluation
(2630)
Projets
3345
67%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
27
Développeur 27
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
28
Développeur 28
Évaluation
Projets
0
0%
Arbitrage
1
0% / 0%
En retard
0
Travail
Publié : 27 articles
29
Développeur 29
Évaluation
(6)
Projets
8
25%
Arbitrage
2
50% / 0%
En retard
2
25%
Gratuit
Commandes similaires
step by step and structure this into a full IEEE 830 / ISO/IEC/IEEE 29148 style Requirements Specification. This format will include: Introduction System Overview Functional and Performance Requirements Traceability Matrix (linking requirements to test cases) Verification and Validation Compliance Standards 1. Introduction 1.1 Purpose The purpose of this document is to define the technical requirements for the
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi

Informations sur le projet

Budget
100+ USD