CUSTOM MT5 EXPERT ADVISOR DEVELOPMENT REQUEST

MQL5 Asesores Expertos

Tarea técnica

Project: HTF Trendline Breakout & Retest Trading Robot

Platform: MetaTrader 5 (MT5)
Language: MQL5
Robot Type: Fully Automated Expert Advisor
Trading Direction: Both BUY and SELL
Strategy: Higher Timeframe (HTF) Trendline Breakout with Retest Confirmation

1. PROJECT OBJECTIVE

I require a professional, fully automated MT5 trading robot based on a Higher Timeframe Trendline Breakout and Retest strategy.

The robot must analyse the market carefully using multiple timeframes, identify valid trendlines, wait for confirmed breakouts, and execute trades only after a successful retest.

The EA must prioritise accuracy, capital preservation, disciplined entries and strict risk-to-reward management over trading frequency.

I do not want a robot that enters trades randomly or trades every market movement.

2. MULTI-TIMEFRAME ANALYSIS

The robot must use three timeframes:

WEEKLY – Major Market Direction

  • Identify the overall market trend.

  • Identify major swing highs and swing lows.

  • Draw and analyse major ascending and descending trendlines.

  • Identify significant support and resistance zones.

  • Establish the overall bullish or bearish market bias.

4-HOUR – Trend Confirmation

  • Confirm the direction established by the Weekly timeframe.

  • Identify intermediate swing highs and lows.

  • Draw relevant H4 trendlines.

  • Identify valid market structure and potential breakout areas.

  • Confirm whether the market is suitable for a BUY or SELL setup.

1-HOUR – Trade Execution

  • Identify the actual trendline breakout.

  • Require a completed H1 candle to close beyond the trendline.

  • Wait for price to return and retest the broken trendline.

  • Require confirmation that the retest is holding.

  • Execute the trade only after confirmation.

The robot must not enter simply because price touches or crosses a trendline.

3. TRENDLINE BREAKOUT STRATEGY

The EA must automatically identify valid trendlines using confirmed swing highs and swing lows.

BUY CONDITIONS:

  1. Weekly and H4 analysis supports a bullish trading opportunity.

  2. Price breaks above a valid descending trendline on H1.

  3. An H1 candle closes above the trendline.

  4. Price returns to retest the broken trendline.

  5. The retest holds as support.

  6. A bullish confirmation candle forms.

  7. The trade offers a minimum 1:3 risk-to-reward ratio.

  8. Execute BUY.

SELL CONDITIONS:

  1. Weekly and H4 analysis supports a bearish trading opportunity.

  2. Price breaks below a valid ascending trendline on H1.

  3. An H1 candle closes below the trendline.

  4. Price returns to retest the broken trendline.

  5. The retest holds as resistance.

  6. A bearish confirmation candle forms.

  7. The trade offers a minimum 1:3 risk-to-reward ratio.

  8. Execute SELL.

The EA must support both directions independently and must not permanently favour BUY or SELL trades.

4. RETEST CONFIRMATION AND CHART VISUALISATION

This is a very important requirement.

I want the EA to visually highlight its analysis directly on the MT5 chart.

The robot must:

  • Draw identified Weekly and H4 trendlines.

  • Draw the H1 breakout trendline.

  • Mark the exact breakout candle.

  • Highlight the retest area using a coloured rectangle.

  • Display a BUY or SELL confirmation signal.

  • Mark the proposed entry price.

  • Draw Stop Loss and Take Profit levels.

  • Display the calculated risk-to-reward ratio.

  • Show the current market bias: BULLISH, BEARISH or NO TRADE.

Use different colours to distinguish bullish and bearish setups.

I want to understand exactly why the robot entered a trade.

5. RISK MANAGEMENT AND CAPITAL PROTECTION

Capital preservation is extremely important.

The EA must include:

  • Adjustable risk per trade.

  • Recommended default risk: 1% of account equity.

  • Maximum margin allocation: 3–5% of account equity, configurable.

  • Automatic lot-size calculation based on Stop Loss distance.

  • Automatic Stop Loss placement.

  • Automatic Take Profit placement.

  • Maximum daily loss setting.

  • Maximum drawdown protection.

  • Maximum number of simultaneous positions.

  • Optional break-even functionality.

  • Optional trailing stop functionality.

  • Daily trading limit.

  • Emergency stop function.

The robot must never increase lot sizes to recover previous losses.

It must not use Martingale, Grid or uncontrolled averaging strategies.

6. STRICT RISK-TO-REWARD RULE

This is a NON-NEGOTIABLE trading rule.

  • Minimum acceptable RR: 1:3.

  • Higher RR opportunities: 1:4, 1:5 or above.

  • Never execute a trade with an RR below 1:3.

  • Calculate RR before placing an order.

  • Account for spread, commission and expected execution costs.

  • Reject trades where the stop loss is excessively large.

  • Never move the Stop Loss further away to accommodate a losing trade.

Example:

Entry: 1.1000
Stop Loss: 1.0950
Risk: 50 pips
Take Profit: 1.1150
Reward: 150 pips
Risk-to-Reward: 1:3.

7. RETURN OBJECTIVE

My long-term performance objective is to develop a system capable of targeting approximately 30–50% account growth over a suitable performance period.

This is a performance objective, NOT a guaranteed return.

The EA must prioritise consistent execution, controlled drawdown and positive risk-adjusted performance rather than forcing trades to achieve a monthly target.

8. TRADE FILTERS

The EA should include:

  • Spread filter.

  • Volatility filter using ATR.

  • Optional economic news filter.

  • Minimum trendline quality requirements.

  • Minimum number of valid trendline touches.

  • Confirmation of candle closes.

  • Retest confirmation.

  • Protection against false breakouts.

  • Avoid trading when the market is consolidating without a valid setup.

The EA should wait patiently when there is no valid opportunity.

9. BUY AND SELL EXECUTION

The robot must:

  • Automatically calculate lot sizes.

  • Place market orders after all conditions are met.

  • Set Stop Loss and Take Profit automatically.

  • Manage open trades.

  • Prevent duplicate entries on the same breakout.

  • Allow configurable trading sessions.

  • Support multiple currency pairs.

  • Support both bullish and bearish market conditions.

10. REQUIRED DEVELOPER DELIVERABLES

I require the following:

  1. Complete MT5 source code (.mq5).

  2. Compiled MT5 Expert Advisor (.ex5).

  3. Fully configurable input settings.

  4. Automatic trendline drawing.

  5. Automatic breakout and retest detection.

  6. Visual BUY/SELL chart annotations.

  7. Automatic risk and lot-size calculations.

  8. Backtesting results.

  9. Strategy optimisation report.

  10. Installation instructions.

  11. User manual explaining all settings.

  12. Demonstration of BUY and SELL executions.

11. BACKTESTING REQUIREMENTS

Before accepting the final EA, I require testing using historical market data.

Please provide:

  • At least five years of historical testing where reliable data is available.

  • Tests across multiple currency pairs.

  • Weekly, H4 and H1 timeframe alignment.

  • Modelling using real ticks where available.

  • Profit factor.

  • Maximum drawdown.

  • Win rate.

  • Total trades.

  • Average RR.

  • Net profit.

  • Consecutive losses.

  • Out-of-sample testing.

Please do not optimise the EA only to produce attractive historical results. I want a strategy that can withstand different market conditions.

12. FINAL REQUIREMENT

I want a professional, intelligent and disciplined trading robot that follows my HTF Trendline Breakout and Retest strategy.

The robot must analyse Weekly, confirm on H4, and execute on H1.

It must identify valid opportunities in both directions, wait for breakout and retest confirmation, and strictly enforce a minimum 1:3 risk-to-reward ratio.

NO CONFIRMATION = NO TRADE.

RR BELOW 1:3 = NO TRADE.

CAPITAL PROTECTION COMES FIRST.

Please confirm that you understand the complete strategy before beginning development. I also require a working demonstration and backtesting evidence before final delivery.


Han respondido

1
Desarrollador 1
Evaluación
(111)
Proyectos
184
25%
Arbitraje
25
16% / 76%
Caducado
16
9%
Libre
2
Desarrollador 2
Evaluación
(469)
Proyectos
823
49%
Arbitraje
76
21% / 51%
Caducado
143
17%
Trabaja
3
Desarrollador 3
Evaluación
(438)
Proyectos
651
53%
Arbitraje
35
63% / 20%
Caducado
7
1%
Trabaja
4
Desarrollador 4
Evaluación
(17)
Proyectos
21
19%
Arbitraje
5
40% / 40%
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(23)
Proyectos
34
53%
Arbitraje
1
100% / 0%
Caducado
1
3%
Libre
6
Desarrollador 6
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 2 ejemplos
7
Desarrollador 7
Evaluación
(268)
Proyectos
319
74%
Arbitraje
16
75% / 0%
Caducado
6
2%
Trabaja
8
Desarrollador 8
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
9
Desarrollador 9
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 4 ejemplos
10
Desarrollador 10
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(190)
Proyectos
204
47%
Arbitraje
4
50% / 25%
Caducado
1
0%
Trabaja
12
Desarrollador 12
Evaluación
(408)
Proyectos
526
24%
Arbitraje
62
58% / 24%
Caducado
60
11%
Trabajando
13
Desarrollador 13
Evaluación
(1)
Proyectos
1
100%
Arbitraje
0
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(5)
Proyectos
5
0%
Arbitraje
5
0% / 40%
Caducado
0
Libre
15
Desarrollador 15
Evaluación
(13)
Proyectos
23
39%
Arbitraje
8
0% / 50%
Caducado
4
17%
Libre
16
Desarrollador 16
Evaluación
(1)
Proyectos
1
100%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 7 ejemplos
17
Desarrollador 17
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
18
Desarrollador 18
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
19
Desarrollador 19
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 10 ejemplos
20
Desarrollador 20
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 4 ejemplos
21
Desarrollador 21
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
22
Desarrollador 22
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
23
Desarrollador 23
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
I want an advanced automated Expert Advisor (EA) trading robot developed for MetaTrader 5 (MT5), compatible with Exness trading accounts. The robot should have the following features: 1. AUTOMATED TRADING - Automatically execute BUY and SELL trades. - Identify strong trading opportunities. - Analyse market trends before entering trades. - Operate without requiring manual trade execution. 2. ADVANCED MARKET ANALYSIS -
Can you do a 5 year back test on /6e (fx euro). using 30 minute chart. Buy to open if macd histogram is above 0 line, or sell to open if macd histogram is below 0 line at 7:30 pm eastern standard time. Close position at 7:30 am next morning. Trade stays open for the entire 12 hour time. thanks, regarding backtest, forgot to mention $300 stop loss, and $500 take profit. Thank you
Stanley 30 - 200 USD
I strictly need a trading robot to trade in stocks and forex. I am a beginner and woul like to trade in simple stocks and forex with the aim of growing my trade capital in the trade platform
Gold liquidity expert 40 - 60 USD
#property strict #property version "1.00" #property description "XAUUSD Liquidity Sweep + Fibonacci Extension EA" #include <Trade/Trade.mqh> CTrade trade; //==================== INPUT SETTINGS ==================== input group "01. Strategy" input ENUM_TIMEFRAMES SignalTimeframe = PERIOD_CURRENT; input double SL_Buffer_Points = 20; input ulong MagicNumber = 20261122; input group "02. Fibonacci Extension" input double
أحتاج إلى مطور MQL5 ذو خبرة لإنشاء مستشار خبير آلي بالكامل ل MetaTrader 5. المتطلبات: - رمز التداول: XAUUSD (ذهبي) - الإطار الزمني: M5 - حجم القطعة الثابت: 0.01 - صفقات شراء وبيع تلقائية - وقف الخسارة وجني الأرباح - حماية يومية قصوى من الخسارة - حد أقصى لصفقة مفتوحة واحدة في كل مرة - إدارة المخاطر ومرشح الانتشار - لا توجد استراتيجية خطيرة للمارتينجيل أو الشبكة - الاختبار الرجعي والتحسين - كود مصدر MQ5 الكامل وملف EX5
1. Platform & Scope Platform: MetaTrader 5 (MQL5) Expert Advisor. Target market / symbols: [Specify symbols, e.g., EURUSD, XAUUSD, or all chart symbols]. Timeframe: [Specify timeframe, e.g., M15, H1, or input parameter for timeframe]. Trading mode: [Specify: Hedging or Netting], with configurable MagicNumber. 2. Entry & Exit Logic Entry conditions: [List exact buy and sell entry rules, e.g., EMA crossover + RSI
This utility manages the stop loss of positions that are already open, whether you opened them by hand or with another Expert Advisor. It never opens or closes trades by itself: it only moves the stop loss, and only in your favour. What it does Break-even: when a position reaches the profit you choose (in points), the stop moves to the entry price plus a small locked profit. Trailing stop: after a second profit
Robert for life money's cash maximum 16mb the jobs future linuox Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event . When the event occurs, the robot checks the emergence of trading signals and acts
Hi there I need someone who knows how to create smart ea,s but this must fool the broker spread meaning ,, it must make an spread that it had been paid but ,it had not placef an order buy if it place an order it will Start at 00 meaning it has foil the broker spread message Me if you can or any plan you have
MultiScalping 30+ USD
Je souhaite un robot avec une dizaine d'indicateurs sélectionnables en entrée et aussi en SL puis suiveurs. L'objectif de se robot est de me permettre de tester plusieurs backtest avec un ou plusieurs paramètres en M1. TOUS LES indicateurs sont sélectionnables avec: - oui/non - SL et Stop Suiveur - Croisement avec le prix - croisement de l'oscillateur à 0 - utilisation de l'une autre période (type M5 , ....) - retour

Información sobre el proyecto

Presupuesto
50 - 80 USD
Plazo límite de ejecución
de 3 a 5 día(s)

Cliente

Encargos realizados1
Número de arbitrajes0