EA with simple MACD entry and interesting ATR trailing exit

MQL5 Experten

Spezifikation

== Introduction ==
  • As per this videos (https://www.youtube.com/watch?v=A1_SUlwsWVk) there is an opinion that most market moves are random save for a select few non-random moves.
  • It is also a matter of statistical fact that markets get less noisy as you go up time frames.
  • This EA is designed to make simple sensible discount entries in line with the trend using MACD and 50/200EMA but manage the trade in a very specific way using ATR trailing stops on escalating time frames (15m, 1H, 4H, 12H, 1D) to catch these
  • non-random moves.
  • Though the video speaks of a 10 pip/3ATR stop on the 1m timeframe I think we can simplify by starting on the 15m timeframe and with perhaps 1.5ATR stop - the inital stop must be small for the magic to work.
  • This is part 1 of a 2 part project - part 2 will incorporate more risk management techniques to preserve account balance based on (https://www.youtube.com/watch?v=wZb8XJbhY4A) should part 1 look promising.

== Entry Rules ==

Entry Rules (Long):
1)MACD cross occurs under zero lines
2)50EMA is above 200EMA by X%
3)Close is above 200EMA
4)Within 0800-1600UTC time window

Entry Rules (Short):
1)MACD cross occurs above zero lines
2)50EMA is below 200EMA by X%
3)Close is below 200EMA
4)Within 0800-1600UTC time window

== Trade Management (Long Example Only) ==

Trade is taken on 15m chart with 1ATR SL and at the point it hits TP (breakeven level) SL is moved to BE (if BE option is checked)
IF the price moves up to the extent that the 1H ATR > BE then the 1H ATR is used as the trailing stop value (once)
IF the price moves up to the extent that the 4H ATR > 1H ATR trailing stop, 4H ATR is used as the trailing stop value (once)
IF the price moves up to the extent that the 12H ATR > 4H ATR trailing stop, 12H ATR is used as the trailing stop value (once)
IF the price moves up to the extent that the 1D ATR > 12H ATR trailing stop, 1D ATR is used as the trailing stop value (true trailing stop)

  • What we are doing is actually widening the ATR SL to make way to catch big moves over days and weeks
  • As you'll see from the video there will be a lot of BE trades, smaller wins and losers but then some wins can be absolutely huge (50R+).
  • It works for the same reason DCA doesn't work - eventually the market will move and not come back to where you entered for a long time (XAU/US500/USOIL/BTC/USDJPY etc)

==Full List of EA parameters==

ATR SL: <float> default 1.5
ATR TP (BE level): <float> default 1.5
Risk Per Trade (%): <float> default 0.5
Use BE : <bool> default Y
Add Spread To BE : <bool> default N
Add pips to BE: <int> default 0
ATR Period: <int> default 14
1H ATR Stop Distance: <float> default 3
4H ATR Stop Distance: <float> default 3
12H ATR Stop Distance: <float> default 3
1D ATR Trailing Stop Distance: <float> default 3
Trade Window Start HH(UTC): default 08
Trade Window Start MM(UTC): default 00
Trade Window Finish HH(UTC): default 16

Trade Window Finish MM(UTC): default 00


==Acceptance Criteria==
  • EA will behave in line with this spec and video 
  • Source code should be delivered to me please


Bewerbungen

1
Entwickler 1
Bewertung
(84)
Projekte
122
16%
Schlichtung
4
25% / 25%
Frist nicht eingehalten
11
9%
Beschäftigt
2
Entwickler 2
Bewertung
(62)
Projekte
111
39%
Schlichtung
15
47% / 53%
Frist nicht eingehalten
28
25%
Arbeitet
3
Entwickler 3
Bewertung
(363)
Projekte
461
24%
Schlichtung
48
58% / 21%
Frist nicht eingehalten
52
11%
Beschäftigt
4
Entwickler 4
Bewertung
(234)
Projekte
335
24%
Schlichtung
19
63% / 21%
Frist nicht eingehalten
1
0%
Beschäftigt
5
Entwickler 5
Bewertung
Projekte
0
0%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
0
Frei
6
Entwickler 6
Bewertung
Projekte
0
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
7
Entwickler 7
Bewertung
(3)
Projekte
2
50%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
8
Entwickler 8
Bewertung
(7)
Projekte
8
13%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
2
25%
Frei
9
Entwickler 9
Bewertung
(6)
Projekte
2
0%
Schlichtung
3
0% / 33%
Frist nicht eingehalten
0
Arbeitet
10
Entwickler 10
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
11
Entwickler 11
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
12
Entwickler 12
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
13
Entwickler 13
Bewertung
(613)
Projekte
954
46%
Schlichtung
30
40% / 33%
Frist nicht eingehalten
95
10%
Frei
Veröffentlicht: 6 Beispiele
14
Entwickler 14
Bewertung
(152)
Projekte
271
35%
Schlichtung
12
25% / 58%
Frist nicht eingehalten
42
15%
Beschäftigt
15
Entwickler 15
Bewertung
(30)
Projekte
34
21%
Schlichtung
3
67% / 0%
Frist nicht eingehalten
0
Arbeitet
Veröffentlicht: 1 Beispiel
16
Entwickler 16
Bewertung
(2199)
Projekte
2777
62%
Schlichtung
117
45% / 25%
Frist nicht eingehalten
425
15%
Arbeitet
17
Entwickler 17
Bewertung
(2)
Projekte
0
0%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
0
Arbeitet
18
Entwickler 18
Bewertung
(18)
Projekte
24
13%
Schlichtung
3
67% / 0%
Frist nicht eingehalten
2
8%
Arbeitet
19
Entwickler 19
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
20
Entwickler 20
Bewertung
(9)
Projekte
11
27%
Schlichtung
1
100% / 0%
Frist nicht eingehalten
0
Frei
21
Entwickler 21
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
22
Entwickler 22
Bewertung
(16)
Projekte
20
0%
Schlichtung
9
0% / 78%
Frist nicht eingehalten
6
30%
Frei
Ähnliche Aufträge
Hello Developers, I need a Metatrader 5 (MT5) Expert Advisor (EA) built based on my fully mechanical Precision Breaker Block System V2 trading strategy. Key Features: 15m and 5m EMA Alignment Check (50 EMA and 200 EMA) 5-Minute timeframe Liquidity Sweep Detection (previous highs/lows) Impulse Strength Confirmation (2x the size of breaker block candle body) Breaker Block Zone Mapping (last opposite color candle body
I'm looking for a simple order manager to help me place both pending and instant orders. I'd like it to have three main settings: default lot size, risk percentage, and money amount. It would be great if I could also choose whether to base it on balance or equity. I'd love to have a "Close All" button too — something that can quickly close all pending and current orders in one click. Lastly, it would be awesome to
Good afternoon, I'm looking for a professional final integration service. I require a fully responsible, extremely experienced engineer who does not use chat GPT, the engineer I hire will have the ability to read code and with one glance know what amendments to make, must know MQL5 like the back of his hand I have an EA that is almost complete in its functional operations, I'm looking for someone to add the finishing
I need Fully automated robot for MT5 I m using exness and Octafx broker. i need small profits like $0.50 per trade. if take profit reach the trade wants to close immediately. if you have any other EA already reply me. i can try it. Please check elirox app in play store and check with demo account. the app opens and closes the trades automatiically. i need to install that EA for Mobile
Hello Programmers, I',m in need of a ready made bot for Ninjatrader platform. Make sure you are ready to provide with videos and settings including the necessary things. Please only message if you know you already have a ready mad bot for sales. Thanks in Advance
I have a purchased MT4 custom indicator (Rapid Trend.ex4) located in the Market folder: MQL4 > Indicators > Market > Rapid Trend.ex4 I want to create a new custom indicator ( iCustomRapidTrend.ex4 ) that: Uses the original Rapid Trend indicator via iCustom with path input: Market\\Rapid Trend.ex4 Adjusts the width and size of the lines and arrows (Green/Red lines: width 2; Up-arrow Blue and Down-arrow Magenta: size
I am looking for an experienced and reliable MQL5 developer to complete an Expert Advisor (EA) project that is already partially developed. The previous coder abandoned the project close to completion, so I need someone who can step in, quickly understand the existing code, and professionally bring it across the finish line
I have a complex Pine Script indicator for TradingView that generates Buy/Sell signals, Stop Loss, and Take Profit levels. The indicator has many lines of code and includes several customizable parameters that I manually adjust in TradingView. I need an experienced MQL5 developer to convert this indicator into a fully functional Expert Advisor (EA) for MetaTrader 5 (MT5) that executes trades automatically 24/7. The
LOT SIZE WITH MULTIPLIER WHEN INITIAL TRADE ENTERED WHEN PARABOLIC REVERSES IT SHOULD NOT CLOSE OPEN ENTRY AND DO HEDGING AS FOLLOWS: PARABOLIC BUY MOVING AVERAGE BUY OPEN TRADE BUY 0.01 WHEN PARABOLIC REVERSE AGAIN ENTER SAME LOT & HEDGE THE POSITION 0.01 SELL WHEN AGAIN PARABOLIC BUY ENTER IF MULTIPLIER IS 2 THEN 0.02 BUY AGAIN PARABOLIC SELL 0.02 AS SO ON.. AS BELOW EXAMPLE.. First Buy: 0.01 Reverse → Sell: 0.01
Hey guys, I have an EA - it works fine so far, but I'm not happy with all settings and want it modified. - Would need the change from points to currency of the Account - Delay after opening a trade (don't open another trade in the next x minutes/points) [if the delay is set on 5m and the trade closes in 2m it can ofcourse take a new signal, but if the trade is open: wait 5min and look at max. open trades limit] -

Projektdetails

Budget
70 - 100 USD
Ausführungsfristen
bis 5 Tag(e)

Kunde

(3)
Veröffentlichte Aufträge5
Anzahl der Schlichtungen0