İş Gereklilikleri

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.


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(136)
Projeler
196
43%
Arabuluculuk
17
29% / 59%
Süresi dolmuş
28
14%
Serbest
2
Geliştirici 2
Derecelendirme
(203)
Projeler
329
35%
Arabuluculuk
64
13% / 56%
Süresi dolmuş
86
26%
Çalışıyor
3
Geliştirici 3
Derecelendirme
(1)
Projeler
3
33%
Arabuluculuk
0
Süresi dolmuş
3
100%
Serbest
4
Geliştirici 4
Derecelendirme
(225)
Projeler
285
41%
Arabuluculuk
15
13% / 47%
Süresi dolmuş
67
24%
Serbest
5
Geliştirici 5
Derecelendirme
(36)
Projeler
50
28%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
6
12%
Serbest
6
Geliştirici 6
Derecelendirme
(270)
Projeler
550
49%
Arabuluculuk
55
40% / 36%
Süresi dolmuş
227
41%
Çalışıyor
7
Geliştirici 7
Derecelendirme
(27)
Projeler
43
7%
Arabuluculuk
18
6% / 78%
Süresi dolmuş
26
60%
Serbest
8
Geliştirici 8
Derecelendirme
(588)
Projeler
1055
49%
Arabuluculuk
39
28% / 41%
Süresi dolmuş
50
5%
Serbest
Yayınlandı: 1 makale, 8 kod
9
Geliştirici 9
Derecelendirme
(69)
Projeler
146
34%
Arabuluculuk
11
9% / 55%
Süresi dolmuş
26
18%
Serbest
Yayınlandı: 6 kod
Benzer siparişler
Hello! I've been working on a strategy that uses Ninzarenko candles from ninza.co, and while I am making incremental progress, i think I need someone to get me 100% across the finish line. This is a simple standard deviation strategy, take a look at the screenshot and see if this is something you think we can do together. Basic requirements below .. . let me know if you have any questions! Goal of the Strategy Trade
אני זקוק למומחה שיצור יועץ מומחה למגמת העל בדיוק כפי שהוא בתצוגת מסחר וזה גם יופיע בגרף בדיוק כפי שהוא בתצוגת המסחר, כולל האותות וקווי המגמה שיעבדו מעסקה לעסקה, אך יש להם גם אפשרות להפעיל ולכבות סטופ לוס, קח רווח, סטופ נגרר, גודל יח' ואותן הגדרות המופיעות במחוון בתצוגת מסחר. תודה רבה :))
Mql5 indicator 30+ USD
I'm looking for an indicator that gives buy sell signals by placing arrows on the chart Signals must not repaint or be placed with an offset I want it to be accurate enough so j can trade from signal to signal amd actually make profit Do anyone have a strategy and skill to create such an indicatore First priority is to mql5
Automated Trading System 30 - 1000 USD
I'm active on P2P trade, Fiat deals from any country, exchange of any currency, local and international bank transactions, I am open for any deal, I a completely available for any crypto transactions and fiat/P2P trade for any country
I want an expert advisor based on SMC with 50% retracement strategy between last strong high and low after making new CHoch and placing pending limit orders. I am providing mq4 script Only those coders who are experienced and can do the job

Proje bilgisi

Bütçe
30+ USD
Geliştirici için
27 USD