An EA based on MACD DIVERGENCE

MQL4 전문가

명시

The idea of the trading system is as follows:

1.market entries are performed when MACD's main and signal lines intersect in the current trend direction.

2. Trend is determined based on the EMA 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. I should be able to toggle all the parameters of Macd

5.Positions are closed at opposite signals: Buy positions are closed at Sell signals, and Sell positions are closed at Buy signals.

6.Positions are opened at once the criteria is met and the candle is closed.

7. 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

8. 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

trailing stop is used to protect profit. 

파일:

응답함

1
개발자 1
등급
(9)
프로젝트
13
15%
중재
4
25% / 75%
기한 초과
2
15%
무료
2
개발자 2
등급
(356)
프로젝트
632
26%
중재
89
73% / 13%
기한 초과
12
2%
무료
3
개발자 3
등급
(339)
프로젝트
809
73%
중재
30
33% / 37%
기한 초과
194
24%
무료
4
개발자 4
등급
(19)
프로젝트
35
26%
중재
10
30% / 70%
기한 초과
5
14%
무료
5
개발자 5
등급
(568)
프로젝트
641
41%
중재
21
57% / 29%
기한 초과
47
7%
작업중
6
개발자 6
등급
(5)
프로젝트
9
11%
중재
5
40% / 60%
기한 초과
1
11%
무료
7
개발자 7
등급
(236)
프로젝트
418
34%
중재
53
36% / 40%
기한 초과
153
37%
바쁜
8
개발자 8
등급
(126)
프로젝트
160
36%
중재
4
25% / 50%
기한 초과
13
8%
무료
9
개발자 9
등급
(1)
프로젝트
1
0%
중재
0
기한 초과
0
무료
10
개발자 10
등급
(126)
프로젝트
151
48%
중재
6
83% / 17%
기한 초과
2
1%
무료
11
개발자 11
등급
(119)
프로젝트
169
38%
중재
9
78% / 22%
기한 초과
15
9%
무료
12
개발자 12
등급
(66)
프로젝트
143
34%
중재
10
10% / 60%
기한 초과
26
18%
무료
13
개발자 13
등급
(264)
프로젝트
538
50%
중재
55
40% / 36%
기한 초과
224
42%
작업중
14
개발자 14
등급
(87)
프로젝트
114
26%
중재
7
29% / 57%
기한 초과
5
4%
무료
15
개발자 15
등급
(70)
프로젝트
86
31%
중재
1
100% / 0%
기한 초과
1
1%
무료
16
개발자 16
등급
(96)
프로젝트
143
76%
중재
0
기한 초과
2
1%
무료
비슷한 주문
Looking for an EA which can produce less than 5% drawdown. Also profit factor above 1.5 (preferably 2.0) Please give me proper explanation how your EA works too Has anyone programmed it before? is it limited to forex only
1) the EA can compound the lot size from 0.01 to 0.02 so on 2) the EA must able to trade different kind of pair 3) the EA will have stoploss or take profit 4) long term profit 5) for equiry will be 100 for every 0.01 lot Developer will have that kind of EA may apply and introduce any investor account! this EA must have mql4 file
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px 'Helvetica Neue'} Hello Looking for someone to help me improve my current strategy on my own algorithm and to also add hedging mode
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
Please watch the video on this youtube channel and download the Indicator from there. https://www.youtube.com/watch?v=ldTomLu8DxE&amp ;t=32s Rules are explained on the video and the download of the indicator is on the same video
I would like an EA that follows exactly this steps to trade de daily candle. Watch the video and then see if you can do the task. https://www.youtube.com/watch?v=g3oDYq4P9ZE Document is one this link https://cdn.discordapp.com/attachments/1135977927469703230/1135978751461695598/Daily_Bias-TTrades_edu.pdf?ex=669a9a27&amp ;is=669948a7&hm=96de195f7e695a381c1261b065f67b94fae319d02a0c88641b146f8b2978320c& Should have
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
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 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

프로젝트 정보

예산
40+ USD
개발자에게
36 USD