指定

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
評価
(135)
プロジェクト
193
42%
仲裁
17
29% / 59%
期限切れ
28
15%
2
開発者 2
評価
(197)
プロジェクト
320
35%
仲裁
64
13% / 56%
期限切れ
83
26%
3
開発者 3
評価
(1)
プロジェクト
3
33%
仲裁
0
期限切れ
3
100%
4
開発者 4
評価
(225)
プロジェクト
284
42%
仲裁
15
13% / 47%
期限切れ
67
24%
5
開発者 5
評価
(36)
プロジェクト
50
28%
仲裁
2
0% / 100%
期限切れ
6
12%
6
開発者 6
評価
(266)
プロジェクト
540
50%
仲裁
55
40% / 36%
期限切れ
224
41%
仕事中
7
開発者 7
評価
(27)
プロジェクト
43
7%
仲裁
18
6% / 78%
期限切れ
26
60%
8
開発者 8
評価
(586)
プロジェクト
1048
49%
仲裁
39
28% / 41%
期限切れ
49
5%
9
開発者 9
評価
(66)
プロジェクト
143
34%
仲裁
10
10% / 60%
期限切れ
26
18%
類似した注文
my ea stop from working every time i have source code for both mt4 and mt5 so i want both to be fixed also there's new feture i want to be added on my ea feature that can stop someone from using ea when i change a password and more feture
Greetings, I’m in search of a skilled developer to help convert an MT4 indicator into Pine Script for TradingView. If you’re qualified and interested, please get in touch with your portfolio and relevant experience. I look forward to discussing this project further
I am looking for a professional and experienced developer to assist me with a project involving the conversion of a MetaTrader 4 (MT4) indicator to TradingView (TV) format. If you have the necessary skills and are interested in collaborating, please reach out with your portfolio and any relevant experience. I’m eager to discuss this project in more detail
Hello, This is the third time I have posted in relation to this job, the previous two developers have been unable to complete it to my specifications, so please only apply if you are an experienced developer. I will send the full specifications to the chosen developer, as well as the most recent version of the code. The section of the code that is causing the most problems is the part that relates to the trailing
EA MT5 SNR 30 - 100 USD
I need a developer who can work with quickly & details. make an EA MT5 Classic Support aNd Resistance multi time frame marking single Classic support and resistance support type A and Resistance type V make an alert pop-up
Hi, Developer Scalping ea is required in mql5 for JPY currency pairs(usdjpy, audjpy,gbpjpy,cadjpy) and USD currency pairs (audUSD,EURUSD, gbpUSD, NZDUSD, USDcad, USDCHF, xauusd). Scalping ea should be profitable. Trailing stop may be required Please help on this. Note: developer should complete more than 100 projects
It is using EMA/SMA for triggers of long or short (green long/red short) and the line above or below is the stop loss, profit triggers would need to figure out or allow it until next trigger. Already in thinkscript And add parameters
Objects reader PIN 70 - 100 USD
Hi I have an indicator that create objects in the chart and using those following some rules the new indicator will create external global variables with value = 0 ( NONE ), = 1 ( BUY ) or = 2 ( SELL ). The global variable will use PIN external integer number . PINS are by now global variables (GV) whose name indicates the pair name and the PIN belonging and their value indicates it direction/action. PINS GV names
Hi, I need modification of my EA to meet all prop firm rules. An expert developer is needed. Developer must have enough experience on prop firm because I don't have all the details of prop firm rules
Saleh taher 30+ USD
Hi, am facing problem when I try to open live trading account with brokers , you gave me the (login) and password, but the login should be numbers and you gave me Letters and numbers it's not working, I just have demo account please help me to have live account

プロジェクト情報

予算
30+ USD
開発者用
27 USD