İş tamamlandı

Tamamlanma süresi: 2 gün
Geliştirici tarafından geri bildirim
Highly rational individual. Hope to continue working with him.
Müşteri tarafından geri bildirim
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

İş Gereklilikleri

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)


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(249)
Projeler
311
28%
Arabuluculuk
33
27% / 64%
Süresi dolmuş
10
3%
Serbest
2
Geliştirici 2
Derecelendirme
(18)
Projeler
22
9%
Arabuluculuk
5
40% / 40%
Süresi dolmuş
1
5%
Yüklendi
3
Geliştirici 3
Derecelendirme
(325)
Projeler
504
19%
Arabuluculuk
33
42% / 30%
Süresi dolmuş
33
7%
Meşgul
4
Geliştirici 4
Derecelendirme
(624)
Projeler
981
47%
Arabuluculuk
32
38% / 34%
Süresi dolmuş
96
10%
Çalışıyor
Yayınlandı: 6 kod
5
Geliştirici 5
Derecelendirme
(22)
Projeler
24
71%
Arabuluculuk
2
0% / 0%
Süresi dolmuş
0
Yüklendi
6
Geliştirici 6
Derecelendirme
(12)
Projeler
24
50%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
6
25%
Serbest
7
Geliştirici 7
Derecelendirme
(33)
Projeler
38
21%
Arabuluculuk
5
0% / 60%
Süresi dolmuş
0
Serbest
8
Geliştirici 8
Derecelendirme
(21)
Projeler
28
4%
Arabuluculuk
4
25% / 0%
Süresi dolmuş
3
11%
Çalışıyor
9
Geliştirici 9
Derecelendirme
(428)
Projeler
624
54%
Arabuluculuk
30
53% / 23%
Süresi dolmuş
6
1%
Meşgul
10
Geliştirici 10
Derecelendirme
(25)
Projeler
33
24%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
4
12%
Serbest
11
Geliştirici 11
Derecelendirme
(500)
Projeler
968
74%
Arabuluculuk
27
19% / 67%
Süresi dolmuş
100
10%
Yüklendi
Yayınlandı: 1 makale, 6 kod
12
Geliştirici 12
Derecelendirme
(68)
Projeler
124
40%
Arabuluculuk
17
47% / 53%
Süresi dolmuş
31
25%
Yüklendi
13
Geliştirici 13
Derecelendirme
(32)
Projeler
35
34%
Arabuluculuk
5
0% / 80%
Süresi dolmuş
0
Çalışıyor
Yayınlandı: 2 kod
14
Geliştirici 14
Derecelendirme
(16)
Projeler
20
0%
Arabuluculuk
10
0% / 80%
Süresi dolmuş
6
30%
Serbest
Benzer siparişler
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
step by step and structure this into a full IEEE 830 / ISO/IEC/IEEE 29148 style Requirements Specification. This format will include: Introduction System Overview Functional and Performance Requirements Traceability Matrix (linking requirements to test cases) Verification and Validation Compliance Standards 1. Introduction 1.1 Purpose The purpose of this document is to define the technical requirements for the
I want a reliable and broker-independent copy-trading solution that copies trades from a master MT5 account to multiple MT4 and/or MT5 client accounts. The system is designed for stable live trading and works with any broker, handling common differences in symbols, pricing, and execution. The copier supports full trade synchronization, including trade opening, closing, partial closes, and SL/TP modifications, with
Hello, I’m reaching out because I’m interested in hiring you to develop a custom trading bot for me. The bot should trade only XAUUSD (Gold) and be designed for long-term account growth using my own trading account size. Here are the core requirements: - Account size: $300 - Asset: XAUUSD only - Risk management: Strict and properly controlled - Risk-to-reward ratio: Clearly defined and consistently applied -
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi

Proje bilgisi

Bütçe
100+ USD