MT5 Expert Advisor: MACD histogram rule with trading-hours filter

MQL5 Esperti Forex

Specifiche

I need an MT5 Expert Advisor (MQL5, full source code) that trades one simple rule based on the MACD histogram. All settings must be inputs.


Signal

- Timeframe input (default H1). Use closed bars only and act on the first tick of the new bar.

- MACD inputs: fast EMA, slow EMA, signal period (defaults 12, 26, 9).

- Signal line type input: SMA (like the built-in MT5 MACD) or EMA.

- Histogram = MACD line minus signal line.

- Histogram above 0: hold one long position. Below 0: hold one short position. Exactly 0: keep the current state.

- Allowed sides input: long and short / long only / short only. If a side is not allowed, stay flat instead.


Orders

- One position at a time per symbol and magic number. When the signal flips, close the current position and open the opposite one if that side is allowed.

- Fixed lot input. Optional stop loss and take profit in points (0 = off, default off).

- Must work on any symbol including metals, with broker symbol suffixes, on netting and hedging accounts, with the broker filling mode.


Trading hours

- Inputs: no-trade start hour and end hour in server time (same value for both = filter off).

- Inside the no-trade window the EA closes its position and does not open a new one. After the window it follows the signal again.


Restart safety

- After a restart, the EA finds its open position on the account by magic number and continues without opening a duplicate.


Delivery

- Commented .mq5 source that compiles with 0 errors and 0 warnings.

- No DLLs, no WebRequest, no license or account locks.

- A Strategy Tester report on XAUUSD H1, 2022-2025, 1 minute OHLC or better, showing trades.

- A short note listing the inputs.


Acceptance: I will run it in the Strategy Tester and check that entries and exits follow the histogram sign on closed bars, that no position is held inside the no-trade window, and that the allowed sides setting is respected.

Con risposta

1
Sviluppatore 1
Valutazioni
(637)
Progetti
1009
47%
Arbitraggio
33
36% / 36%
In ritardo
99
10%
Gratuito
Pubblicati: 6 codici
2
Sviluppatore 2
Valutazioni
(466)
Progetti
817
49%
Arbitraggio
75
21% / 51%
In ritardo
143
18%
In elaborazione
3
Sviluppatore 3
Valutazioni
(10)
Progetti
17
18%
Arbitraggio
3
0% / 33%
In ritardo
3
18%
Caricato
4
Sviluppatore 4
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
(7)
Progetti
9
67%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 1 articolo, 2 codici
6
Sviluppatore 6
Valutazioni
(188)
Progetti
202
47%
Arbitraggio
4
50% / 25%
In ritardo
1
0%
In elaborazione
7
Sviluppatore 7
Valutazioni
(23)
Progetti
33
39%
Arbitraggio
9
22% / 33%
In ritardo
5
15%
Occupato
Pubblicati: 8 articoli, 35 codici
8
Sviluppatore 8
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
10
Sviluppatore 10
Valutazioni
(406)
Progetti
524
24%
Arbitraggio
62
58% / 24%
In ritardo
60
11%
Caricato
11
Sviluppatore 11
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
(2)
Progetti
2
50%
Arbitraggio
0
In ritardo
1
50%
Gratuito
13
Sviluppatore 13
Valutazioni
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 4 codici
14
Sviluppatore 14
Valutazioni
(564)
Progetti
861
61%
Arbitraggio
33
27% / 45%
In ritardo
24
3%
Gratuito
Pubblicati: 1 codice
15
Sviluppatore 15
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
16
Sviluppatore 16
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 4 codici
17
Sviluppatore 17
Valutazioni
(1)
Progetti
1
100%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 7 codici
18
Sviluppatore 18
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
19
Sviluppatore 19
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
20
Sviluppatore 20
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
21
Sviluppatore 21
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
22
Sviluppatore 22
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 6 codici
23
Sviluppatore 23
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 5 codici
24
Sviluppatore 24
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
25
Sviluppatore 25
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
26
Sviluppatore 26
Valutazioni
(54)
Progetti
102
23%
Arbitraggio
12
25% / 17%
In ritardo
13
13%
Gratuito
27
Sviluppatore 27
Valutazioni
(119)
Progetti
169
38%
Arbitraggio
9
78% / 22%
In ritardo
15
9%
Gratuito
28
Sviluppatore 28
Valutazioni
(2352)
Progetti
2958
63%
Arbitraggio
125
44% / 26%
In ritardo
429
15%
Gratuito
Ordini simili
Custom MT5 Expert Advisor – Developer Specification 1. Project Objective Develop a fully autonomous, custom MetaTrader 5 Expert Advisor (EA) using native MQL5. The EA must independently analyze financial markets, generate its own trading signals, evaluate opportunities, execute trades, and manage open positions without requiring an external signal provider, another trading bot, or manual intervention. The EA must
نازدك 30+ USD
Specify your Requirements Specification here point by point. Try to describe your requirements briefly and clearly, so that your potential developer is able to correctly assess its complexity and cost, as well as the required execution time. A bad or too generic description will result in your order being ignored, or you will spend a lot of time negotiating the details with each applicant. Remember: It is better to
I am looking for an experienced MQL5 developer to recreate my existing MT5 Expert Advisor (DSTR Novaa). I have the original compiled EX5 file, Vantage MT5 live trading history and original Strategy Tester report. Required Trading Logic: EMA Period: 3. BUY when price crosses below EMA 3. SELL when price crosses above EMA 3. Starting Lot: 0.01 (configurable). Martingale Multiplier: 2.0. Maximum Martingale Cycle: 9
CyberShadow AI 30 - 300 USD
I want a bot that’s trades using smc strategy having stop loss and take profit.I want it to be able to trade with small account I want a disciplined robot but a strong one to I also what it to trade using trend line and locate point of interest
I need an EA for MetaTrader 5 called AI Forex Robot V100. It must trade automatically on EURUSD and GBPUSD, M15 timeframe. Strategy: - Buy when fast EMA crosses above slow EMA and RSI is above 50 - Sell when fast EMA crosses below slow EMA and RSI is below 50 - Only 1 trade at a time - Stop Loss: 50 pips, Take Profit: 100 pips - Lot size: 0.01, with option to change in settings - Must have trailing stop and news
PROJECT: EXISTING MT5 EA MODIFICATION – XAUUSD SLIPPAGE REDUCTION 1. Project Objective I already have a fully developed MT5 Expert Advisor (.mq5 source code). I am looking for an experienced MQL5 developer who can optimize my existing EA to achieve the lowest possible execution slippage on a REAL LIVE trading account. My primary and only objective is to zero slippage. I am not looking for a new trading strategy or
Elektra Trading Robot 100 - 200 USD
Elektra Trading Robot is an automated Forex trading system designed to analyze market conditions execute trades according to predefined trading strategies. It aims to identify potential trading opportunities, manage trading positions, and apply risk management rules to help protect trading capital. The robot is designed for real-account trading and focuses on consistency, disciplined execution, and efficient trade
I need an already developed EA with proven ability to grow small accounts for day trading. It can trade any specific instrument like gold, EURUSD or more than one instrument. Any strategy is welcomed, including scalping in lower timeframes A test version is required before concluding the deal or being selected. Only those with ready products apply No fake EAs needed
Forex Hunter MT5 30 - 250 USD
ثبت طلبك في مواصفات البوت الثاني كذا: الجودة والأمان أهم من السعر، وما يدخل إلا إذا الفرصة قوية، مع حماية عند الخسائر وانقطاع الاتصال وارتفاع السبريد، وتشغيل مستمر على سيرفر، مع اختبارات إلزامية قبل أي تشغيل حقيقي. بهذه الصيغة يصير يشتغل وأنت مرتاح بالِك، لكنه يوقف تلقائيًا وقت عطلة السوق أو أي خلل. بس أكون واضح معك: ما في بوت يضمن عدم الخسارة، خصوصًا بالمضاربات السريعة، هدفنا نقلل المخاطر ونمنع الخسائر غير المنضبطة
I'm looking for an experienced MQL5 developer to create a Opening Range Breakout EA. The EA should identify the high and low of a configurable trading session and open trades when price breaks out of this range. It should include configurable Stop Loss, Take Profit, fixed lot size, break-even option and trading hours. Full mq5 required

Informazioni sul progetto

Budget
40 - 60 USD
Scadenze
da 1 a 3 giorno(i)

Cliente

Ordini effettuati1
Numero di arbitraggi0