工作已完成

执行时间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
等级
(249)
项目
311
28%
仲裁
33
27% / 64%
逾期
10
3%
空闲
2
开发者 2
等级
(18)
项目
22
9%
仲裁
5
40% / 40%
逾期
1
5%
已载入
3
开发者 3
等级
(325)
项目
504
19%
仲裁
33
42% / 30%
逾期
33
7%
繁忙
4
开发者 4
等级
(624)
项目
981
47%
仲裁
32
38% / 34%
逾期
96
10%
工作中
发布者: 6 代码
5
开发者 5
等级
(22)
项目
24
71%
仲裁
2
0% / 0%
逾期
0
已载入
6
开发者 6
等级
(12)
项目
24
50%
仲裁
1
100% / 0%
逾期
6
25%
空闲
7
开发者 7
等级
(33)
项目
38
21%
仲裁
5
0% / 60%
逾期
0
空闲
8
开发者 8
等级
(21)
项目
28
4%
仲裁
4
25% / 0%
逾期
3
11%
工作中
9
开发者 9
等级
(428)
项目
624
54%
仲裁
30
53% / 23%
逾期
6
1%
繁忙
10
开发者 10
等级
(25)
项目
33
24%
仲裁
3
33% / 33%
逾期
4
12%
空闲
11
开发者 11
等级
(500)
项目
968
74%
仲裁
27
19% / 67%
逾期
100
10%
已载入
发布者: 1 文章, 6 代码
12
开发者 12
等级
(68)
项目
124
40%
仲裁
17
47% / 53%
逾期
31
25%
已载入
13
开发者 13
等级
(32)
项目
35
34%
仲裁
5
0% / 80%
逾期
0
工作中
发布者: 2 代码
14
开发者 14
等级
(16)
项目
20
0%
仲裁
10
0% / 80%
逾期
6
30%
空闲
相似订单
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
Task Title Implement Martingale Lot Scaling Sync Between Master and Slave MT4 Trade Copier Background I am using a local master–slave trade copier setup with: 1 Master MT4 4 Slave MT4 terminals Trades are currently copied correctly (entry, direction, symbol, SL/TP). Lot size handling currently copies either: the exact master lot, or a fixed base lot defined on the slave (e.g., always 0.01 or 1.0). Problem When the
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
Project Title: MT5 Algo Trading EA (Single Strategy + License Panel + Ownership + Manual Trade) --- Project Description I am looking for an experienced MT5 (MQL5) developer to create a clean, stable and professional Algo Trading EA for my company and future clients. This is a long-term business project, not a one-time personal EA. --- 1. Strategy Requirements - Only 1 single trading strategy - No martingale - No grid
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
For only developer who understand Chaos/ Profiunity trading system by Bill WIlliams, Create The Profitunity System Trading based on Bill Williams Chaos theory, Trade based on Trend Affirmation in Daily, entry in H4, using Williams Fractal, Williams Alligator, Awesome Oscillator, Accelerator Oscillator, Market Facilitation Index. Balance Line, entry on Reversal, add on while market show continuation sign. Please quote
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
specification High-Frequency Candle Momentum Scalper 1. Strategy Overview Core Logic: The EA identifies the current color of the active candle (Bullish or Bearish). Entry Trigger: It opens positions only after a specific duration of the candle has passed (e.g., after 30 seconds on a 1-minute candle) to confirm the direction. 2. Entry Logic (The "Half-Candle" Rule) Timeframe: M1 (Default, but adjustable). Time Filter

项目信息

预算
100+ USD