MACD Sample Expert Advisor

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
(202)
Projekte
206
27%
Schlichtung
0
Frist nicht eingehalten
3
1%
Frei
2
Entwickler 2
Bewertung
(2)
Projekte
2
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
3
Entwickler 3
Bewertung
(79)
Projekte
111
37%
Schlichtung
0
Frist nicht eingehalten
4
4%
Frei
4
Entwickler 4
Bewertung
(34)
Projekte
60
23%
Schlichtung
11
73% / 9%
Frist nicht eingehalten
3
5%
Frei
5
Entwickler 5
Bewertung
(243)
Projekte
430
34%
Schlichtung
54
37% / 39%
Frist nicht eingehalten
157
37%
Beschäftigt
6
Entwickler 6
Bewertung
(302)
Projekte
383
20%
Schlichtung
43
60% / 23%
Frist nicht eingehalten
45
12%
Beschäftigt
7
Entwickler 7
Bewertung
(49)
Projekte
62
40%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
7
11%
Arbeitet
8
Entwickler 8
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
9
Entwickler 9
Bewertung
(71)
Projekte
80
10%
Schlichtung
35
9% / 54%
Frist nicht eingehalten
6
8%
Arbeitet
10
Entwickler 10
Bewertung
(124)
Projekte
158
42%
Schlichtung
20
60% / 20%
Frist nicht eingehalten
8
5%
Frei
11
Entwickler 11
Bewertung
(568)
Projekte
641
41%
Schlichtung
21
57% / 29%
Frist nicht eingehalten
47
7%
Arbeitet
12
Entwickler 12
Bewertung
(549)
Projekte
1332
59%
Schlichtung
28
82% / 0%
Frist nicht eingehalten
10
1%
Frei
13
Entwickler 13
Bewertung
(119)
Projekte
169
38%
Schlichtung
9
78% / 22%
Frist nicht eingehalten
15
9%
Frei
14
Entwickler 14
Bewertung
(66)
Projekte
143
34%
Schlichtung
10
10% / 60%
Frist nicht eingehalten
26
18%
Frei
15
Entwickler 15
Bewertung
(563)
Projekte
932
47%
Schlichtung
302
59% / 25%
Frist nicht eingehalten
124
13%
Beschäftigt
Ähnliche Aufträge
Hello, I‘m interested in an indicator to predict the next candles probability (bullish or bearish). But honestly I have no idea how to do this. Would be interested in your opinion how we can create such an indicator. Please let me know if you‘ve done similar work
New york session based strategy 9:30 open Price takes out buy side or sell side liquidity Usually using 15min high and lows 5m entry Price takes out that high/low and price must close strongly back into the zone Is price is above price we have a sell bias vis versa for buys Sl is at the high or low with option for “offset” for cushion Tp is usually the opposite High or low. Would like the option for set pips-points &
Hey greetings. Am in need of a developer that has already made profitable MT4 or MT5 EA that I can buy with the backtesting and proven result. How is the draw down ? What is the winning rate ? Kindly reply and let proceed
I will buy your EA for MT5, in case that on distance it is able to make a profit of 10% per month. - Martingale methods and grid strategies should not be used as the basis of a trading strategy. - Excellent win rate (>80%) - High risk/loss management - Option to select direction of trading (long, short or both) - News filter - Editable Trading Hours I will need to test in the strategy tester and on live market (on
Hello, i need a good programmer; to code an EA to trade the most productive forex pairs (mainly 2 for the day, and 2 for the night+gold), the strategy is based on the use of one moving average and the rsi, thank you in advance
Arafat 30 - 80 USD
Offre valable uniquement pour avoir des nouvelles de votre réponse rapide de votre aide cordialement mme le quartier de votre avis sur les vacances scolaires et les activités de votre réponse
Hello, I want to create an EA with the belowspecification. EA will check conditions based on following input parameters: ● High Price ● Low Price ● Move Value (in Price) ● Gap (in price) After start, EA will mark High and Low prices based on input parameters. EA will start trading when the current price will hit any of the price POSITION at High , Low, Control Buy or Control Sell . EA will open
I am interested in creating an EA, I already have the code but I need someone who can debug it make it more greater look more into the strategy and put more strategy modification and modeling and optimization to make it great also at same time debug it
hi. I hv a strategy on tradingview need to convert to mt4/mt5 expert advisor for algo trading. would like to add some tradingview strategy setting to the mt4/mt5 EA(not included in my tradingview source code): recalculate after order is filled, order size: xx% of equity
Hey greetings. Am in need of a tradingview developer that can add a simple alert to my existing tradingview indicator with a simple conditions. Kindly bid for the project if it is what you can do for me and let proceed

Projektdetails

Budget
30+ USD
Für die Entwickler
27 USD
Ausführungsfristen
von 5 bis 15 Tag(e)