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

MQL5 Experts Forex

Termos de Referência

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.

Respondido

1
Desenvolvedor 1
Classificação
(637)
Projetos
1009
47%
Arbitragem
33
36% / 36%
Expirado
99
10%
Livre
Publicou: 6 códigos
2
Desenvolvedor 2
Classificação
(466)
Projetos
817
49%
Arbitragem
75
21% / 51%
Expirado
143
18%
Trabalhando
3
Desenvolvedor 3
Classificação
(10)
Projetos
17
18%
Arbitragem
3
0% / 33%
Expirado
3
18%
Carregado
4
Desenvolvedor 4
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(7)
Projetos
9
67%
Arbitragem
0
Expirado
0
Livre
Publicou: 1 artigo, 2 códigos
6
Desenvolvedor 6
Classificação
(188)
Projetos
202
47%
Arbitragem
4
50% / 25%
Expirado
1
0%
Trabalhando
7
Desenvolvedor 7
Classificação
(23)
Projetos
33
39%
Arbitragem
9
22% / 33%
Expirado
5
15%
Ocupado
Publicou: 8 artigos, 35 códigos
8
Desenvolvedor 8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(406)
Projetos
524
24%
Arbitragem
62
58% / 24%
Expirado
60
11%
Carregado
11
Desenvolvedor 11
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
(2)
Projetos
2
50%
Arbitragem
0
Expirado
1
50%
Livre
13
Desenvolvedor 13
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 4 códigos
14
Desenvolvedor 14
Classificação
(564)
Projetos
861
61%
Arbitragem
33
27% / 45%
Expirado
24
3%
Livre
Publicou: 1 código
15
Desenvolvedor 15
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
16
Desenvolvedor 16
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 4 códigos
17
Desenvolvedor 17
Classificação
(1)
Projetos
1
100%
Arbitragem
0
Expirado
0
Livre
Publicou: 7 códigos
18
Desenvolvedor 18
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
19
Desenvolvedor 19
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
20
Desenvolvedor 20
Classificação
(1)
Projetos
1
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
21
Desenvolvedor 21
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
22
Desenvolvedor 22
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 6 códigos
23
Desenvolvedor 23
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 5 códigos
24
Desenvolvedor 24
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
25
Desenvolvedor 25
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
26
Desenvolvedor 26
Classificação
(54)
Projetos
102
23%
Arbitragem
12
25% / 17%
Expirado
13
13%
Livre
27
Desenvolvedor 27
Classificação
(119)
Projetos
169
38%
Arbitragem
9
78% / 22%
Expirado
15
9%
Livre
28
Desenvolvedor 28
Classificação
(2352)
Projetos
2958
63%
Arbitragem
125
44% / 26%
Expirado
429
15%
Livre
29
Desenvolvedor 29
Classificação
(101)
Projetos
141
52%
Arbitragem
5
40% / 60%
Expirado
0
Trabalhando
30
Desenvolvedor 30
Classificação
(265)
Projetos
315
74%
Arbitragem
16
75% / 0%
Expirado
6
2%
Carregado
31
Desenvolvedor 31
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
32
Desenvolvedor 32
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
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

Informações sobre o projeto

Orçamento
40 - 60 USD
Prazo
de 1 para 3 dias

Cliente

Pedidos postados1
Número de arbitragens0