Donchian Breakout – Fully Mechanical System

MQL5 Experts

Spécifications

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


Répondu

1
Développeur 1
Évaluation
(393)
Projets
546
40%
Arbitrage
30
57% / 3%
En retard
57
10%
Gratuit
Publié : 11 codes
2
Développeur 2
Évaluation
(15)
Projets
19
16%
Arbitrage
5
40% / 40%
En retard
0
Gratuit
3
Développeur 3
Évaluation
(131)
Projets
139
38%
Arbitrage
3
33% / 33%
En retard
1
1%
Chargé
4
Développeur 4
Évaluation
(64)
Projets
83
28%
Arbitrage
9
33% / 56%
En retard
9
11%
Gratuit
Publié : 1 code
5
Développeur 5
Évaluation
(325)
Projets
505
19%
Arbitrage
33
42% / 30%
En retard
34
7%
Chargé
6
Développeur 6
Évaluation
(12)
Projets
19
42%
Arbitrage
3
0% / 67%
En retard
3
16%
Gratuit
7
Développeur 7
Évaluation
(5)
Projets
7
0%
Arbitrage
8
13% / 75%
En retard
3
43%
Gratuit
8
Développeur 8
Évaluation
(328)
Projets
538
66%
Arbitrage
53
21% / 40%
En retard
169
31%
Gratuit
Publié : 1 code
9
Développeur 9
Évaluation
(3)
Projets
1
100%
Arbitrage
3
0% / 100%
En retard
0
Gratuit
10
Développeur 10
Évaluation
(265)
Projets
596
35%
Arbitrage
64
20% / 58%
En retard
147
25%
Travail
Publié : 1 article, 22 codes
11
Développeur 11
Évaluation
(547)
Projets
630
33%
Arbitrage
38
39% / 50%
En retard
11
2%
Travail
12
Développeur 12
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
13
Développeur 13
Évaluation
(2636)
Projets
3351
67%
Arbitrage
77
48% / 14%
En retard
342
10%
Travail
Publié : 1 code
14
Développeur 14
Évaluation
(1)
Projets
2
0%
Arbitrage
2
0% / 100%
En retard
0
Travail
15
Développeur 15
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
16
Développeur 16
Évaluation
(2)
Projets
1
0%
Arbitrage
2
0% / 50%
En retard
0
Gratuit
17
Développeur 17
Évaluation
(845)
Projets
1448
72%
Arbitrage
119
29% / 47%
En retard
355
25%
Chargé
Publié : 3 articles
18
Développeur 18
Évaluation
(2)
Projets
3
0%
Arbitrage
2
0% / 0%
En retard
0
Chargé
19
Développeur 19
Évaluation
(7)
Projets
15
47%
Arbitrage
2
0% / 100%
En retard
2
13%
Travail
20
Développeur 20
Évaluation
(1)
Projets
2
50%
Arbitrage
0
En retard
1
50%
Travail
21
Développeur 21
Évaluation
(25)
Projets
33
24%
Arbitrage
3
33% / 33%
En retard
4
12%
Gratuit
22
Développeur 22
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
23
Développeur 23
Évaluation
(11)
Projets
15
13%
Arbitrage
4
25% / 25%
En retard
4
27%
Chargé
24
Développeur 24
Évaluation
(13)
Projets
14
21%
Arbitrage
1
0% / 0%
En retard
2
14%
Travail
25
Développeur 25
Évaluation
(30)
Projets
37
54%
Arbitrage
2
50% / 50%
En retard
3
8%
Gratuit
26
Développeur 26
Évaluation
(625)
Projets
983
47%
Arbitrage
32
38% / 34%
En retard
96
10%
Chargé
Publié : 6 codes
27
Développeur 27
Évaluation
(2)
Projets
2
0%
Arbitrage
0
En retard
0
Gratuit
28
Développeur 28
Évaluation
(6)
Projets
5
0%
Arbitrage
2
50% / 50%
En retard
2
40%
Gratuit
29
Développeur 29
Évaluation
(4)
Projets
3
33%
Arbitrage
2
0% / 100%
En retard
0
Gratuit
Commandes similaires
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

Informations sur le projet

Budget
500+ USD