MetaTrader 5 (MQL5) Custom Expert Advisor Development of Existing adviser

MQL5 Experts

Trabalho concluído

Tempo de execução 9 dias
Comentário do cliente
Thanks Mate, you kept the logic simple. I would like to work with you in future. thanks
Comentário do desenvolvedor
Tnx for the project my good customer.

Termos de Referência

Strategy Core: Multi-Timeframe Trend Following ("Father & Son" Rule) with Momentum & Trend Strength Filters.

I have a expert adviser that followes momentum, need to follow trend strength and father and son strategy in version of it.


1. Strategy Overview & Core Concept

This EA executes trades based on multi-timeframe alignment. It uses a higher timeframe to establish the primary market direction and a lower timeframe to execute precise entries.

  • The "Father" (Higher Timeframe - HTF): Determines the macro trend direction using an Exponential Moving Average (EMA) crossover. No trades are allowed against the Father's direction.

  • The "Son" (Lower Timeframe - LTF): Determines the immediate trade setup using an EMA crossover aligned with the Father, filtered by RSI (for momentum) and ADX (for trend strength).

2. Technical Indicators & Parameter Inputs

The freelancer must ensure all indicator periods, methods, and price types are exposed as user-configurable inputs.

A. The "Father" (HTF Setup)

  • Timeframe: User defined (e.g., Daily or H4)

  • Fast EMA: Period (Default: 9), Applied to Close

  • Slow EMA: Period (Default: 21), Applied to Close

B. The "Son" (LTF Setup & Execution)

  • Timeframe: User defined (e.g., H1 or 15Min)

  • Fast EMA: Period (Default: 9), Applied to Close

  • Slow EMA: Period (Default: 21), Applied to Close

  • RSI (Relative Strength Index): Period (Default: 14), Overbought level (Default: 70), Oversold level (Default: 30)

  • ADX (Average Directional Index): Period (Default: 14), Minimum Trend Strength Level (Default: 25)

3. Detailed Trading Rules

🟢 BUY (LONG) ENTRY CONDITIONS

A Buy order should trigger at the close of a candle on the Son's timeframe if all the following conditions are simultaneously true:

  1. Father Rule (HTF Trend): The HTF Fast EMA is strictly above the HTF Slow EMA ($Fast\_EMA > Slow\_EMA$).

  2. Son Rule (LTF Crossover): The LTF Fast EMA has crossed above or is holding above the LTF Slow EMA.

  3. ADX Filter (Trend Strength): The LTF ADX Main Line is above the Minimum Level (e.g., $> 25$), and the $+DI$ line is strictly above the $-DI$ line.

  4. RSI Filter (Momentum): The LTF RSI line is above 50 but below the Overbought Level (e.g., $50 < RSI < 70$). This ensures momentum is strong but not overextended.

🔴 SELL (SHORT) ENTRY CONDITIONS

A Sell order should trigger at the close of a candle on the Son's timeframe if all the following conditions are simultaneously true:

  1. Father Rule (HTF Trend): The HTF Fast EMA is strictly below the HTF Slow EMA ($Fast\_EMA < Slow\_EMA$).

  2. Son Rule (LTF Crossover): The LTF Fast EMA has crossed below or is holding below the LTF Slow EMA.

  3. ADX Filter (Trend Strength): The LTF ADX Main Line is above the Minimum Level (e.g., $> 25$), and the $-DI$ line is strictly above the $+DI$ line.

  4. RSI Filter (Momentum): The LTF RSI line is below 50 but above the Oversold Level (e.g., $30 < RSI < 50$).

4. Risk & Trade Management

The EA must handle standard order management cleanly. Please include these features:

  • Order Execution: Market Orders executed precisely at the opening of a new bar on the Son's timeframe after a valid setup candle closes.

  • Position Sizing: Option for Fixed Lot Size (e.g., 0.1 lots) OR Risk Percentage based on Account Equity (e.g., risk 1% per trade).

  • Stop Loss (SL): Fixed in Pips/Points from entry price.

  • Take Profit (TP): Fixed in Pips/Points from entry price.

  • Trailing Stop: (Optional but highly recommended) Trailing activation and step size inputs to protect profits once the trade moves in our favor.

5. Developer Instructions & Deliverables

Please instruct the freelancer to follow these standard development guidelines:

  • Code Structure: The code must be cleanly commented in English. Handlers like OnInit() , OnDeinit() , and OnTick() should be distinctly organized.

  • Multi-Timeframe Efficiency: Use proper MQL5 data structures ( CopyBuffer , MqlRates ) to retrieve data from different timeframes efficiently without freezing the MetaTrader terminal.

  • Error Handling: Include explicit error checking for broker order execution errors (e.g., requotes, invalid stops) and log them via the Print() function.

  • Deliverables:

    1. The fully compilable .mq5 source code file.

    2. The compiled .ex5 executable file.


Hi, I want to update my existing EMA/RSI trading robot into a more robust multi-timeframe system. I have mapped out the strict rules above, integrating a higher timeframe trend filter ('Father') and adding ADX to measure trend strength on the execution timeframe ('Son'). Please review the logic and let me know your timeline and quote for delivering the .mq5 file."

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(282)
Projetos
353
29%
Arbitragem
37
27% / 65%
Expirado
10
3%
Carregado
2
Desenvolvedor 2
Classificação
(1)
Projetos
1
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(50)
Projetos
64
20%
Arbitragem
11
27% / 55%
Expirado
5
8%
Livre
4
Desenvolvedor 4
Classificação
(47)
Projetos
61
54%
Arbitragem
7
86% / 0%
Expirado
2
3%
Trabalhando
5
Desenvolvedor 5
Classificação
(4)
Projetos
4
25%
Arbitragem
1
0% / 100%
Expirado
0
Livre
Publicou: 2 artigos
6
Desenvolvedor 6
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
8
Desenvolvedor 8
Classificação
(4)
Projetos
8
0%
Arbitragem
3
33% / 67%
Expirado
4
50%
Livre
9
Desenvolvedor 9
Classificação
(19)
Projetos
22
18%
Arbitragem
9
33% / 44%
Expirado
3
14%
Trabalhando
Publicou: 1 código
10
Desenvolvedor 10
Classificação
(252)
Projetos
462
26%
Arbitragem
139
20% / 60%
Expirado
100
22%
Livre
11
Desenvolvedor 11
Classificação
(52)
Projetos
64
39%
Arbitragem
15
27% / 60%
Expirado
1
2%
Trabalhando
12
Desenvolvedor 12
Classificação
(553)
Projetos
844
61%
Arbitragem
33
27% / 45%
Expirado
24
3%
Livre
Publicou: 1 código
13
Desenvolvedor 13
Classificação
(59)
Projetos
92
42%
Arbitragem
4
0% / 100%
Expirado
3
3%
Trabalhando
14
Desenvolvedor 14
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
(258)
Projetos
269
29%
Arbitragem
2
50% / 0%
Expirado
3
1%
Trabalhando
Publicou: 2 códigos
16
Desenvolvedor 16
Classificação
(8)
Projetos
8
0%
Arbitragem
2
50% / 0%
Expirado
1
13%
Trabalhando
17
Desenvolvedor 17
Classificação
(319)
Projetos
570
35%
Arbitragem
83
30% / 45%
Expirado
206
36%
Trabalhando
18
Desenvolvedor 18
Classificação
(178)
Projetos
191
46%
Arbitragem
4
25% / 25%
Expirado
1
1%
Ocupado
19
Desenvolvedor 19
Classificação
(10)
Projetos
16
50%
Arbitragem
1
100% / 0%
Expirado
4
25%
Livre
20
Desenvolvedor 20
Classificação
(64)
Projetos
83
28%
Arbitragem
9
33% / 56%
Expirado
9
11%
Livre
Publicou: 1 código
21
Desenvolvedor 21
Classificação
(7)
Projetos
6
0%
Arbitragem
4
25% / 75%
Expirado
2
33%
Livre
22
Desenvolvedor 22
Classificação
(260)
Projetos
305
76%
Arbitragem
13
77% / 0%
Expirado
5
2%
Carregado
23
Desenvolvedor 23
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
24
Desenvolvedor 24
Classificação
(62)
Projetos
90
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
25
Desenvolvedor 25
Classificação
(170)
Projetos
203
47%
Arbitragem
5
20% / 60%
Expirado
3
1%
Livre
26
Desenvolvedor 26
Classificação
(45)
Projetos
53
57%
Arbitragem
2
100% / 0%
Expirado
1
2%
Livre
Publicou: 5 códigos
27
Desenvolvedor 27
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
28
Desenvolvedor 28
Classificação
(3)
Projetos
4
0%
Arbitragem
0
Expirado
1
25%
Livre
29
Desenvolvedor 29
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
30
Desenvolvedor 30
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
31
Desenvolvedor 31
Classificação
(7)
Projetos
13
15%
Arbitragem
13
23% / 46%
Expirado
3
23%
Livre
Publicou: 38 artigos
32
Desenvolvedor 32
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
33
Desenvolvedor 33
Classificação
(34)
Projetos
35
40%
Arbitragem
0
Expirado
3
9%
Livre
34
Desenvolvedor 34
Classificação
(25)
Projetos
31
13%
Arbitragem
14
0% / 79%
Expirado
9
29%
Livre
35
Desenvolvedor 35
Classificação
(8)
Projetos
12
0%
Arbitragem
5
20% / 80%
Expirado
2
17%
Livre
36
Desenvolvedor 36
Classificação
(298)
Projetos
478
40%
Arbitragem
105
40% / 24%
Expirado
82
17%
Carregado
Publicou: 2 códigos
37
Desenvolvedor 37
Classificação
(14)
Projetos
21
24%
Arbitragem
0
Expirado
2
10%
Livre
Publicou: 3 códigos
38
Desenvolvedor 38
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
39
Desenvolvedor 39
Classificação
(14)
Projetos
18
67%
Arbitragem
2
50% / 50%
Expirado
3
17%
Livre
40
Desenvolvedor 40
Classificação
(2)
Projetos
2
0%
Arbitragem
0
Expirado
0
Livre
41
Desenvolvedor 41
Classificação
(271)
Projetos
553
50%
Arbitragem
57
40% / 37%
Expirado
227
41%
Trabalhando
42
Desenvolvedor 42
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
43
Desenvolvedor 43
Classificação
(78)
Projetos
246
74%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
Publicou: 1 artigo
44
Desenvolvedor 44
Classificação
(28)
Projetos
34
35%
Arbitragem
0
Expirado
2
6%
Trabalhando
Pedidos semelhantes
MT5 High-Volume Trading Bot Requirements I am looking for a professional MetaTrader 5 (MT5) trading bot / Expert Advisor designed for high trading volume while maintaining extremely low and controlled drawdown. The requirements are: * Platform: MetaTrader 5 (MT5) only. * Trading volume: approximately 1,000–2,000 operations/trades per day. * No HFT: I am not looking for a true high-frequency trading system based on
Poverty 30+ USD
Develop the EA according to my provided trading strategy and rules. The EA must open and close trades automatically according to the specified conditions. Include configurable Stop Loss, Take Profit, lot size and risk-management settings. Include an option for fixed lot size or percentage-based risk. Include Magic Number and trade-comment settings. The EA must work correctly on the requested MT4/MT5 platform and
I need an Expert Advisor (EA) developed for MetaTrader 5 (MT5) tailored for trading on Exness accounts. Account & Server Details: Trading Platform: MetaTrader 5 (MT5) Broker: Exness Execution Type: Market / Pending Orders Account Type: [Specify: Standard / Pro / Raw Spread / Zero] Target Instruments: [Specify pairs, e.g., XAUUSD, EURUSD, BTCUSD] Strategy Requirements: Entry Rules: [Insert your buy/sell entry
Monthly Report: August 2026 World PEACE Multi FX Algo generated a total realized profit of approximately 31,966 JPY during August. The provider account is normally operated with approximately 200,000 JPY of capital. Compared with this standard operating amount, the realized profit for August was approximately 15.98%. Please note that this is not a compounded monthly return. Realized profits are withdrawn regularly
I am looking for an experienced MQL5/MT5 Expert Advisor developer to build a custom XAUUSD (Gold) HFT/ultra-fast scalping EA for MetaTrader 5. I have attached a reference video showing exactly how I want the EA to behave. Please watch the video carefully before applying. The video should give you a clear understanding of the desired entry behavior, trade frequency, execution style, and overall system behavior. The EA
I’m looking for an experienced developer who can build a Martingale trading bot. I’m willing to pay a fair price for the right developer. I have an example trading account that demonstrates exactly how I want the bot to operate. The strategy is straightforward: the bot trades continuously using a Martingale system. The only exception is that it should automatically pause trading during high-impact news events or
This is a Tradingview project. Would you be able to make this? With a win rate and profit factor and percentage made and profit made and max dd reached. How many modifications would I be able to do? Could there be a table that shows win percentage profit factor and trading window where trades shouldn’t be placed and follows the rules of the pdf How long would it take and would it work on ninjatrader also
I need a professional MQL5 developer to build a high-frequency trading (HFT) Expert Advisor for MT5. Key Requirements & Risk Management Rules: 1. Max Trade Limit: The bot must execute a strict maximum of 1,000 trades. 2. Lot Size Cap: Every trade must be capped at a maximum of 0.50 lots. 3. Execution Speed: Optimized for low-latency, rapid execution. 4. Clean code with proper error handling and clear parameter
I need fully automatic scalping robots for XAUUSD Gold the robot should work on M1 and M5 timeframe and open trades based on the scalping logic using EMA and RSI confirmation it should analyze the market on its own and only take high probability trades
I am looking for an experienced MQL5 / MetaTrader 5 developer to help me add alert notifications to an existing MT5 indicator. What I Have I have an indicator that I am currently using on MetaTrader 5 , but I do not have the source code (.mq5) . I only have the compiled indicator file, or I can provide the indicator file that I currently have. What I Need I want to add alerts when the indicator generates its specific

Informações sobre o projeto

Orçamento
30+ USD
Prazo
para 10 dias