Tarea técnica

Here is an example of Requirements Specification for the development of the MACD Sample Expert Advisor, which is available in the MetaTrader 5 standard package.

1. 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
(302)
Proyectos
383
20%
Arbitraje
43
60% / 23%
Caducado
45
12%
Trabajando
2
Desarrollador 2
Evaluación
(257)
Proyectos
341
58%
Arbitraje
7
14% / 71%
Caducado
9
3%
Libre
3
Desarrollador 3
Evaluación
(63)
Proyectos
68
25%
Arbitraje
12
42% / 42%
Caducado
4
6%
Libre
4
Desarrollador 4
Evaluación
(42)
Proyectos
62
8%
Arbitraje
12
58% / 42%
Caducado
1
2%
Libre
5
Desarrollador 5
Evaluación
(19)
Proyectos
26
27%
Arbitraje
3
0% / 100%
Caducado
2
8%
Libre
6
Desarrollador 6
Evaluación
(196)
Proyectos
318
35%
Arbitraje
64
13% / 56%
Caducado
82
26%
Libre
7
Desarrollador 7
Evaluación
(2086)
Proyectos
2646
61%
Arbitraje
113
45% / 26%
Caducado
418
16%
Trabaja
8
Desarrollador 8
Evaluación
(16)
Proyectos
20
0%
Arbitraje
9
0% / 78%
Caducado
6
30%
Libre
9
Desarrollador 9
Evaluación
(2428)
Proyectos
3057
66%
Arbitraje
77
48% / 14%
Caducado
340
11%
Trabaja
10
Desarrollador 10
Evaluación
(38)
Proyectos
40
25%
Arbitraje
23
13% / 70%
Caducado
8
20%
Trabajando
11
Desarrollador 11
Evaluación
(478)
Proyectos
507
53%
Arbitraje
10
60% / 20%
Caducado
3
1%
Trabaja
12
Desarrollador 12
Evaluación
(8)
Proyectos
11
0%
Arbitraje
11
18% / 73%
Caducado
2
18%
Libre
13
Desarrollador 13
Evaluación
(71)
Proyectos
80
10%
Arbitraje
35
9% / 54%
Caducado
6
8%
Trabaja
14
Desarrollador 14
Evaluación
(42)
Proyectos
88
14%
Arbitraje
30
30% / 53%
Caducado
36
41%
Trabaja
15
Desarrollador 15
Evaluación
(298)
Proyectos
443
64%
Arbitraje
5
40% / 0%
Caducado
4
1%
Trabaja
16
Desarrollador 16
Evaluación
(298)
Proyectos
427
26%
Arbitraje
18
61% / 33%
Caducado
26
6%
Libre
17
Desarrollador 17
Evaluación
(124)
Proyectos
158
42%
Arbitraje
20
60% / 20%
Caducado
8
5%
Trabaja
18
Desarrollador 18
Evaluación
(568)
Proyectos
641
41%
Arbitraje
21
57% / 29%
Caducado
47
7%
Trabaja
19
Desarrollador 19
Evaluación
(563)
Proyectos
932
47%
Arbitraje
302
59% / 25%
Caducado
124
13%
Ocupado
20
Desarrollador 20
Evaluación
(66)
Proyectos
143
34%
Arbitraje
10
10% / 60%
Caducado
26
18%
Libre
Solicitudes similares
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea
Hello, I‘m interested in an indicator to predict the next candles probability (bullish or bearish). But honestly I have no idea how to do this. Would be interested in your opinion how we can create such an indicator. Please let me know if you‘ve done similar work
Hey greetings. Am in need of a developer that has already made profitable MT4 or MT5 EA that I can buy with the backtesting and proven result. How is the draw down ? What is the winning rate ? Kindly reply and let proceed
I will buy your EA for MT5, in case that on distance it is able to make a profit of 10% per month. - Martingale methods and grid strategies should not be used as the basis of a trading strategy. - Excellent win rate (>80%) - High risk/loss management - Option to select direction of trading (long, short or both) - News filter - Editable Trading Hours I will need to test in the strategy tester and on live market (on
Hello, i need a good programmer; to code an EA to trade the most productive forex pairs (mainly 2 for the day, and 2 for the night+gold), the strategy is based on the use of one moving average and the rsi, thank you in advance
a gap between 1 pip opposite order open continue once tp hit ea change position and start from 1 everything is manually adjustable tp gap pip and pip all show start from 0.01
I have a mql4 license mql4 code,, there have a 1 error '( WebRequest' - no one of the overloads can be applied to the function call) fix this error,, and make sure it work properly,,{ it's bass on kernel32.dll } this license system Base on pc volume serial number. If you're a expert developer kindly contact with me ,, Write a text " License system devoloper " Telegram @Gw_rakib1
hi. I hv a strategy on tradingview need to convert to mt4/mt5 expert advisor for algo trading. would like to add some tradingview strategy setting to the mt4/mt5 EA(not included in my tradingview source code): recalculate after order is filled, order size: xx% of equity
Hi, i will provide a dll .use it's functions develop a backend code copy trading .it should a master accounts and slave accounts based of the mapping with the copy parametsrs it should start copy trades between the master and slave .one slave should be able to copy from Mutiple master and some basic fronted access to be created using the angular js

Información sobre el proyecto

Presupuesto
30 - 200 USD
Para el ejecutor
27 - 180 USD
Plazo límite de ejecución
a 20 día(s)