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
(135)
Proyectos
192
42%
Arbitraje
17
29% / 59%
Caducado
28
15%
Libre
2
Desarrollador 2
Evaluación
(195)
Proyectos
317
35%
Arbitraje
64
13% / 56%
Caducado
82
26%
Libre
3
Desarrollador 3
Evaluación
(1)
Proyectos
3
33%
Arbitraje
0
Caducado
3
100%
Libre
4
Desarrollador 4
Evaluación
(224)
Proyectos
283
42%
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
(261)
Proyectos
535
50%
Arbitraje
54
41% / 37%
Caducado
224
42%
Trabaja
7
Desarrollador 7
Evaluación
(27)
Proyectos
43
7%
Arbitraje
18
6% / 78%
Caducado
26
60%
Libre
8
Desarrollador 8
Evaluación
(586)
Proyectos
1045
49%
Arbitraje
39
28% / 41%
Caducado
49
5%
Trabaja
9
Desarrollador 9
Evaluación
(66)
Proyectos
143
34%
Arbitraje
11
9% / 55%
Caducado
26
18%
Trabaja
Solicitudes similares
Hi, I've developed an Fratile brake and retest EA. I have not been able to backtest it since i cant get it to work. I need your help in checking the code and making sure that the code is intact and all functions will work as they are or perhaps add your improvements. Please see a detailed description of the EA below. Reachout to me and i will provide you with the full code. Fractal Breakout EA Overview The Fractal
I would like to find a freelancer who can create an indicator or expert advisor about COT reports. I want it to automatically get the results and added to the indicator. it should be able to tell me if the banks are buying oir selling more for the week. it should also advise the long and short position for the pairs that i am looking at
Hi, I am looking for a scalping bot, that will have below criteria: 1. Take a position in the direction of the market with 1 STANDARD LOT. 2. Wait for 125 seconds after entering the position. 3. Exit the position when the position shows $10 profit. 4. Scan multiple leading currencies for such setups. 5. More than 5 positions should not be open at a time. 6. Exit the position if the floating loss exceeds $100. 7
Hello I am looking for a developer to help me do modification on my custom ninjatrader 8 strategy and also backtest it in other to work perfectly your expertise is highly needed for this project Kindly reach out to me and let get started on the project Thanks
I want to build a well performance mt4 indicator or trading view indicator for my strategy, please you must make sure you are a professional in building mt4 indicator or trading view indicator with serveral years of experience, so if you are kindly react to this and let talk more on how you will get my indicator working
EA development 30+ USD
HELLO there, am looking for some one that have serveral years of experience in developing a well performance EA, that can use both mt4, mt5 platform for development, please you most be an expert in the coding of EA , THANK YOU
Hi guys I eould like to know if it‘s possible to draw highs and lows with a horizontal line in the line chart? It should be an indicator with buffers that I can integrate it into an EA. If it‘s possible please explain how you would detect those highs and lows. Thanks in advance
bonjour je cherche un developpeur pour coder un ea que j ai deja , il suffira juste de reproduire le meme , car cette ea fonctionne tres bien en demo mais pas en reel , je veux que celui ci fonctionne en reel , l ea sera donner au developpeur s 'occupant de reconstruire cette ea , merci a vous ! pour mt4
Hi, Greetings ! Can somebody help me with a Half Trend Scanner with Higher Time Frame Confluence feature please. I am willing to pay if thats the case. Kind regards. Anton
EMA cross premium 30 - 50 USD
The idea is that the crossing of the Moving average( blue and orange EMA) must happen below or above the three big moving average (green, red, and black) and that will be a valid signal. E.g. valid Sell signal, the crossing of blue and orange EMAs will happen below the three big EMAs without a single touch. E.g. valid buy signal, the crossing of blue and orange EMAs will happen above the three big EMAs without a

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD