MACD Sample Expert Advisor

MQL5 전문가

명시

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
등급
(334)
프로젝트
524
32%
중재
23
65% / 9%
기한 초과
15
3%
무료
2
개발자 2
등급
(138)
프로젝트
192
21%
중재
12
58% / 25%
기한 초과
1
1%
바쁜
3
개발자 3
등급
(10)
프로젝트
10
0%
중재
1
0% / 0%
기한 초과
1
10%
무료
4
개발자 4
등급
(4)
프로젝트
2
0%
중재
2
50% / 0%
기한 초과
0
무료
5
개발자 5
등급
(6)
프로젝트
7
29%
중재
0
기한 초과
0
작업중
6
개발자 6
등급
(319)
프로젝트
517
66%
중재
52
21% / 38%
기한 초과
163
32%
무료
7
개발자 7
등급
(13)
프로젝트
17
35%
중재
0
기한 초과
0
작업중
8
개발자 8
등급
(38)
프로젝트
52
15%
중재
1
0% / 0%
기한 초과
6
12%
로드됨
9
개발자 9
등급
(236)
프로젝트
440
26%
중재
123
21% / 56%
기한 초과
96
22%
로드됨
10
개발자 10
등급
(126)
프로젝트
162
17%
중재
17
47% / 18%
기한 초과
0
로드됨
11
개발자 11
등급
(53)
프로젝트
156
69%
중재
4
100% / 0%
기한 초과
1
1%
작업중
12
개발자 12
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
13
개발자 13
등급
(362)
프로젝트
502
40%
중재
145
17% / 73%
기한 초과
98
20%
바쁜
14
개발자 14
등급
(17)
프로젝트
21
5%
중재
7
14% / 14%
기한 초과
3
14%
로드됨
15
개발자 15
등급
(5)
프로젝트
6
17%
중재
0
기한 초과
0
작업중
16
개발자 16
등급
(4)
프로젝트
5
20%
중재
1
0% / 0%
기한 초과
1
20%
로드됨
17
개발자 17
등급
(40)
프로젝트
86
13%
중재
30
30% / 47%
기한 초과
35
41%
로드됨
18
개발자 18
등급
(7)
프로젝트
11
9%
중재
1
0% / 100%
기한 초과
0
무료
19
개발자 19
등급
(185)
프로젝트
190
27%
중재
0
기한 초과
3
2%
무료
20
개발자 20
등급
(467)
프로젝트
496
53%
중재
10
60% / 20%
기한 초과
3
1%
무료
21
개발자 21
등급
(39)
프로젝트
75
39%
중재
0
기한 초과
0
작업중
22
개발자 22
등급
(422)
프로젝트
479
33%
중재
24
42% / 46%
기한 초과
6
1%
바쁜
23
개발자 23
등급
(558)
프로젝트
925
48%
중재
301
59% / 25%
기한 초과
123
13%
로드됨
24
개발자 24
등급
(67)
프로젝트
74
7%
중재
32
9% / 56%
기한 초과
6
8%
무료
25
개발자 25
등급
프로젝트
1
0%
중재
0
기한 초과
0
무료
26
개발자 26
등급
(251)
프로젝트
402
38%
중재
82
41% / 20%
기한 초과
70
17%
작업중
27
개발자 27
등급
(166)
프로젝트
189
10%
중재
37
38% / 35%
기한 초과
5
3%
로드됨
28
개발자 28
등급
(66)
프로젝트
143
34%
중재
11
9% / 55%
기한 초과
26
18%
작업중
29
개발자 29
등급
(96)
프로젝트
143
76%
중재
0
기한 초과
2
1%
무료
30
개발자 30
등급
(546)
프로젝트
823
73%
중재
15
53% / 13%
기한 초과
193
23%
작업중
비슷한 주문
I need an indicator or ea for detecting of spike in boom abd crash market. I need a consistant indi. Or ea and developer should provide its demo for test purposes
I need to backtest my strategy so I need m1 history of 28 currency pairs on oanda exchange. can be updated to the present time . I need 1min historical canfle data based on Tradingviwe UI from Oanda broker. for gold, bitcoin, ……). Tradingviwe only show 20000 candle but i need far further data Who can help me
I need someone to convert my tradingview Indicator to MT5, Its very smiple for Buying and Selling Indicator working fine in TradingView, After the Indicator ready we need to build EA to take the Buy and Sell Value and Open trade automatically in MT5, with all basic input setting including lot size, Automated SL and TP Management: The EA automatically manages the Stop Loss (SL) and Take Profit (TP) levels of open
Looking for a MT5 HFT with no losses to be made orginal. Needs to be able to trade forex, metals, indices or what can be most volatility. It’s being used on live cash accounts so must have capability to increase lots sizes. Prefer tick. If interested to discuss and build let me know
Hi All, I have the following specification for changes to my MT5 EA: 1. Replace existing strategy for entry with another one, using fibo based indicator I will provide. 2. Fix an issue with strategy where EA does not open trades as expected (it should enter both buy and sell simultaneously if (adds position in loss)EnterStepPoints > 0 and (adds position in profit)EnterNewinProfit_Step_Point > 0, and separate each
Hi dear How are you doin?? I like to convert this mql4 indicator to Tradingview pin script Can you do it ?? Are you available for it ?? Thanks very much And waiting for your response
Hello, I've an indicator in TradingView, I need help in creating a strategy using that, strategy is simple - Buy when it turns green, sell when it turns red. Can you help
MA based EA. 1. EA convert to mt5 2. add in Input setting (choose option ) Trailing method -Trailing sl method -Limited price method . (already EA working on this .just make a option and add limited method form other version of same ea .) +++++++++++++++++++++++++++++++++++++++++++++++++ 2. Add EA starting mode - Automatic entry mode - Manual entry mode
Breakout trading EA 30 - 50 USD
I need an EA to mark the high and the low of a certain period, and EA to place pending orders upon breakout. Parameters will include chart settings, time filter, position settings (lot size, TP / SL management), and few other simple settings. This strategy is very simple but I'd like to have it automated so that I don't have to be in front of the chart all day. Will share further info, illustrations, strategy
Hello guys, Iam an investor in an account that runs Arbitrage EA on one broker and it works just fantastic.. The guy who runs the EA obviously doesnt want to sell the EA because he profits from that. I would like to find someone that can develop me one Arbitrage (HFT) EA that works perfect on MT5 and trades XAUUSD (gold) specifically. If you would like and can help me i would appriciate it! Best regards

프로젝트 정보

예산
50 - 250 USD
개발자에게
45 - 225 USD
기한
 30 일