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
等级
(321)
项目
499
19%
仲裁
33
42% / 30%
逾期
32
6%
已载入
2
开发者 2
等级
(26)
项目
32
28%
仲裁
5
60% / 40%
逾期
6
19%
空闲
3
开发者 3
等级
(428)
项目
622
54%
仲裁
29
55% / 24%
逾期
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
等级
(21)
项目
30
57%
仲裁
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
等级
(270)
项目
552
49%
仲裁
58
40% / 36%
逾期
228
41%
工作中
相似订单
Hi, I am looking for someone who has already developed a high-performance Gold EA that can outperform the one shown in my screenshot. If you have such an EA, please apply for this job. Please describe how the EA works (for example, whether it uses a grid system) and provide backtest results along with the set files. If the EA meets my expectations, you can make the necessary adjustments and I will use it as my own
I am looking for a developer to create a trading robot (EA) to trade XAUUSD, NAS100 and SPX500. The rules are as follows: Buy when the 2 EMA crosses over the 10 EMA and price closes over the 50 ema. Sell when the 2 EMAs cross below the 10 EMAs and the price closes below the 50 EMAs. The take profit and stop loss can be adjusted by me selecting from a drop-down box. I am open to other parameters to optimize
Description I need an very low latency MT5 Expert Advisor (EA) developed in MQL5 to automate TradingView alerts into MT5 trades for alerts set up done on trading view. The EA must work on both DEMO and LIVE accounts whichever will be attached to MT5 (XM, IC Markets and similar MT5 brokers) and be suitable for fast 1-minute timeframe scalping.End to End solution. Functional Requirements 1. TradingView Integration
Project Overview I am looking for an experienced MQL5 developer to build a custom, prop-firm-compliant trend-following Expert Advisor (EA) for MetaTrader 5 . This EA will be used on prop firm accounts (e.g., FTMO-style rules), so strict risk control and rule compliance are mandatory . This is NOT a grid, martingale, scalping, or recovery EA. The goal is consistency, rule compliance, and capital preservation , not
I would like to buy ea that is proven to be good need to have stable profit and can be very unstable DD but not more than 40 %you can send eas in dm for sale. I am looking of an Expert Advisor (EA) that has undergone independent validation and demonstrates a capability to successfully navigate prop firm challenges, as well as efficiently manage funded accounts. It is imperative that you provide a comprehensive
I am looking of an Expert Advisor (EA) that has undergone independent validation and demonstrates a capability to successfully navigate prop firm challenges, as well as efficiently manage funded accounts. It is imperative that you provide a comprehensive explanation of the strategy utilized by your EA, along with a demo version that has a 30-day expiration. This will facilitate extensive back testing and forward
I am seeking a highly skilled developer to build a fully functional automated Expert Advisor for MetaTrader 5 (MQL5)- XAUUSD fast in and out EA scalper that opens multiple trades following trend, uses dynamic lot sizing, and has to be – 24/5 unlimited. require the development of a high-speed, continuous fully automated trading Expert Advisor (EA) for MetaTrader 5, optimized for live trading on ICmarkets. The EA must
Hellow,l hope you are well,l am writing to place an order for a professional trading robot.l am looking for a reliable,well optimized robot that can trade efficiently,manage risk properly and deliver consistent performance in the market,I am particularly interested in a trading robot that uses a proven and transparent strategy,has strong risk management features,works well on common trading platforms,is suitable for
I am looking for an experienced MQL5 developer to build a professional MT5 software (indicator or semi-automated EA) for metals and major forex pairs. 📌 PLATFORM & MARKETS Platform: MetaTrader 5 Instruments: XAUUSD (Gold vs USD) XAGUSD (Silver vs USD) EURUSD GBPUSD USDJPY Trading styles: Scalping Intraday / short-term swing 🎯 MAIN OBJECTIVE I do NOT want an aggressive fully automated robot. I want a
I am seeking an experienced freelance marketing and algorithmic trading specialist to develop a user-friendly automated trading bot for the Pocket Option platform. The system should feature a simple and secure interface that allows direct login using my existing credentials. The bot will be designed to operate exclusively on multiple OTC currency pairs (a minimum of 10, such as EUR/USD OTC, GBP/JPY OTC, and similar

项目信息

预算
30 - 50 USD