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)
项目
511
19%
仲裁
33
45% / 30%
逾期
34
7%
已载入
2
开发者 2
等级
(26)
项目
32
28%
仲裁
5
60% / 40%
逾期
6
19%
空闲
3
开发者 3
等级
(432)
项目
632
53%
仲裁
32
53% / 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%
工作中
相似订单
I am looking for an experienced developer to create a custom Expert Advisor (EA) for trading. The developer should have strong knowledge of MT4/MT5, strategy logic, indicators, risk management, and backtesting. Experience in building reliable and professional trading robots is preferred. Please contact me if you have done similar projects before. 9817724000
5.20buy-20.5sell 50 - 1000 USD
⸻ 🧠 Professional AI Prompt (Clear English Version) Act as a professional algorithmic trading engineer with deep expertise in developing automated trading systems for TradingView and MetaTrader. You have strong knowledge of market behavior, trend analysis, and risk management. Your task is to design a fully automated trading strategy based on the following requirements: ⸻ 🎯 Entry Conditions: • Open a BUY trade
I need a skilled MQL5 developer to build a fully functional Expert Advisor (EA) for MetaTrader 5 based on a simple but strict trading strategy. The EA will use EMA 50/200 trend detection combined with breakout and retest logic for entries. It must operate only during London and New York sessions and include solid risk management (fixed % risk, SL/TP, trade limits, and basic protection rules). APPLY ONLY IF YOU HAVE
VWAP BB Sniper EA Quantum VWAP Scalper SmartFlow FX Bot Institutional Edge EA 🧠 PRODUCT OVERVIEW VWAP + Bollinger Bands Auto Trading System A high-precision forex scalping bot designed to capture institutional price movements using: VWAP (fair value tracking) Bollinger Bands (volatility & entry timing) 👉 Built for fast, consistent intraday profits
Hello traders, I have Quantum queen v3.52, which is the latest version, available for $500 only. The price on the platform is around $1800, but I am offering it for a much lower price for serious buyers. Details: Product: Quantum queen Version: v3.52 Price: $500 Condition: Serious buyers only
EA for prop firms 30 - 500 USD
Hi, I am looking to purchase a MT5 EA that can show consistent profitability 5% each month with drawdown less than 9%. I am not ready to build a new one from scratch as i do not have the strategy in mind yet so i do not want to take the risk of building one but not sure if it works. Only apply if you have an existing proven and tested EA that can sell to me together with the source code. The Ea is for prop firm even
Early Killer EA 30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
I WANT TO CONVERT MY INDICATOR TO ROBOT, BUT I DONT HAVE THE SOURCE CODE , THE PROGRAMMER WILL DEVELOP THE SOURCE CODE FOR THE JOB. THE STRAGY IS SIMPLE , THE ROBOT WILL EXECUTE A TRADE WHEN THE SIGNAL FROM THE INDICATOR APPEARS. BUY SIGNAL IS WHEN THE ARROW APPEAS ON THE LOWER ZONE ( SUPPORT ZONE) SELL SIGNAL WHEN THE ARROW APPEARS ON THE UPPER ZONE ( RESISTANCE ZONE).THE ROBOT WILL HAVE THE FOLLWING FEATURES (1)
CONVERT MQL4 ROBOT TO MQL5 Solana I have robot SOLANA i want to change my robot for MQL4 ROBOT TO MQL5 AND also change the name of the robot..i need it with the source code
requirements 1. A expert which can make a bridge between trading view and MT4 /MT5 My strategy which i work upon in trading view, that autobot system should buy, sell and take profit in MT4/MT5

项目信息

预算
30 - 50 USD