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
(136)
Proyectos
196
43%
Arbitraje
17
29% / 59%
Caducado
28
14%
Libre
2
Desarrollador 2
Evaluación
(206)
Proyectos
333
35%
Arbitraje
66
12% / 58%
Caducado
87
26%
Libre
3
Desarrollador 3
Evaluación
(1)
Proyectos
3
33%
Arbitraje
0
Caducado
3
100%
Libre
4
Desarrollador 4
Evaluación
(225)
Proyectos
285
41%
Arbitraje
15
13% / 47%
Caducado
67
24%
Libre
5
Desarrollador 5
Evaluación
(36)
Proyectos
50
28%
Arbitraje
2
0% / 100%
Caducado
6
12%
Libre
6
Desarrollador 6
Evaluación
(270)
Proyectos
552
49%
Arbitraje
58
40% / 36%
Caducado
228
41%
Trabaja
7
Desarrollador 7
Evaluación
(27)
Proyectos
43
7%
Arbitraje
18
6% / 78%
Caducado
26
60%
Libre
8
Desarrollador 8
Evaluación
(588)
Proyectos
1061
50%
Arbitraje
39
28% / 41%
Caducado
49
5%
Libre
Ha publicado: 1 artículo, 8 ejemplos
9
Desarrollador 9
Evaluación
(69)
Proyectos
146
34%
Arbitraje
13
8% / 62%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
Solicitudes similares
We are looking for a skilled developer with proven experience integrating the Deriv API WebSocket, ( https://developers.deriv.com/docs/getting-started ) to connect our trading web application with Deriv SmartTrader accounts. Our platform already generates AI-based trading signals , and the goal is to allow users to: Log in with their Deriv account (OAuth or API tokens) Fetch and display real-time account details
I want the Robots to execute buy/sell/TP/SL trades without me telling them to, Buy low Sell high Forex Pairs, I want to gain profit not lose profit, using INDICATORS, strategies, Expert Advisors, signals, Symbols, MA RSI, Awesome Accelerators', Algorithmic Trading and Scanners on real time data
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

Información sobre el proyecto

Presupuesto
30+ USD