MACD Sample Expert Advisor

MQL5 Experten

Spezifikation

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.




Bewerbungen

1
Entwickler 1
Bewertung
(340)
Projekte
535
32%
Schlichtung
23
65% / 9%
Frist nicht eingehalten
15
3%
Arbeitet
2
Entwickler 2
Bewertung
(143)
Projekte
202
21%
Schlichtung
13
62% / 23%
Frist nicht eingehalten
1
0%
Überlastet
3
Entwickler 3
Bewertung
(10)
Projekte
10
0%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
1
10%
Frei
4
Entwickler 4
Bewertung
(4)
Projekte
2
0%
Schlichtung
2
50% / 0%
Frist nicht eingehalten
0
Frei
5
Entwickler 5
Bewertung
(7)
Projekte
10
30%
Schlichtung
0
Frist nicht eingehalten
1
10%
Frei
6
Entwickler 6
Bewertung
(319)
Projekte
518
66%
Schlichtung
52
21% / 38%
Frist nicht eingehalten
164
32%
Arbeitet
7
Entwickler 7
Bewertung
(15)
Projekte
19
42%
Schlichtung
0
Frist nicht eingehalten
0
Beschäftigt
8
Entwickler 8
Bewertung
(45)
Projekte
61
15%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
6
10%
Beschäftigt
9
Entwickler 9
Bewertung
(236)
Projekte
440
26%
Schlichtung
125
21% / 56%
Frist nicht eingehalten
96
22%
Arbeitet
10
Entwickler 10
Bewertung
(129)
Projekte
167
17%
Schlichtung
17
47% / 18%
Frist nicht eingehalten
0
Arbeitet
11
Entwickler 11
Bewertung
(54)
Projekte
162
69%
Schlichtung
4
100% / 0%
Frist nicht eingehalten
1
1%
Arbeitet
12
Entwickler 12
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
13
Entwickler 13
Bewertung
(362)
Projekte
502
40%
Schlichtung
145
17% / 73%
Frist nicht eingehalten
98
20%
Überlastet
14
Entwickler 14
Bewertung
(20)
Projekte
24
8%
Schlichtung
6
17% / 17%
Frist nicht eingehalten
3
13%
Beschäftigt
15
Entwickler 15
Bewertung
(5)
Projekte
6
17%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
16
Entwickler 16
Bewertung
(6)
Projekte
7
43%
Schlichtung
2
0% / 0%
Frist nicht eingehalten
2
29%
Überlastet
17
Entwickler 17
Bewertung
(41)
Projekte
87
13%
Schlichtung
29
31% / 48%
Frist nicht eingehalten
35
40%
Überlastet
18
Entwickler 18
Bewertung
(9)
Projekte
13
8%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Arbeitet
19
Entwickler 19
Bewertung
(192)
Projekte
196
27%
Schlichtung
0
Frist nicht eingehalten
3
2%
Frei
20
Entwickler 20
Bewertung
(468)
Projekte
497
53%
Schlichtung
10
60% / 20%
Frist nicht eingehalten
3
1%
Frei
21
Entwickler 21
Bewertung
(40)
Projekte
76
39%
Schlichtung
0
Frist nicht eingehalten
0
Frei
22
Entwickler 22
Bewertung
(433)
Projekte
491
33%
Schlichtung
25
40% / 48%
Frist nicht eingehalten
7
1%
Beschäftigt
23
Entwickler 23
Bewertung
(562)
Projekte
929
48%
Schlichtung
301
59% / 25%
Frist nicht eingehalten
123
13%
Beschäftigt
24
Entwickler 24
Bewertung
(67)
Projekte
74
7%
Schlichtung
32
9% / 56%
Frist nicht eingehalten
6
8%
Arbeitet
25
Entwickler 25
Bewertung
Projekte
1
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
26
Entwickler 26
Bewertung
(251)
Projekte
402
38%
Schlichtung
82
41% / 20%
Frist nicht eingehalten
70
17%
Beschäftigt
27
Entwickler 27
Bewertung
(167)
Projekte
191
10%
Schlichtung
37
38% / 35%
Frist nicht eingehalten
5
3%
Arbeitet
28
Entwickler 28
Bewertung
(66)
Projekte
143
34%
Schlichtung
11
9% / 55%
Frist nicht eingehalten
26
18%
Arbeitet
29
Entwickler 29
Bewertung
(96)
Projekte
143
76%
Schlichtung
0
Frist nicht eingehalten
2
1%
Frei
30
Entwickler 30
Bewertung
(547)
Projekte
824
73%
Schlichtung
15
53% / 13%
Frist nicht eingehalten
193
23%
Arbeitet
Ähnliche Aufträge
Hedging strategy with Moving Average along with other parameters and Conditions Expert Adviser (EA) – MQL 5 Main Parameters – Moving Average trend order, Hedging opposite order, Average and double average loss order, Stop Loss Strategy, No. of Open Buy and Sell Orders and another important 2 things are .. Exit Strategy & Pip gap between order Please note this EA .. it is a combination of new orders along with
Good day, I´m looking for an EA to execute outputs/signals from an Indicator. The options/settings should be like : open trades for TP1 / TP2 / TP3 ( incl SL ) TrailingStop by reaching certain TP´s option for closing trades by opposite signal (true/false) Money management: Fixed lot Risk by % Autlot and maybe some other ideas from your side to make it easier and more safe
I want to create a trading robot based on the following indicators-MFI,RSI and Stochastic. The robot will as expected performance automated trading using these indicators. These are the foundations of these strategy. Thank you so much
The ZONE RECOVERY/HEDGING STRATEGY will be on a timeframe where each strategy is independent and pending orders should be placed at the high and low of the candlestick. If it is a buy, then the pending order at the high of the candlestick will be triggered, and if it is a sell, then the pending order at the low of the candlestick will be triggered. If the market breaks the high of the candlestick, then the pending
I NEED AN EXPERT ADVISOR BASED ON DIVERGENCE INDICATOR AND ORDER BLOCK INDICATOR.IT WILL USE ORDER BLOCK INDICATOR MAIN,SIGNAL AND CONFIRMATION CANDLES TO OPEN POSITIONS.IT WILL USE SOME DIFFERENT SETTINGS.TIME CONDITIONS,MULTIPLY SETTINGS,TRAILING STOP LOSS BREAKEVEN SETTING E.T.C.I WILL GIVE INDICATORS
Using a tradingview indicator Trend Indicator A (v2.3) to convert it into a Robot. Conditions as follows : Buy when the trend color is green, sell when trend color is red, set stop loss and take profits, risk to reward ratio 1:3 or when the trend color changes, whichever is best based on backtesting. You can add anything that will make the robot works better
hi I have a script in Tradingview that looks good which shows the buy and sell automation. I wanted to see if that can be used in ninja Trader so I converted it for Ninja Trader. But it is not triggering the buy or sell trade like it shows in the tradingview script. Please let me know if you can help me with the script that will work in Ninja Trader just like the one in Trading View. I have the buy and sell signals
Advanced Order Panel 30 - 200 USD
I'm looking for a programmer that has the skills to bring together various EA's into one Trading Panel. This is more complicated than the average trade panel as I'd like to be able to toggle on or off each individual option. All parameters, key-in values and functions will be on the panel's interface. A good example of what it should look like can be found at The Best Trade Panel You've Ever Seen For MT4 & 5
Hi, I have one indicator shows buystop/sellstop price with tp 1 to tp 5. Please read carefully following conditions for EA. For trading, these following function is required; 1. Indicator parameters should be implemented on EA as parameters. 2. Automatically place the orders below/above certain points on Buystop and on sellstop at the sametime) with adjustable SL and TP1 based on indicator shows. 3. Even if one side
Cloning URGENT 30+ USD
i need to clone an ea, it's urgent so if you have overdue please don't apply i need a developer available asap, i will have also new jobs after this thank you

Projektdetails

Budget
50 - 250 USD
Für die Entwickler
45 - 225 USD
Ausführungsfristen
bis 30 Tag(e)