Работа завершена

Время выполнения 2 дня
Отзыв от исполнителя
Highly rational individual. Hope to continue working with him.
Отзыв от заказчика
excellent developer always willing to help and goes the extra mile I've worked with him more than once now and I highly recommend him as a developer for eas and indicators

Техническое задание

1.1 Purpose

The purpose of this EA is to automate the Turtle Trading System, originally developed by Richard Dennis and William Eckhardt, using Donchian Channel breakouts and ATR-based volatility stops. The EA will execute entries, exits, and risk management automatically.

1.2 Scope

The EA should:

  • Trade any MT5-compatible instrument (Forex, Crypto, Commodities, Indices, Synthetic Indices).

  • Support backtesting and live trading.

  • Implement both System 1 (short-term) and System 2 (long-term) Turtle breakout rules.

  • Manage trade sizing, pyramiding, stop-loss, and trailing stops based on ATR volatility.


⚙️ 2. Functional Requirements

2.1 Entry Logic

  • System 1 (Short-term):

    • Buy when price closes above the Donchian Channel high (N = 20).

    • Sell when price closes below the Donchian Channel low (N = 20).

  • System 2 (Long-term):

    • Buy when price closes above the Donchian Channel high (N = 55).

    • Sell when price closes below the Donchian Channel low (N = 55).

  • Filter Option:

    • Enable/disable each system independently.

    • Optionally confirm with trend filter (e.g., 200 EMA direction).

2.2 Exit Logic

  • Exit all long positions when price closes below the Donchian Channel low (N = 10).

  • Exit all short positions when price closes above the Donchian Channel high (N = 10).

  • Optional trailing stop exits (ATR-based).

2.3 Stop Loss

  • Each trade has a fixed stop loss equal to:

    Stop Distance = ATR(20) × ATR_Multiplier

  • Default ATR_Multiplier = 2.0.

2.4 Position Sizing

  • Risk-based sizing:

    Position Size = (Account Balance × Risk%) / (Stop Distance)
  • Default Risk% = 1% per trade.

  • Minimum lot size enforced by broker specifications.

2.5 Pyramiding

  • Allow multiple entries (up to 4) in the direction of profit.

  • New positions are opened every +0.5 ATR move in favor of trade.

  • Each added position has its own stop-loss based on most recent ATR.

2.6 Take Profit

  • Optional Take Profit at user-defined R:R ratio (default = 2.0).

  • If disabled, rely solely on Donchian or trailing exits.

2.7 Trailing Stop (optional)

  • Dynamic trailing stop based on ATR(20) × Trailing Multiplier.

  • Updates on every new candle or tick.

2.8 Filters (optional)

  • Volatility Filter: Trade only when ATR > ATR_SMA(20).

  • Session Filter: Trade only during selected hours (e.g., London/NY).

  • Trend Filter: Only take trades aligned with a higher timeframe trend (EMA direction).


🧮 3. Parameters and Inputs

Parameter Description Default
System1_Period Donchian Channel Period (Short-term) 20
System2_Period Donchian Channel Period (Long-term) 55
Exit_Period Donchian Exit Period 10
ATR_Period ATR calculation length 20
ATR_Multiplier Multiplier for stop distance 2.0
Risk_Percent % of balance risked per trade 1.0
TP_Multiplier Take-profit multiplier (R:R) 2.0
Allow_Pyramiding Enable additional entries true
Max_Pyramids Max pyramided entries per direction 4
TrailStop_Enable Enable trailing stop true
TrailStop_ATRMult Trailing stop ATR multiplier 1.0
Use_TrendFilter Trade with EMA trend confirmation false
Trend_EMA_Period EMA period for trend 200
SessionStart Start time (HH:MM) 00:00
SessionEnd End time (HH:MM) 23:59
Slippage Max price slippage 3 pips
MagicNumber Unique EA trade ID 20250507

🧠 4. Non-Functional Requirements

4.1 Performance

  • EA must execute in under 100 ms per tick.

  • Backtest-compatible across all timeframes (1M–1D).

4.2 Compatibility

  • Platform: MetaTrader 5.

  • Accounts: Supports both Hedging and Netting modes.

  • Broker Types: ECN, Market Maker, Deriv, Forex.com, etc.

4.3 Error Handling

  • Check all indicator handles before use.

  • Prevent duplicate entries.

  • Handle “Off Quotes” and “Invalid Volume” gracefully with retry logic.

4.4 Logging

  • Print trade entries, exits, and risk calculations to the Experts tab.

  • Store key variables (ATR, Donchian levels, stops) for debugging.


📈 5. Example Trade Flow

  1. Setup Detection

    • ATR(20) = 120 pips.

    • Donchian high = 1.1200; Donchian low = 1.1000.

    • Price closes at 1.1205 → Long breakout triggered.

  2. Order Calculation

    • Stop Distance = ATR × 2.0 = 240 pips.

    • Risk = 1% of $10,000 = $100.

    • Lot size = 100 / 240 = 0.0416 ≈ 0.04 lots.

  3. Execution

    • Buy 0.04 lots at 1.1205.

    • Stop Loss at 1.0965.

    • Take Profit at 1.1685 (2R).

  4. Management

    • If price rises by 0.5 ATR, add 0.04 lots (pyramid #1).

    • If price closes below Donchian(10) low → Exit all longs.


🔒 6. Safety & Protections

  • Equity stop: close all trades if drawdown exceeds MaxDrawdown% .

  • Spread filter: disable new entries if spread > average × 2.

  • News filter (optional): disable entries during major news events (via external calendar or user input).

  • Slippage protection on order placement.


🧰 7. Deliverables

  1. Source Code ( TurtleTrader.mq5 )

  2. Compiled EA ( TurtleTrader.ex5 )

  3. User Guide (parameters, setup, and backtest instructions)

  4. Backtest Report (e.g., EURUSD and Boom1000 examples)

  5. Optimization Template ( .set files)


Откликнулись

1
Разработчик 1
Оценка
(252)
Проекты
315
29%
Арбитраж
34
26% / 65%
Просрочено
10
3%
Свободен
2
Разработчик 2
Оценка
(18)
Проекты
22
9%
Арбитраж
6
33% / 50%
Просрочено
1
5%
Загружен
3
Разработчик 3
Оценка
(327)
Проекты
509
19%
Арбитраж
33
45% / 30%
Просрочено
34
7%
Загружен
4
Разработчик 4
Оценка
(627)
Проекты
987
47%
Арбитраж
33
36% / 36%
Просрочено
98
10%
Загружен
Опубликовал: 6 примеров
5
Разработчик 5
Оценка
(23)
Проекты
26
73%
Арбитраж
1
0% / 0%
Просрочено
0
Работает
6
Разработчик 6
Оценка
(12)
Проекты
24
50%
Арбитраж
1
100% / 0%
Просрочено
6
25%
Свободен
7
Разработчик 7
Оценка
(33)
Проекты
38
21%
Арбитраж
5
0% / 60%
Просрочено
0
Свободен
8
Разработчик 8
Оценка
(22)
Проекты
29
3%
Арбитраж
4
25% / 0%
Просрочено
3
10%
Работает
9
Разработчик 9
Оценка
(429)
Проекты
629
54%
Арбитраж
32
53% / 22%
Просрочено
6
1%
Загружен
10
Разработчик 10
Оценка
(25)
Проекты
33
24%
Арбитраж
3
33% / 33%
Просрочено
4
12%
Свободен
11
Разработчик 11
Оценка
(508)
Проекты
976
74%
Арбитраж
27
19% / 67%
Просрочено
101
10%
Работает
Опубликовал: 1 статью, 6 примеров
12
Разработчик 12
Оценка
(68)
Проекты
124
40%
Арбитраж
19
42% / 47%
Просрочено
31
25%
Загружен
13
Разработчик 13
Оценка
(32)
Проекты
35
34%
Арбитраж
5
0% / 80%
Просрочено
0
Работает
Опубликовал: 2 примера
14
Разработчик 14
Оценка
(16)
Проекты
20
0%
Арбитраж
10
0% / 80%
Просрочено
6
30%
Свободен
Похожие заказы
Project Overview ​I am looking for a high-level Algorithmic Trader / Developer to build a sophisticated, fully automated scalping system for the Nasdaq-100 Future (NQ) . The system must integrate institutional order flow logic with market structure analysis. ​The core logic must be written in Python , acting as a central hub that bridges ATAS (as the primary data source for Order Flow) and MetaTrader 5 (as the
have the Beatrix Inventor Expert Advisor (EA) that was profitable in the past but has been losing money recently. I need an experienced EA developer/optimizer to study the trade history (especially Stop Loss hits, drawdown periods, SL/TP behavior, win/loss ratio, etc.) and recommend + implement specific tweaks so it becomes consistently profitable again. Your job: 1. Deep analysis of why the EA is no longer
Am looking for an well experienced developer or team to build a basic forex trading automation system connected to MetaTrader (MT4/MT5). The system should allow users to connect their trading accounts and execute trades automatically based on predefined signals or a master trading account. Experience with MetaTrader APIs, trade copying systems, and forex automation is preferred. NOTE: Kindly apply if you have done
Hi, are you able to create a script/indicator on tradingview that displays a chart screener and it allows me to input multiple tickers on the rows. then the colums with be like "premarket high, premarket low, previous day high, previous day low" . When each or both of the levels break, there will pop up a circle on the chart screener, signaling to me what names are above both PM high and previous day high or maybe
Subject: Development of Ultra-High Precision Confluence Indicator - M1 Binary Options (Non-Repaint) ​ Hello, I am looking for a Senior MQL5 Developer to create a custom "Surgical Precision" indicator for MetaTrader 5, specifically optimized for 1-minute (M1) Binary Options trading. The system must integrate three distinct layers of algorithmic analysis. ​ 1. Core Logic: Triple-Layer Confluence ​The signal (Call/Put)
Looking for an experienced MQL5 developer to design and develop a custom Expert Advisor (EA) for MetaTrader 5. The purpose of this EA is not just automated trading, but also to help me better structure, test, and refine my personal trading strategy
Hi Programmers, I want to create an EA that will make use of the average prices to determine the direction of the market and take bids accurately towards the direction until it reaches the maximum distance for taking bids. It will also consider a profit to loss ratio which will be based on risk as a % of the account balance. As you can see from the picture and the prices showed , the prices represent the manually

Информация о проекте

Бюджет
100+ USD