Create an Expert Advisor for XAUUSD that opens and closes trades based on MACD signals, while skipping all trades when ADX indicates weak trend conditions.

MQL5 Experts

Specification

Functional Requirements

1. Trading Instrument and Timeframe

  • The EA must operate on XAUUSD.

  • Timeframe should be configurable (default: 5‑minute depending on your scalping style).

2. Entry Logic (MACD-Based)

The EA must generate trade entries using MACD conditions:

  • Buy Entry

    • MACD line crosses above the Signal line.

    • Optional: MACD histogram flips from negative to positive.

    • Optional: Price above a trend filter (e.g., 20 EMA).

  • Sell Entry

    • MACD line crosses below the Signal line.

    • Optional: MACD histogram flips from positive to negative.

    • Optional: Price below a trend filter.

MACD parameters must be user‑configurable (Fast EMA, Slow EMA, Signal).


3. ADX Filter (Skip Trades in Weak Trends)

The EA must not open any trades when ADX is below a user‑defined threshold.

  • ADX period must be configurable.

  • ADX threshold must be configurable (e.g., skip trades when ADX < 20).

  • When ADX is below threshold:

    • No new trades are allowed.

    • Existing trades continue normally.

This prevents entries during sideways or low‑momentum conditions.

4. Exit Logic

The EA must support multiple exit methods:

  • MACD Exit

    • Opposite MACD cross closes the trade.

  • Stop‑Loss and Take‑Profit

    • User‑defined SL and TP in points.

  • Optional Trailing Stop

    • Can be ATR‑based or fixed‑point trailing.

    • Parameters must be configurable.

  • Optional Breakeven

    • Move SL to entry after X points in profit.

5. Risk Management

  • Lot size must be configurable (fixed or percentage‑based).

  • Maximum number of open trades must be configurable.

  • Only one trade per signal unless user enables multiple entries.

  • Stop trading when Loss reach to maximum % of the equity.

6. Additional Requirements

  • EA must avoid duplicate entries on the same candle.

  • EA must handle spread, slippage, and news filters if enabled.

  • All parameters must be adjustable from the EA settings.



Responded

1
Developer 1
Rating
(3)
Projects
3
0%
Arbitration
1
0% / 100%
Overdue
0
Free
2
Developer 2
Rating
(9)
Projects
12
8%
Arbitration
3
33% / 67%
Overdue
1
8%
Working
3
Developer 3
Rating
(22)
Projects
21
10%
Arbitration
4
25% / 75%
Overdue
0
Free
4
Developer 4
Rating
(212)
Projects
363
32%
Arbitration
34
41% / 29%
Overdue
108
30%
Working
Published: 1 code
5
Developer 5
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
6
Developer 6
Rating
(51)
Projects
69
35%
Arbitration
4
25% / 75%
Overdue
0
Free
7
Developer 7
Rating
(325)
Projects
506
19%
Arbitration
32
44% / 31%
Overdue
34
7%
Loaded
8
Developer 8
Rating
(626)
Projects
984
47%
Arbitration
33
36% / 33%
Overdue
97
10%
Working
Published: 6 codes
9
Developer 9
Rating
(4)
Projects
4
0%
Arbitration
1
0% / 100%
Overdue
0
Free
10
Developer 10
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
12
Developer 12
Rating
(22)
Projects
29
3%
Arbitration
4
25% / 0%
Overdue
3
10%
Working
13
Developer 13
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
14
Developer 14
Rating
Projects
0
0%
Arbitration
1
0% / 0%
Overdue
0
Working
15
Developer 15
Rating
(2)
Projects
2
50%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(15)
Projects
16
25%
Arbitration
1
0% / 0%
Overdue
2
13%
Working
17
Developer 17
Rating
(1278)
Projects
1700
49%
Arbitration
52
71% / 12%
Overdue
38
2%
Working
18
Developer 18
Rating
(442)
Projects
698
34%
Arbitration
33
70% / 9%
Overdue
22
3%
Free
19
Developer 19
Rating
(504)
Projects
971
74%
Arbitration
27
19% / 67%
Overdue
100
10%
Loaded
Published: 1 article, 6 codes
20
Developer 20
Rating
(32)
Projects
32
63%
Arbitration
1
0% / 0%
Overdue
1
3%
Working
Published: 5 codes
21
Developer 21
Rating
(549)
Projects
635
33%
Arbitration
41
39% / 46%
Overdue
11
2%
Loaded
22
Developer 22
Rating
(7)
Projects
16
44%
Arbitration
2
0% / 100%
Overdue
3
19%
Working
23
Developer 23
Rating
(39)
Projects
44
25%
Arbitration
13
8% / 69%
Overdue
1
2%
Busy
24
Developer 24
Rating
(308)
Projects
553
35%
Arbitration
79
32% / 42%
Overdue
200
36%
Loaded
25
Developer 25
Rating
(350)
Projects
421
54%
Arbitration
20
55% / 15%
Overdue
29
7%
Working
26
Developer 26
Rating
(30)
Projects
37
54%
Arbitration
2
50% / 50%
Overdue
3
8%
Free
27
Developer 27
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
28
Developer 28
Rating
(2309)
Projects
2906
63%
Arbitration
122
44% / 25%
Overdue
429
15%
Free
29
Developer 29
Rating
(1)
Projects
2
0%
Arbitration
2
0% / 100%
Overdue
0
Working
30
Developer 30
Rating
(375)
Projects
481
23%
Arbitration
58
55% / 26%
Overdue
55
11%
Loaded
31
Developer 31
Rating
(32)
Projects
35
34%
Arbitration
5
0% / 80%
Overdue
0
Working
Published: 2 codes
32
Developer 32
Rating
(154)
Projects
193
58%
Arbitration
10
80% / 0%
Overdue
0
Free
Published: 1 code
33
Developer 33
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
34
Developer 34
Rating
(2642)
Projects
3357
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
35
Developer 35
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
36
Developer 36
Rating
(2)
Projects
3
0%
Arbitration
1
100% / 0%
Overdue
1
33%
Free
37
Developer 37
Rating
(6)
Projects
5
0%
Arbitration
2
50% / 50%
Overdue
2
40%
Free
Similar orders
I have an existing MT5 Expert Advisor (“E-Core”). I need an experienced MQL5 developer to integrate a structured risk management upgrade and a higher timeframe trend filter into the current code. Two files will be provided: 1️⃣ E-Core Source Code (Current Version) 2️⃣ Update Instructions File (contains exact inputs, functions, and logic to integrate) The developer must: Integrate the update logic
Gunts 30 - 50 USD
Modification of EA and addition of tradovate indicators to mt5 EA as part of signal generation. To improve entry, display and management of trades in my EA using signals from tradovate indicators count
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type
Kindly see details below BUY ALERT 1. Supertrend turns Bullish 2. On this candle , or the last 10, BBStops is Bearish 3. On this candle , or the last 10, price was < or = MA1 4. Instrument is in trend (STEP MA1 and STEP MA 2 are both Bullish) 5. Distance in pips between Lowest price during last time BBstop was Bearish, and the value of Step MA 1 at last bearish candle of Step MA1
Looking to purchase a Good forex or gold/ BTC trading EA and it's source code. Must be compatible with low budget like less than $500 accounts, Must need no manual intervention and run fully automated. If you are interested in selling me the source code, please share the Read only account access where the EA has already been running on, so i can check past performance and get an idea on how it works or runs. Dont
EA requirements and necessary correction to be done . The EA monitors the PROFIT of open positions and turns ON or OFF the ALGO TRADING accordingly. By PROFIT I mean the SUM of profit + commission + swap. The EA will have two strategies, the INITIAL and the SECONDARY. Each one of them will be selectable by the user in the EA inputs. Let me explain here how the EA will operate: 1. INITIAL strategy: ·
Hello, I’m looking for an experienced MQL4/MQL5 developer to work with me on an ongoing basis. My clients request services such as: Converting TradingView Pine Script indicators/strategies into MT4 or MT5 Expert Advisors Converting MT4 EAs to MT5 (and MT5 to MT4) Compiling and fixing existing MQL4 / MQL5 EA code Adding simple features like alerts, SL/TP, lot size, and basic money management This job is for
I am looking someone to create an EA based on my MACD Histo indicator / strategy from Pinescript. I will send it to you for you to replicate. The EA shall have: - Divergence length in bars, min and max values. - Pivot Logic - Entry on close of divergence confirmation bar. - Dynamic lot size dependent on SL/TP, in monetary value. - SL / TP in percent away from entry, separate values for long and short. - Time, day and

Project information

Budget
30 - 50 USD

Customer

Placed orders1
Arbitrage count0