指定

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
等级
(584)
项目
915
46%
仲裁
31
39% / 29%
逾期
93
10%
工作中
2
开发者 2
等级
(341)
项目
536
32%
仲裁
23
65% / 9%
逾期
15
3%
工作中
3
开发者 3
等级
(121)
项目
159
49%
仲裁
15
53% / 27%
逾期
4
3%
空闲
4
开发者 4
等级
(144)
项目
202
21%
仲裁
13
62% / 23%
逾期
1
0%
繁忙
5
开发者 5
等级
(236)
项目
440
26%
仲裁
125
21% / 56%
逾期
96
22%
工作中
6
开发者 6
等级
(79)
项目
111
37%
仲裁
0
逾期
4
4%
空闲
7
开发者 7
等级
(41)
项目
87
13%
仲裁
29
31% / 48%
逾期
35
40%
繁忙
8
开发者 8
等级
(1120)
项目
1422
62%
仲裁
21
57% / 10%
逾期
43
3%
空闲
9
开发者 9
等级
(545)
项目
1324
59%
仲裁
28
82% / 0%
逾期
10
1%
空闲
10
开发者 10
等级
(17)
项目
32
63%
仲裁
0
逾期
5
16%
工作中
11
开发者 11
等级
(82)
项目
101
35%
仲裁
8
88% / 0%
逾期
0
空闲
12
开发者 12
等级
(251)
项目
400
54%
仲裁
9
67% / 22%
逾期
36
9%
空闲
13
开发者 13
等级
(536)
项目
745
45%
仲裁
23
39% / 13%
逾期
63
8%
空闲
14
开发者 14
等级
(5)
项目
4
50%
仲裁
4
0% / 75%
逾期
0
空闲
15
开发者 15
等级
(232)
项目
412
34%
仲裁
52
37% / 40%
逾期
151
37%
已载入
16
开发者 16
等级
(433)
项目
491
33%
仲裁
25
40% / 48%
逾期
7
1%
已载入
17
开发者 17
等级
(562)
项目
929
48%
仲裁
301
59% / 25%
逾期
123
13%
已载入
18
开发者 18
等级
(37)
项目
40
25%
仲裁
20
15% / 75%
逾期
8
20%
已载入
19
开发者 19
等级
(67)
项目
74
7%
仲裁
32
9% / 56%
逾期
6
8%
工作中
20
开发者 20
等级
(55)
项目
163
69%
仲裁
4
100% / 0%
逾期
1
1%
空闲
21
开发者 21
等级
(156)
项目
159
78%
仲裁
2
100% / 0%
逾期
0
空闲
22
开发者 22
等级
(2061)
项目
2618
61%
仲裁
113
45% / 26%
逾期
418
16%
已载入
23
开发者 23
等级
(63)
项目
106
68%
仲裁
1
100% / 0%
逾期
2
2%
空闲
24
开发者 24
等级
(50)
项目
56
7%
仲裁
18
17% / 39%
逾期
3
5%
繁忙
25
开发者 25
等级
(37)
项目
38
11%
仲裁
0
逾期
0
空闲
26
开发者 26
等级
(2405)
项目
3019
65%
仲裁
77
47% / 14%
逾期
340
11%
工作中
27
开发者 27
等级
项目
0
0%
仲裁
0
逾期
0
空闲
28
开发者 28
等级
项目
0
0%
仲裁
0
逾期
0
空闲
29
开发者 29
等级
(4)
项目
6
17%
仲裁
2
50% / 0%
逾期
2
33%
空闲
相似订单
hi.. i have a pin script (TV) but some lines in the code needs to be fixed,,, i will attach the file thanks very much in advance, Also there will be more project in front, so I need a very dedicated developer
Hello I am looking for a developer to help me to convert my mt4 strategy to tradingview and make it work perfectly your expertise is highly needed for this project
Hello developers here, I need a professional developer that can help me to develop an mt5 trading bot that works according to my strategy, I will be sharing my strategy in the inbox, Let me know if you can develop it, I will be waiting for your response
I need an EA in based of this indicator. It have buffers. The owner told me it..., So I need an expert who can do this I will attached the file right now
HI, I'm looking for an experienced person who can add buy/sell indications and Alerts on existing Pinescript along with little modification of the script and the script should connect to MT5 platform using pineconnector MT5 platform should excute trade instantly as based on the alerts/indications on tradingview script
HI, I'm looking for an experienced person who can add buy/sell indications/Alerts on existing Pinescript code along with little modification of the script and the script should connect to MT5 platform using pineconnector MT5 platform should execute trade instantly as based on the alerts/indications on tradingview script
I want the trade to trigger anytime it sees the opportunity on all time frames, sl tp should be automated and all trades should be trigger anytime on cpi news and etc
I need you to convert my tradingview pinescript to mt4, I have just $10 for it now, But i am going to give you more work later on cause i still have more work i am going to need you to work on for me, and i will be paying with crypto, Thank You
I am looking for a developer who can convert my Pine script code to MQ5 code. The code is for a trading strategy that I would like to use on the MetaTrader 5 platform. The code needs to be converted accurately and efficiently, with all of the original functionality preserved. The developer should have experience with both Pine script and MQ5, and should be able to provide a high-quality conversion in a timely manner

项目信息

预算
100+ USD
开发人员
90 USD