Donchian Breakout – Fully Mechanical System

MQL5 Experts

Specification

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


Responded

1
Developer 1
Rating
(393)
Projects
546
40%
Arbitration
30
57% / 3%
Overdue
57
10%
Free
Published: 11 codes
2
Developer 2
Rating
(15)
Projects
19
16%
Arbitration
5
40% / 40%
Overdue
0
Free
3
Developer 3
Rating
(131)
Projects
139
38%
Arbitration
3
33% / 33%
Overdue
1
1%
Loaded
4
Developer 4
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
5
Developer 5
Rating
(325)
Projects
505
19%
Arbitration
33
42% / 30%
Overdue
34
7%
Loaded
6
Developer 6
Rating
(12)
Projects
19
42%
Arbitration
3
0% / 67%
Overdue
3
16%
Free
7
Developer 7
Rating
(5)
Projects
7
0%
Arbitration
8
13% / 75%
Overdue
3
43%
Free
8
Developer 8
Rating
(328)
Projects
538
66%
Arbitration
53
21% / 40%
Overdue
169
31%
Free
Published: 1 code
9
Developer 9
Rating
(3)
Projects
1
100%
Arbitration
3
0% / 100%
Overdue
0
Free
10
Developer 10
Rating
(265)
Projects
596
35%
Arbitration
64
20% / 58%
Overdue
147
25%
Working
Published: 1 article, 22 codes
11
Developer 11
Rating
(547)
Projects
630
33%
Arbitration
38
39% / 50%
Overdue
11
2%
Working
12
Developer 12
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
(2636)
Projects
3351
67%
Arbitration
77
48% / 14%
Overdue
342
10%
Working
Published: 1 code
14
Developer 14
Rating
(1)
Projects
2
0%
Arbitration
2
0% / 100%
Overdue
0
Working
15
Developer 15
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(2)
Projects
1
0%
Arbitration
2
0% / 50%
Overdue
0
Free
17
Developer 17
Rating
(845)
Projects
1448
72%
Arbitration
119
29% / 47%
Overdue
355
25%
Loaded
Published: 3 articles
18
Developer 18
Rating
(2)
Projects
3
0%
Arbitration
2
0% / 0%
Overdue
0
Loaded
19
Developer 19
Rating
(7)
Projects
15
47%
Arbitration
2
0% / 100%
Overdue
2
13%
Working
20
Developer 20
Rating
(1)
Projects
2
50%
Arbitration
0
Overdue
1
50%
Working
21
Developer 21
Rating
(25)
Projects
33
24%
Arbitration
3
33% / 33%
Overdue
4
12%
Free
22
Developer 22
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
23
Developer 23
Rating
(11)
Projects
15
13%
Arbitration
4
25% / 25%
Overdue
4
27%
Loaded
24
Developer 24
Rating
(13)
Projects
14
21%
Arbitration
1
0% / 0%
Overdue
2
14%
Working
25
Developer 25
Rating
(30)
Projects
37
54%
Arbitration
2
50% / 50%
Overdue
3
8%
Free
26
Developer 26
Rating
(625)
Projects
983
47%
Arbitration
32
38% / 34%
Overdue
96
10%
Loaded
Published: 6 codes
27
Developer 27
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
28
Developer 28
Rating
(6)
Projects
5
0%
Arbitration
2
50% / 50%
Overdue
2
40%
Free
29
Developer 29
Rating
(4)
Projects
3
33%
Arbitration
2
0% / 100%
Overdue
0
Free
Similar orders
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

Project information

Budget
500+ USD