Donchian Breakout – Fully Mechanical System

MQL5 Asesores Expertos

Tarea técnica

Project: Donchian Breakout – Fully Mechanical System
Platform: MetaTrader 5
Timeframe: H1 Only


General Description

Develop a fully automated MT5 Expert Advisor implementing a mechanical Donchian breakout strategy with ATR-based trailing stop.

The EA must operate independently per symbol and be suitable for 24/7 VPS execution.

No discretionary logic. No time filters.


Trading Symbols

The EA must function correctly on:

  • EURUSD (Forex CFD)

  • US500 (Index CFD)

  • XAUUSD (Gold)

Each chart runs independently.
Maximum 1 open trade per symbol.


Timeframe Restriction
  • EA must operate ONLY on H1 chart.

  • If attached to another timeframe, EA must not trade.


Trading Signals

Indicator Definitions

  • Donchian Channel Period: 20 (default, editable)

  • ATR Period: 20 (default, editable)

  • ATR Multiplier: 2.5 (default, editable)

All indicators calculated using CLOSED candles only.


Long Entry Condition

  1. A candle CLOSES above the previous 20-period Donchian High.

  2. Entry executed at market open of the next candle.

  3. Only if no open trade exists for that symbol.


Short Entry Condition

  1. A candle CLOSES below the previous 20-period Donchian Low.

  2. Entry executed at market open of the next candle.

  3. Only if no open trade exists for that symbol.


Important Signal Rules

  • Breakout must be based on CLOSED candle only.

  • No intra-candle triggers.

  • Must prevent duplicate entries from same breakout candle.


Position Sizing
  • Risk per trade: 0.5% of account balance (editable input)

  • Stop distance determined by ATR-based initial stop

  • Lot size calculated automatically based on:

    • Stop distance

    • 0.5% account risk

    • Symbol contract specifications

Must work correctly for indices and gold.


Stop Loss & Trailing Logic

Initial Stop Loss

  • Set at 2.5 × ATR(20)

  • Based on ATR value of most recently closed candle

Trailing Stop

  • Dynamic trailing stop based on 2.5 × ATR(20)

  • Stop must only move in profit direction

  • Stop must never widen

  • Trailing updates on every tick (preferred)


Trade Management Rules
  • Maximum 1 open trade per symbol

  • No pyramiding

  • No time filters

  • No news filters

  • New trade only after previous position fully closed

  • Magic number input required


Inputs (Editable Parameters)
  • Risk % (default 0.5%)

  • Donchian Period (default 20)

  • ATR Period (default 20)

  • ATR Multiplier (default 2.5)

  • Slippage

  • Magic Number


Error Handling & Safeguards
  • Prevent duplicate entries on same candle

  • Must handle broker requotes

  • Must function correctly after terminal restart

  • Must not open multiple trades accidentally

  • Must log errors clearly in Experts tab


Deliverables
  • Compiled .ex5 file

  • Full source code (.mq5)

  • Clear instructions for installation

  • Commented code


Testing & Acceptance

The EA must be tested on demo account.

Payment will only be released after:

  • Entry logic confirmed correct

  • Risk calculation verified accurate

  • ATR trailing logic verified

  • No execution or duplication errors


Budget

Maximum budget: <$500 USD (competitive quotes welcome)

Please confirm:

  • You understand closed-candle Donchian logic

  • You have built ATR-based trailing systems before

  • Estimated delivery time


Han respondido

1
Desarrollador 1
Evaluación
(393)
Proyectos
546
40%
Arbitraje
30
57% / 3%
Caducado
57
10%
Libre
Ha publicado: 11 ejemplos
2
Desarrollador 2
Evaluación
(15)
Proyectos
19
16%
Arbitraje
5
40% / 40%
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(131)
Proyectos
139
38%
Arbitraje
3
33% / 33%
Caducado
1
1%
Trabajando
4
Desarrollador 4
Evaluación
(64)
Proyectos
83
28%
Arbitraje
9
33% / 56%
Caducado
9
11%
Libre
Ha publicado: 1 ejemplo
5
Desarrollador 5
Evaluación
(325)
Proyectos
505
19%
Arbitraje
33
42% / 30%
Caducado
34
7%
Trabajando
6
Desarrollador 6
Evaluación
(12)
Proyectos
19
42%
Arbitraje
3
0% / 67%
Caducado
3
16%
Libre
7
Desarrollador 7
Evaluación
(5)
Proyectos
7
0%
Arbitraje
8
13% / 75%
Caducado
3
43%
Libre
8
Desarrollador 8
Evaluación
(328)
Proyectos
538
66%
Arbitraje
53
21% / 40%
Caducado
169
31%
Libre
Ha publicado: 1 ejemplo
9
Desarrollador 9
Evaluación
(3)
Proyectos
1
100%
Arbitraje
3
0% / 100%
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(265)
Proyectos
596
35%
Arbitraje
64
20% / 58%
Caducado
147
25%
Trabaja
Ha publicado: 1 artículo, 22 ejemplos
11
Desarrollador 11
Evaluación
(547)
Proyectos
630
33%
Arbitraje
38
39% / 50%
Caducado
11
2%
Trabaja
12
Desarrollador 12
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
13
Desarrollador 13
Evaluación
(2636)
Proyectos
3351
67%
Arbitraje
77
48% / 14%
Caducado
342
10%
Trabaja
Ha publicado: 1 ejemplo
14
Desarrollador 14
Evaluación
(1)
Proyectos
2
0%
Arbitraje
2
0% / 100%
Caducado
0
Trabaja
15
Desarrollador 15
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
16
Desarrollador 16
Evaluación
(2)
Proyectos
1
0%
Arbitraje
2
0% / 50%
Caducado
0
Libre
17
Desarrollador 17
Evaluación
(845)
Proyectos
1448
72%
Arbitraje
119
29% / 47%
Caducado
355
25%
Trabajando
Ha publicado: 3 artículos
18
Desarrollador 18
Evaluación
(2)
Proyectos
3
0%
Arbitraje
2
0% / 0%
Caducado
0
Trabajando
19
Desarrollador 19
Evaluación
(7)
Proyectos
15
47%
Arbitraje
2
0% / 100%
Caducado
2
13%
Trabaja
20
Desarrollador 20
Evaluación
(1)
Proyectos
2
50%
Arbitraje
0
Caducado
1
50%
Trabaja
21
Desarrollador 21
Evaluación
(25)
Proyectos
33
24%
Arbitraje
3
33% / 33%
Caducado
4
12%
Libre
22
Desarrollador 22
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
23
Desarrollador 23
Evaluación
(11)
Proyectos
15
13%
Arbitraje
4
25% / 25%
Caducado
4
27%
Trabajando
24
Desarrollador 24
Evaluación
(13)
Proyectos
14
21%
Arbitraje
1
0% / 0%
Caducado
2
14%
Trabaja
25
Desarrollador 25
Evaluación
(30)
Proyectos
37
54%
Arbitraje
2
50% / 50%
Caducado
3
8%
Libre
26
Desarrollador 26
Evaluación
(625)
Proyectos
983
47%
Arbitraje
32
38% / 34%
Caducado
96
10%
Trabajando
Ha publicado: 6 ejemplos
27
Desarrollador 27
Evaluación
(2)
Proyectos
2
0%
Arbitraje
0
Caducado
0
Libre
28
Desarrollador 28
Evaluación
(6)
Proyectos
5
0%
Arbitraje
2
50% / 50%
Caducado
2
40%
Libre
29
Desarrollador 29
Evaluación
(4)
Proyectos
3
33%
Arbitraje
2
0% / 100%
Caducado
0
Libre
Solicitudes similares
How long would it take to install automated trading on Ninjatrader and what information would you need ? It urgent if anyone can help with this kind do well by biding to this project and let discuss more
Specification Hi Free lancers, I need an EA which relates to Sure Fire Hedging EA base on Below parameters needed. Overview how it works: This EA will be able to open a trade with either Buy or Sell selection (manual- to be manually switch buy or sell selection ), another selection for automatic open trading can choose only buy. Once the EA already open trade (example -buy position) with starting lot size 0.01
Hedge Lot Plus EA Descriptions: (New EA) 1- The necessary explanations, documentation, and working principle details will be provided after the contract is signed. 2- The chart, button, and dashboard- template sample code will be provided. 3- There is no indicator. and work principle is easy. ** After the contract is signed,sampe code, a sample EA for "Hedge Lot Plus EA" and detailed information about the working
Experienced developer needed for a $100 project. I need to build three trading bots to copy signals from a Telegram channel and execute them on a trading account. The first bot will be used in the second and third bots as well, with some minor modifications. I will pay $40 for the first bot, $30 for the second, and $30 for the third. Contact me for details
1- Parts to Be Updated in Universal EA: 1- For Mode 2 (No Indicator Mode), a candle count parameter will be added for pivot breakout. The EA will determine how many candles after the pivot breakout it will add a position based on this parameter. 2- In Mode 1 (MA Mode), we will fix the error in one of the "Select Take Profit" modes called "Kill Position + Clean One by One." 3- We will fix the errors in Recovery Mode
I would manually draw one or more trendline or horizontal line in MT5. I would manually add description to each trendline or horizontal line for the desired action: Buy, Sell, Close buy orders, Close sell orders or Close all orders. When a candle touches the trendline or horizontal line, EA should execute the desired action. The desired action must be only once for a trendline or horizontal line. There should be some
Data Integrity 500 - 1000 USD
The trading bot is an automated software system designed to monitor financial markets, execute trades, and manage risk based on predefined strategies. The bot aims to maximize profits while minimizing human intervention and emotional decision-making. Scope: Supports automated trading on selected exchanges (e.g., Binance, Bitget, Coinbase). Executes trades based on technical indicators, signals, or AI models. Provides
1. General Objective Development of an Expert Advisor in MQL5 intended for Futures markets , based on an existing trading strategy that I will provide (described logic or precise rules). The main objectives are: Faithful implementation of the strategy , Full debugging of the EA, Validation of correct behavior through backtesting. 2. Markets and Instruments Markets: Futures Symbols: to be defined (e.g. indices
Subject: Major Upgrade Request: Auto Confluence of Signal/Trend/Momentum Scores with Multi-Timeframe SMC Hello, Your bot is excellent analytically, but I'm facing daily manual intervention due to the multiple indicators and timeframes. --- 📊 Current Situation: The bot uses: · Signal Score · Trend Score · Momentum Score · SMC Analysis · 3 Timeframes (Fast 5M, Medium 15M, Main 1H) · 4 Additional Indicators Currently
SMC Trading Bot 30 - 60 USD
1. The Core Idea: The "Liquidity-to-Liquidity" Engine Instead of just looking for a "Supply Zone," the bot must ask: "Whose money was just taken, and whose money are we targeting next?" The "Valid Move" Checklist A structure break or a zone is only "Real" if it meets the SMC Trinity: Inducement/Sweep: Price must take out a previous minor high/low (Retail Stop Loss) before the move. Displacement: The move must be

Información sobre el proyecto

Presupuesto
500+ USD