Macd sample robot

MQL5 전문가

명시

Requirements Specification examples
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
등급
(52)
프로젝트
62
6%
중재
22
23% / 36%
기한 초과
4
6%
바쁜
2
개발자 2
등급
(39)
프로젝트
50
18%
중재
5
40% / 40%
기한 초과
0
무료
3
개발자 3
등급
(337)
프로젝트
455
52%
중재
22
50% / 27%
기한 초과
5
1%
로드됨
4
개발자 4
등급
(71)
프로젝트
103
20%
중재
6
0% / 83%
기한 초과
3
3%
무료
5
개발자 5
등급
(346)
프로젝트
543
32%
중재
24
67% / 8%
기한 초과
15
3%
무료
6
개발자 6
등급
(90)
프로젝트
110
37%
중재
8
88% / 0%
기한 초과
0
작업중
7
개발자 7
등급
프로젝트
0
0%
중재
1
0% / 100%
기한 초과
0
무료
8
개발자 8
등급
(236)
프로젝트
418
34%
중재
53
36% / 40%
기한 초과
153
37%
바쁜
9
개발자 9
등급
(37)
프로젝트
59
27%
중재
25
20% / 52%
기한 초과
10
17%
작업중
10
개발자 10
등급
(22)
프로젝트
28
11%
중재
6
33% / 50%
기한 초과
4
14%
작업중
11
개발자 11
등급
(2422)
프로젝트
3042
66%
중재
77
48% / 14%
기한 초과
340
11%
작업중
12
개발자 12
등급
(68)
프로젝트
77
8%
중재
33
9% / 55%
기한 초과
6
8%
작업중
13
개발자 13
등급
(563)
프로젝트
932
47%
중재
301
59% / 25%
기한 초과
124
13%
작업중
14
개발자 14
등급
(5)
프로젝트
4
50%
중재
4
0% / 75%
기한 초과
0
무료
비슷한 주문
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link

프로젝트 정보

예산
30+ USD
개발자에게
27 USD