EA with simple MACD entry and interesting ATR trailing exit

MQL5 Experts

Job finished

Execution time 10 days
Feedback from employee
I don't want to work with him again :(
Feedback from customer
Hasan is obviously very intelligent but lacks social skills. Also, didn't understand the brief without a lot of input from me. Curiously pushy. If I don't tell you Hasan perhaps no-one will.

Specification

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


Responded

1
Developer 1
Rating
(111)
Projects
184
25%
Arbitration
25
16% / 76%
Overdue
16
9%
Free
2
Developer 2
Rating
(68)
Projects
127
41%
Arbitration
19
47% / 53%
Overdue
33
26%
Free
3
Developer 3
Rating
(406)
Projects
524
24%
Arbitration
62
58% / 24%
Overdue
60
11%
Loaded
4
Developer 4
Rating
(274)
Projects
403
28%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
5
Developer 5
Rating
Projects
1
0%
Arbitration
4
25% / 50%
Overdue
0
Free
6
Developer 6
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
7
Developer 7
Rating
(3)
Projects
2
50%
Arbitration
2
0% / 100%
Overdue
0
Free
8
Developer 8
Rating
(7)
Projects
8
13%
Arbitration
3
0% / 67%
Overdue
2
25%
Free
9
Developer 9
Rating
(7)
Projects
6
33%
Arbitration
7
0% / 71%
Overdue
0
Free
10
Developer 10
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
(637)
Projects
1009
47%
Arbitration
33
36% / 36%
Overdue
99
10%
Free
Published: 6 codes
14
Developer 14
Rating
(162)
Projects
289
35%
Arbitration
18
22% / 61%
Overdue
43
15%
Free
15
Developer 15
Rating
(33)
Projects
35
20%
Arbitration
5
40% / 40%
Overdue
0
Free
Published: 1 code
16
Developer 16
Rating
(2353)
Projects
2959
63%
Arbitration
125
44% / 26%
Overdue
429
14%
Working
17
Developer 17
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
18
Developer 18
Rating
(25)
Projects
33
18%
Arbitration
6
50% / 33%
Overdue
4
12%
Free
19
Developer 19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 7 codes
20
Developer 20
Rating
(20)
Projects
26
38%
Arbitration
6
33% / 50%
Overdue
0
Free
21
Developer 21
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
22
Developer 22
Rating
(16)
Projects
20
0%
Arbitration
10
0% / 80%
Overdue
6
30%
Free
23
Developer 23
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
24
Developer 24
Rating
(258)
Projects
269
29%
Arbitration
2
50% / 0%
Overdue
3
1%
Working
Published: 2 codes
Similar orders
Andrew 50 - 200 USD
Hello, I am from Tanzania. I am looking for a professional MQL5 programmer from Tanzania who can help me develop and improve my automated MT5 trading robot. The project is called SMC XAVAGE AI, and it trades XAUUSD (Gold). I would like to discuss the project with you. Are you based in Tanzania? Would it be possible to arrange a meeting or a call? Thank you
Metafix 50 - 200 USD
Here is a professional specification you can send directly to your developer. # Project Requirements Specification: MetaTrader 5 Trading Robot Development ### 1. Project Overview I want to develop an automated Forex trading robot (Expert Advisor) for MetaTrader 5 (MT5). The robot should analyse the financial markets, identify trading opportunities, and execute trades automatically based on predefined strategies. ###
1. Platform: MT4 The EA required is not linked, neither depending on trading strategy nor trading signals nor indicators. 2. Initial order is a pending order (buy stop/ sell stop) and it is created manually. It is open for a specified symbol (pair) at a specified price with a specified S/L 3. Example: buy stop 0.1 lot GBPUSD @ 1.3085 WITH S/L @1.3075 Once target price is reached, pending order will
Overview: Build an MT5 Expert Advisor that receives webhook alerts from TradingView (RayAlgo indicator) across three timeframes ( H1, M5, M1 ) for XAUUSD and executes a dual-position strategy when all three conditions align, including strict FTMO server-request limits and automated pre-market-close trade closures. 1. Webhook Receiver & Multi-Timeframe State Logic: H1 Bias State: Updates to BULLISH or BEARISH upon
I am looking for an experienced trading software developer interested in building a long-term working relationship. Im a professional Trader, Coach and Mentor, I work with traders and Student who require customized trading solutions, including automated trading bots, Expert Advisors, custom indicators, trading strategies and other algorithmic trading tools. I am looking for a technically skilled developer who can
Salman serhal 30 - 100 USD
MT5 ICT XAUUSD Sell-Only Trading Robot with Fibonacci Confirmation I am looking for an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5, specifically for trading Gold (XAUUSD). 1. Trading Strategy The robot must use the ICT trading methodology and focus on SELL trades only. The strategy should include: * Identify important resistance and premium zones. * Use Fibonacci retracement
Objective: I am looking for an experienced MQL5 quantitative developer to code an Expert Advisor (EA) from scratch based on a fully defined, rule-based strategy, and then rigorously validate, optimize, and stress-test it before I deploy it on a live VPS environment. Note: The exact mathematical rules, indicator names, and chart screenshots will be shared privately with shortlisted candidates. Strategy Overview
Hi Team We are looking to commission an Expert Advisor (EA) for MetaTrader 5 (MT5) to trade XAUUSD (Gold) . The EA requires tight risk management with a strict $2.00 Stop Loss and a $3.00 to $5.00 Take Profit target. The goal is to achieve a 60%+ Win Rate . Please propose or implement a strategy algorithm capable of meeting the following performance requirements on XAUUSD tick data: Target Performance: $\ge 60\%$ Win
O Trading Ventures 30 - 2000 USD
a trading bot that can open and close trade by its self a stop loss of 1.2 lot size and good tp it should be able to learn trends and learn from its mistakes
JOB SPECIFICATION: Fully Automated ES/MES 5-Minute NY Opening Range Breakout EA 1. Project objective I am looking for an experienced trading algo developer to build a fully automated trading bot (EA) based on my specific 5-minute New York Opening Range Breakout strategy. The EA must identify setups, confirm breakouts, identify retests, confirm continuation, execute trades, calculate position size, place stop-loss and

Project information

Budget
70 - 100 USD
Deadline
to 5 day(s)