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
등급
(325)
프로젝트
506
19%
중재
32
44% / 31%
기한 초과
34
7%
로드됨
2
개발자 2
등급
(26)
프로젝트
32
28%
중재
5
60% / 40%
기한 초과
6
19%
무료
3
개발자 3
등급
(429)
프로젝트
628
54%
중재
30
53% / 23%
기한 초과
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
등급
(22)
프로젝트
33
52%
중재
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
등급
(270)
프로젝트
552
49%
중재
57
40% / 37%
기한 초과
227
41%
작업중
비슷한 주문
I need an EA 30+ USD
I need an EA that is performing well. I am interested in purchasing it, but only genuine sellers should reply. It must have verified live performance and past trading history
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
I am offering a ready-to-use trading system that connects MetaTrader 4 signals with automated trading on Polymarket. The system is already fully developed and working. What the system does: The bot copies signals from a custom MT4 indicator and executes trades automatically on Polymarket prediction markets. How it works: A custom MT4 indicator generates BUY or SELL signals using buffers. When a signal appears, it is
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type
I need Ea that executes trade based on trading view indicator called Market Structure CHoCH/BOS (Fractal) [LuxAlgo] I need developer to recreate the indicator as an Ea in MQL5 The core of the system will be a structured Market Structure engine that detects CHOCH (Change of Character) and BOS (Break of Structure) Signals will be confirmed once the indicator gave ( the bos/choch) no need to wait candle close
Looking to purchase a Good forex or gold/ BTC trading EA and it's source code. Must be compatible with low budget like less than $500 accounts, Must need no manual intervention and run fully automated. If you are interested in selling me the source code, please share the Read only account access where the EA has already been running on, so i can check past performance and get an idea on how it works or runs. Dont
Hello, I’m looking for an experienced MQL4/MQL5 developer to work with me on an ongoing basis. My clients request services such as: Converting TradingView Pine Script indicators/strategies into MT4 or MT5 Expert Advisors Converting MT4 EAs to MT5 (and MT5 to MT4) Compiling and fixing existing MQL4 / MQL5 EA code Adding simple features like alerts, SL/TP, lot size, and basic money management This job is for
I am looking someone to create an EA based on my MACD Histo indicator / strategy from Pinescript. I will send it to you for you to replicate. The EA shall have: - Divergence length in bars, min and max values. - Pivot Logic - Entry on close of divergence confirmation bar. - Dynamic lot size dependent on SL/TP, in monetary value. - SL / TP in percent away from entry, separate values for long and short. - Time, day and

프로젝트 정보

예산
30 - 50 USD