Donchian Breakout – Fully Mechanical System

MQL5 Experts

Termos de Referência

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


Respondido

1
Desenvolvedor 1
Classificação
(393)
Projetos
546
40%
Arbitragem
30
57% / 3%
Expirado
57
10%
Livre
Publicou: 11 códigos
2
Desenvolvedor 2
Classificação
(15)
Projetos
19
16%
Arbitragem
5
40% / 40%
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(131)
Projetos
139
38%
Arbitragem
3
33% / 33%
Expirado
1
1%
Carregado
4
Desenvolvedor 4
Classificação
(64)
Projetos
83
28%
Arbitragem
9
33% / 56%
Expirado
9
11%
Livre
Publicou: 1 código
5
Desenvolvedor 5
Classificação
(325)
Projetos
505
19%
Arbitragem
33
42% / 30%
Expirado
34
7%
Carregado
6
Desenvolvedor 6
Classificação
(12)
Projetos
19
42%
Arbitragem
3
0% / 67%
Expirado
3
16%
Livre
7
Desenvolvedor 7
Classificação
(5)
Projetos
7
0%
Arbitragem
8
13% / 75%
Expirado
3
43%
Livre
8
Desenvolvedor 8
Classificação
(328)
Projetos
538
66%
Arbitragem
53
21% / 40%
Expirado
169
31%
Livre
Publicou: 1 código
9
Desenvolvedor 9
Classificação
(3)
Projetos
1
100%
Arbitragem
3
0% / 100%
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(265)
Projetos
596
35%
Arbitragem
64
20% / 58%
Expirado
147
25%
Trabalhando
Publicou: 1 artigo, 22 códigos
11
Desenvolvedor 11
Classificação
(547)
Projetos
630
33%
Arbitragem
38
39% / 50%
Expirado
11
2%
Trabalhando
12
Desenvolvedor 12
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
(2636)
Projetos
3351
67%
Arbitragem
77
48% / 14%
Expirado
342
10%
Trabalhando
Publicou: 1 código
14
Desenvolvedor 14
Classificação
(1)
Projetos
2
0%
Arbitragem
2
0% / 100%
Expirado
0
Trabalhando
15
Desenvolvedor 15
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
16
Desenvolvedor 16
Classificação
(2)
Projetos
1
0%
Arbitragem
2
0% / 50%
Expirado
0
Livre
17
Desenvolvedor 17
Classificação
(845)
Projetos
1448
72%
Arbitragem
119
29% / 47%
Expirado
355
25%
Carregado
Publicou: 3 artigos
18
Desenvolvedor 18
Classificação
(2)
Projetos
3
0%
Arbitragem
2
0% / 0%
Expirado
0
Carregado
19
Desenvolvedor 19
Classificação
(7)
Projetos
15
47%
Arbitragem
2
0% / 100%
Expirado
2
13%
Trabalhando
20
Desenvolvedor 20
Classificação
(1)
Projetos
2
50%
Arbitragem
0
Expirado
1
50%
Trabalhando
21
Desenvolvedor 21
Classificação
(25)
Projetos
33
24%
Arbitragem
3
33% / 33%
Expirado
4
12%
Livre
22
Desenvolvedor 22
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
23
Desenvolvedor 23
Classificação
(11)
Projetos
15
13%
Arbitragem
4
25% / 25%
Expirado
4
27%
Carregado
24
Desenvolvedor 24
Classificação
(13)
Projetos
14
21%
Arbitragem
0
Expirado
2
14%
Trabalhando
25
Desenvolvedor 25
Classificação
(30)
Projetos
37
54%
Arbitragem
2
50% / 50%
Expirado
3
8%
Livre
26
Desenvolvedor 26
Classificação
(625)
Projetos
983
47%
Arbitragem
32
38% / 34%
Expirado
96
10%
Carregado
Publicou: 6 códigos
27
Desenvolvedor 27
Classificação
(2)
Projetos
2
0%
Arbitragem
0
Expirado
0
Livre
28
Desenvolvedor 28
Classificação
(6)
Projetos
5
0%
Arbitragem
2
50% / 50%
Expirado
2
40%
Livre
29
Desenvolvedor 29
Classificação
(4)
Projetos
3
33%
Arbitragem
2
0% / 100%
Expirado
0
Livre
Pedidos semelhantes
I need very small modification in MQL4 code, details will be send for selected programmers. Source of code required. Thank you for your patience and attention, Have a nice day! I prefer programmers who will be accepting crypto payment on next project, so please write me in first message if you will be able to accept crypto in the future
Ready hft bot 100+ USD
hello great developer We want a bot like this that flips small accounts We need a bot that works live account and flips small accounts but places 2 direction buy stop and sell stop at the same time brother
SavannaFX Pro 100+ USD
//+------------------------------------------------------------------+ //| SavannaFX Pro | //| Created for Junior | //+------------------------------------------------------------------+ #property strict input int FastMA = 20; input int SlowMA = 50; input int RSIPeriod = 14; input double LotSize = 0.1; input int StopLoss = 300; input int TakeProfit = 600; int
Recent EA 30+ USD
PROP-FIRM FOREX EA (SAFE MODE) 1. EA OBJECTIVE Develop a low-drawdown, high-discipline Forex EA designed to: Pass prop-firm challenges Respect strict risk rules Trade consistently, not aggressively 2. TRADING STYLE Strategy type: Trend continuation + pullback No scalping noise No martingale No grid No hedge abuse 3. TIMEFRAME & SESSIONS Primary TF: M15 Confirmation TF: H1 Trading sessions: London Open → London Close
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
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

Informações sobre o projeto

Orçamento
500+ USD