MQL5: Box trading EA

工作已完成

执行时间2 天
客户反馈
I am very satisfied, very fast and well documented code. Will come back with further tasks 😁

指定

Project Overview:

We are looking to hire an experienced MQL5 developer to create an Expert Advisor (EA) that performs a specific trading strategy involving buy-stop and sell-stop orders at a predefined time each day. The EA will dynamically adjust the lot sizes based on market conditions, and it will manage trades and orders with a focus on controlling drawdown and maximizing profitability.

Requirements:

  1. Inputs:

    • MagicNumber: Configurable (e.g. 12345)
    • Lots: Configurable (e.g. 0.01)
    • Trading Time: Configurable (e.g., 08:30 )
    • Distance: Configurable (e.g., 20 points)
    • TakeProfit: Configurable (e.g., 20 points)
    • LotSizeIncreaseFactor: Configurable (e.g., 2 which means new lot size = 0.01 + x * 0.01 )
    • Max-Draw-Down: Configurable (e.g., 1% of account equity)
    • CloseAllTradesAtEndOfDay? True/false
    • CloseAllTrades: Configurable (e.g. 23:00)
    • GoFullHedge: True/false
    • GoFullHedge%: Configurable (e.g. 0.5% of account equity)
  2. Core Functionality:

    • At a configurable time each day (e.g., 08:30 ), the EA should open both a buy-stop and a sell-stop order at a specified distance (e.g., 20 points) from the current market price.
    • A unique MagicNumber to distinguish the orders from the ones from other EAs
    • If one of the stop orders is triggered (e.g., buy-stop), the EA should increase the lot size of the opposite stop order (e.g., sell-stop) by a configurable factor (e.g., 2x ).
    • If the price reverses and triggers the opposite stop order (e.g., sell-stop after buy-stop), a new order (e.g., buy-stop) should be placed with the increased lot size at the same price level as the original stop orders.
    • The EA should continue this cycle of placing new orders at the original price level, alternating between buy-stop and sell-stop orders with increased lot sizes, until the TakeProfit level is reached or the Max-Draw-Down limit is hit.
    • There can only be one active buy-stop or sell-stop order at any given time.
    • If set to true, all open trades and stop-orders should be closed at the given time
    • If GoFullHedge is set to true, a hedging position should be opened, once the %-value is reached, and at the next day and then a new cycle would be opened (which would close all trades once tp is reached)
    • A new cycle should be started at the next day.
  3. Extra Functionality:

    • The EA should automatically close all open trades and cancel any pending orders when the TakeProfit level is reached.
    • The EA should monitor the drawdown of all open positions associated with the MagicNumber. If the drawdown reaches the configured Max-Draw-Down percentage, all trades should be closed, and any remaining pending orders should be canceled.
  4. Market Scenario Example:

    • At 08:30 , both buy-stop and sell-stop orders are placed at a distance of 20 points from the current market price.
    • If the buy-stop order is triggered, the EA increases the lot size of the remaining sell-stop order.
      • If the price continues in the buy direction and hits the TakeProfit, all orders are closed.
      • If the price reverses and triggers the sell-stop order, the EA places a new buy-stop order with an increased lot size, continuing the cycle.
    • This process continues indefinitely until the TakeProfit level is achieved or the Max-Draw-Down limit is reached.

Deliverables:

  • The complete and fully functional Expert Advisor (EA) in MQL5 format.
  • The source code of the EA, allowing for future modifications.
  • Documentation explaining how to configure and use the EA.

Notes:

  • The EA should be optimized for performance and efficiency, minimizing resource usage and ensuring quick response times during trading sessions.
  • Code quality is important, with clear comments and structure to facilitate understanding and future modifications.




















































































附加的文件:

PNG
Orderflow.png
26.6 Kb

反馈

1
开发者 1
等级
(328)
项目
513
19%
仲裁
34
44% / 32%
逾期
34
7%
已载入
2
开发者 2
等级
(26)
项目
32
28%
仲裁
5
60% / 40%
逾期
6
19%
空闲
3
开发者 3
等级
(434)
项目
635
54%
仲裁
32
56% / 22%
逾期
6
1%
已载入
4
开发者 4
等级
(2)
项目
2
0%
仲裁
1
0% / 100%
逾期
0
空闲
5
开发者 5
等级
(6)
项目
9
11%
仲裁
5
40% / 20%
逾期
2
22%
空闲
6
开发者 6
等级
(1)
项目
0
0%
仲裁
0
逾期
0
空闲
7
开发者 7
等级
(23)
项目
34
53%
仲裁
1
100% / 0%
逾期
1
3%
空闲
8
开发者 8
等级
(52)
项目
67
43%
仲裁
8
0% / 100%
逾期
3
4%
空闲
9
开发者 9
等级
(45)
项目
91
13%
仲裁
34
26% / 59%
逾期
37
41%
空闲
10
开发者 10
等级
(271)
项目
553
50%
仲裁
57
40% / 37%
逾期
227
41%
工作中
相似订单
Gold robot 3000+ USD
I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
Gold robot 3000+ USD
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
I am looking for an experienced MT4/MT5 developer to analyze my trading history and replicate the strategy in a new Expert Advisor (EA). The developer must have proven experience in reverse engineering strategies, analyzing trading data, and developing EAs across various trading methodologies. A deep understanding of XAUUDS and BTCUSD behavior, as well as chart analysis, is essential. Please note that we do not have
Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade
Risk management EA 30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
Ea.Mix 30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
A bot takes trades every few seconds until hit the profit with the same lots , i am attaching a picture as well. If anyone can do that please contact me i will give the account details
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit

项目信息

预算
30 - 50 USD