Sarowar Jahan

MQL5 专家 其它 统计和数学

指定

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.

反馈

1
开发者 1
等级
(302)
项目
383
20%
仲裁
43
60% / 23%
逾期
45
12%
已载入
2
开发者 2
等级
(257)
项目
341
58%
仲裁
7
14% / 71%
逾期
9
3%
空闲
3
开发者 3
等级
(63)
项目
68
25%
仲裁
12
42% / 42%
逾期
4
6%
空闲
4
开发者 4
等级
(42)
项目
62
8%
仲裁
12
58% / 42%
逾期
1
2%
空闲
5
开发者 5
等级
(19)
项目
26
27%
仲裁
3
0% / 100%
逾期
2
8%
空闲
6
开发者 6
等级
(196)
项目
318
35%
仲裁
64
13% / 56%
逾期
82
26%
空闲
7
开发者 7
等级
(2086)
项目
2646
61%
仲裁
113
45% / 26%
逾期
418
16%
工作中
8
开发者 8
等级
(16)
项目
20
0%
仲裁
9
0% / 78%
逾期
6
30%
空闲
9
开发者 9
等级
(2428)
项目
3057
66%
仲裁
77
48% / 14%
逾期
340
11%
工作中
10
开发者 10
等级
(38)
项目
40
25%
仲裁
23
13% / 70%
逾期
8
20%
已载入
11
开发者 11
等级
(478)
项目
507
53%
仲裁
10
60% / 20%
逾期
3
1%
工作中
12
开发者 12
等级
(8)
项目
11
0%
仲裁
11
18% / 73%
逾期
2
18%
空闲
13
开发者 13
等级
(71)
项目
80
10%
仲裁
35
9% / 54%
逾期
6
8%
工作中
14
开发者 14
等级
(42)
项目
88
14%
仲裁
30
30% / 53%
逾期
36
41%
工作中
15
开发者 15
等级
(298)
项目
443
64%
仲裁
5
40% / 0%
逾期
4
1%
工作中
16
开发者 16
等级
(298)
项目
427
26%
仲裁
18
61% / 33%
逾期
26
6%
空闲
17
开发者 17
等级
(124)
项目
158
42%
仲裁
20
60% / 20%
逾期
8
5%
工作中
18
开发者 18
等级
(568)
项目
641
41%
仲裁
21
57% / 29%
逾期
47
7%
工作中
19
开发者 19
等级
(563)
项目
932
47%
仲裁
302
59% / 25%
逾期
124
13%
繁忙
20
开发者 20
等级
(66)
项目
143
34%
仲裁
10
10% / 60%
逾期
26
18%
空闲
相似订单
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

项目信息

预算
30 - 200 USD
开发人员
27 - 180 USD
截止日期
 20 天