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
(267)
Projetos
335
29%
Arbitragem
36
28% / 64%
Expirado
10
3%
Trabalhando
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
(46)
Projetos
60
53%
Arbitragem
7
86% / 0%
Expirado
2
3%
Livre
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
(17)
Projetos
21
14%
Arbitragem
8
38% / 38%
Expirado
3
14%
Carregado
10
Desenvolvedor 10
Classificação
(252)
Projetos
462
26%
Arbitragem
139
20% / 60%
Expirado
100
22%
Livre
11
Desenvolvedor 11
Classificação
(48)
Projetos
58
34%
Arbitragem
15
27% / 60%
Expirado
1
2%
Trabalhando
12
Desenvolvedor 12
Classificação
(549)
Projetos
836
61%
Arbitragem
33
27% / 45%
Expirado
24
3%
Trabalhando
Publicou: 1 código
13
Desenvolvedor 13
Classificação
(59)
Projetos
91
43%
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
267
30%
Arbitragem
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
(318)
Projetos
565
35%
Arbitragem
81
31% / 44%
Expirado
204
36%
Livre
18
Desenvolvedor 18
Classificação
(169)
Projetos
180
46%
Arbitragem
3
33% / 33%
Expirado
1
1%
Trabalhando
19
Desenvolvedor 19
Classificação
(9)
Projetos
14
43%
Arbitragem
1
100% / 0%
Expirado
2
14%
Trabalhando
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
(256)
Projetos
300
76%
Arbitragem
13
77% / 0%
Expirado
4
1%
Trabalhando
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
(169)
Projetos
202
48%
Arbitragem
5
20% / 60%
Expirado
2
1%
Livre
26
Desenvolvedor 26
Classificação
(44)
Projetos
51
59%
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: 35 artigos
32
Desenvolvedor 32
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
33
Desenvolvedor 33
Classificação
(31)
Projetos
33
42%
Arbitragem
0
Expirado
3
9%
Livre
34
Desenvolvedor 34
Classificação
(25)
Projetos
31
13%
Arbitragem
13
0% / 77%
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
20
25%
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
Projetos
0
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%
Livre
Pedidos semelhantes
I need a trading bot specially for XAU, high profit gain. Requirements bot analyzes the market places trades closes with 2 to 3 profit per trades daily profit should be 50 to 100 dollars
We are looking for an experienced MQL5 developer to provide a stable, consistently profitable Forex Expert Advisor (EA) capable of generating 10–15% average monthly returns while maintaining the lowest possible drawdown . Our Requirements The EA must have a proven track record of consistent performance. A long-term trading history (live or verified) will be considered a significant advantage. Before final selection
I am looking for a professional MQL5/MT5 Expert Advisor developer to build a fully automated trading bot based on my custom strategy. Requirements: Strong experience in MQL5 (MetaTrader 5) Previous experience developing Forex/Gold Expert Advisors Ability to convert a trading strategy into a fully automated EA Clean, well-structured, and optimized code Good communication and willingness to provide updates during
Only programmers with experience with orderflow please, it's not the easiest project, I don't want to have arbitration etc. I am not expert in orderflow yet, if you have suggestion about strategy it would be very nice. Source of code required, I am searching a programmer for a longer co-operation
Hi, I am looking for an already made profitable EA. It can be an indicator but then it must be possible to make an EA from the indicator. Will need to test before payment (this can be in demo or limited time test). I will pay up to $6000. Do not apply if you want an upfront payment. I need to test for a few times first. Mostly only pips matters. I look much the risk safety, money management, risk reward, and overall
Привіт. Шукаю когось, хто б застосував мій код як бота . Я торгую індексом Aus_200 SFE (не XJO). Бот базується на MACD входу/виходу, RSI, стохастиці та vwap. Як тільки роботу приймуть, мені потрібно внести кілька коректив; однак, нічого суттєвого. Дякую
SMC Martingale Pro is an advanced MetaTrader 5 Expert Advisor designed for high-volatility markets like XAU/USD. It combines institutional Smart Money Concepts with a dynamic risk recovery system. Key Features Dual FVG Engine: Automatically identifies and renders both bullish and bearish Fair Value Gaps in real time. Multi-Timeframe Flexibility: Operates independently of the active chart timeframe to target
I am looking for an experienced Sierra Chart ACSIL (C++) developer to create a custom indicator that measures the average Prior Day High-Low range over a configurable number of trading days (default: 7 days) using a 23-hour trading session
I have a technical specification ready for a custom alert indicator in NinjaTrader 8 (NinjaScript / C#). Important clarification: it is NOT an automatic trading bot, it is solely a visual indicator (arrows/lines on the chart) and sound alerts (notifications) based on EMA crossovers and range breakouts (ORB 15m) on lower timeframes for futures (MES). I already have the exact rules written out unambiguously
Custom MT5 EA for buy stop and sell stop breakout strategy.’ ‘Requirements, develop a custom Expert Advisor for MetaTrader 5 that places buy-stop and sell-stop pending orders based on defined breakout rules.’ ‘All important values adjustable via inputs.’ ‘Includes stop loss, take profit, trailing stop, and configurable risk management.’ ‘One trade at a time, works on demo before live.’ Provide source code and

Informações sobre o projeto

Orçamento
30+ USD
Prazo
para 10 dias