仕事が完了した

実行時間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
評価
(286)
プロジェクト
358
29%
仲裁
37
27% / 65%
期限切れ
10
3%
仕事中
2
開発者 2
評価
(22)
プロジェクト
28
7%
仲裁
9
33% / 33%
期限切れ
1
4%
仕事中
3
開発者 3
評価
(329)
プロジェクト
515
19%
仲裁
35
46% / 31%
期限切れ
34
7%
仕事中
4
開発者 4
評価
(636)
プロジェクト
1008
47%
仲裁
33
36% / 36%
期限切れ
99
10%
仕事中
パブリッシュした人: 6 codes
5
開発者 5
評価
(24)
プロジェクト
26
73%
仲裁
1
0% / 100%
期限切れ
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
評価
(436)
プロジェクト
645
53%
仲裁
35
63% / 20%
期限切れ
6
1%
取り込み中
10
開発者 10
評価
(25)
プロジェクト
34
26%
仲裁
4
50% / 25%
期限切れ
4
12%
暇
11
開発者 11
評価
(510)
プロジェクト
978
74%
仲裁
27
19% / 67%
期限切れ
101
10%
暇
パブリッシュした人: 1 article, 6 codes
12
開発者 12
評価
(68)
プロジェクト
127
41%
仲裁
19
47% / 53%
期限切れ
33
26%
暇
13
開発者 13
評価
(33)
プロジェクト
36
33%
仲裁
5
0% / 80%
期限切れ
0
仕事中
パブリッシュした人: 2 codes
14
開発者 14
評価
(16)
プロジェクト
20
0%
仲裁
10
0% / 80%
期限切れ
6
30%
暇
類似した注文
Zwivhuya 100+ USD
I would like to be part of this trade because i want to help my family out of the hopeless life we are living now . i thoughts going to school will help me get better job but no i am still sitting for us to eat at home i have to sell my body to someone and get pay with that small money i can buy bread and cooldrink for my family that we can not sleep with emyter stomach
Please may someone assist me with the indicator attached, it has a SERIOUS BUG issue in the sense that when I load it, and activate the template (attached as well) MT4 ALWAYS freezes and then eventually disconnects automatically, ALL THE TIME. It even gets worse to an extent that after disconnecting a number of times mt4 ends up not loading anymore, UNTIL I remove the indicator. Please I WILL NEED A DEMO (FOR A DAY)
I have the Fisher Indicator shown below the chart. I need an alert added for when the Fisher Indicator hits the 50 point at the end of each period. GBPUSD and EURUSD 4H charts are provided and I can provide additional
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
MetaTrader 5 (MT5) Price-Level Monitoring & Automated Phone Call Alert System Developer Needed Project Overview I am looking for an experienced developer to build a custom trading assistant for MetaTrader 5 (MT5) that monitors important price levels I manually mark on my charts and immediately calls my phone when the market reaches or interacts with those levels. This is Phase 1 of a larger trading assistant project
MT4/MT5 HFT EA us30 30 - 3000 USD
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the

プロジェクト情報

予算
100+ USD