Sarowar Jahan

Specification

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.

Responded

1
Developer 1
Rating
(368)
Projects
472
24%
Arbitration
51
61% / 20%
Overdue
53
11%
Busy
2
Developer 2
Rating
(257)
Projects
341
58%
Arbitration
7
14% / 71%
Overdue
9
3%
Free
3
Developer 3
Rating
(64)
Projects
68
25%
Arbitration
12
42% / 42%
Overdue
4
6%
Free
4
Developer 4
Rating
(43)
Projects
65
11%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
5
Developer 5
Rating
(19)
Projects
26
27%
Arbitration
3
0% / 100%
Overdue
2
8%
Free
6
Developer 6
Rating
(206)
Projects
332
35%
Arbitration
64
13% / 56%
Overdue
87
26%
Free
7
Developer 7
Rating
(2248)
Projects
2835
62%
Arbitration
118
46% / 25%
Overdue
428
15%
Free
8
Developer 8
Rating
(16)
Projects
20
0%
Arbitration
9
0% / 78%
Overdue
6
30%
Free
9
Developer 9
Rating
(2596)
Projects
3275
67%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
10
Developer 10
Rating
(44)
Projects
45
24%
Arbitration
23
13% / 74%
Overdue
10
22%
Working
11
Developer 11
Rating
(505)
Projects
541
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
12
Developer 12
Rating
(8)
Projects
11
0%
Arbitration
11
18% / 73%
Overdue
2
18%
Free
13
Developer 13
Rating
(72)
Projects
80
10%
Arbitration
35
9% / 54%
Overdue
6
8%
Free
14
Developer 14
Rating
(45)
Projects
91
13%
Arbitration
34
26% / 59%
Overdue
37
41%
Free
15
Developer 15
Rating
(322)
Projects
497
67%
Arbitration
5
40% / 0%
Overdue
4
1%
Free
Published: 8 codes
16
Developer 16
Rating
(298)
Projects
427
26%
Arbitration
18
61% / 33%
Overdue
26
6%
Free
Published: 8 codes
17
Developer 17
Rating
(140)
Projects
182
42%
Arbitration
23
61% / 17%
Overdue
12
7%
Working
18
Developer 18
Rating
(568)
Projects
641
41%
Arbitration
23
52% / 30%
Overdue
46
7%
Working
19
Developer 19
Rating
(574)
Projects
945
47%
Arbitration
303
59% / 25%
Overdue
125
13%
Free
20
Developer 20
Rating
(69)
Projects
146
34%
Arbitration
11
9% / 55%
Overdue
26
18%
Free
Published: 6 codes
Similar orders
I'm looking for a reliable Expert Advisor that can help me pass my prop firm challenges smoothly. The EA should be designed to generate consistent profits while minimizing losses. it would be great if it you incorporate robust risk management features and ensure the EA is compatible with prop firm rules
Automate my strategy 100 - 300 USD
Hello, I need a developer and seasonal trader to help me automate my strategy as a new trader. I need really an expert in this field because I am new. Please message me and I will share more details
My Strategy is complex and requires a deep understnading of the market and coding knowledge. DO NOT MESSAGE IF YOU DONT HAVE THESE 2 THINGS. I will give more details of strategy during message. Pleasure doing business
Hello, I’m looking for an MQL5 or MQL4 EA that trades EURUSD (optionally other majors or XAUUSD). The broker applies a 4-pip spread on EURUSD and higher on other symbols. The sole objective is to generate at least 45–60 lots of volume within 2 weeks or max one month (more is better; a bonus is paid for every additional 10 lots traded). The account has 1000 USD starting balance. Capital preservation is not required
1. Project Overview Name : BB Channel Trading EA Objective : Execute reversal trades based on price action (engulfing patterns and liquidity sweeps) at the extremes defined by Bollinger Bands. Trades will be taken when price breaks volatility bounds, indicating potential exhaustion and reversal. 2. Functional Components 2.1 Bollinger Bands Channel Purpose : Identify overbought and oversold zones. Indicator : Custom
# Multi-Layer Probabilistic EA — Design Plan (MQL5) Author: Custom-Expert-Advisors Status: Draft v3 Scope: MQL5-only (no Python) ## 1. Purpose & Scope Design a robust, real-time, probabilistic Expert Advisor for MT5 that adapts to market regimes, filters noise using information theory, and sizes risk via Bayesian beliefs and fractional Kelly. The design prioritizes stability, latency control, and survivability in
I need MQL4 EA for a forex expert advisor to trade on MT4 that uses a reversal strategy with the following conditions: only pairs that will enter are USDJPY, EURJPY, CADJPY, NZDJPY, AUDJPY, GBPJPY, CHFJPY. Each pair can only be traded once a month. Will only enter the market on 1 hour timeframe. Lot size = 1.0. Risk:reward ratio is 1:2. Enter if there are at least 7 confirmations from the following signals: for the
Bainanans 500+ USD
Bainanan good f المؤشر. ينبغي إضافة نقطة صفراء عند أعلى نقطة في الشموع في منطقة ذروة الشراء - وهي نقطة H. ينبغي إضافة نقطة خضراء عند النقطة المنخفضة للشموع في منطقة ذروة البيع - وهي نقطة L. إذا وُجدت نقطة L واحدة على الأقل بين نقطتي H، فابحث عن نقطة LL في الفترة الفاصلة بينهما. ستكون الشمعة ذات أدنى سعر قاع هي نقطة LL. بشكل عام، لا تُعتبر نقطة LL بالضرورة نقطة L. ابحث عن الشموع ذات أدنى سعر قاع. إذا كانت هناك نقطة H
Kamohelo Phehlane 50 - 150 USD
The robot must make me a large profits and it must be strategic.It must look for strategies and tell me whether to buy or sell the trade.And it must take a half of the profit and must give me the other half of the profit
Døsh forex 30 - 200 USD
I want a robot that will help me and trade the the robot will be very good I don’t want to loose money I repeat I don’t want to loose money

Project information

Budget
30 - 200 USD
For the developer
27 - 180 USD
Deadline
to 20 day(s)