An Expert Advisor for a simple Hedging strategy

MQL5 Эксперты

Работа завершена

Время выполнения 5 дней
Отзыв от заказчика
Taher delivers exceptional quality work, excels in problem-solving, and communicates effectively. He meets deadlines reliably, adapts quickly to changes, and maintains clean code. Highly recommended!

Техническое задание

Overview:
We are seeking an experienced developer to create an Expert Advisor (EA) for a simple hedging strategy in the forex market.

The EA will utilize MACD, 200 EMA, and support and resistance levels to determine entry signals.

It will manage orders, including placing stop orders and adjusting lot sizes based on predefined conditions.



Responsibilities:

  1. Develop EA Logic:

    • Implement the first order based on MACD signals, 200 EMA trend direction, and support/resistance levels.

    • Include parameters for customizable take profit and stop loss.

  2. Order Management:

    • Automatically place a stop order upon initiating the first order.

    • Set entry price, take profit, and stop loss for the first order.

    • Note: The stop loss is saved as a variable for use in activating stop orders but will not be set when placing orders. It serves as a signal for activating stop orders.

    • Double the lot size for the second stop order, and use the first order's stop loss as the entry price.

    • Implement a third order with settings mirroring the first order if the first order’s entry price is hit again after the second stop order activation.

  3. Indicator Integration:

    • Utilize the MACD indicator for buy/sell signals.

    • Ensure the EA checks the 200 EMA for trend direction.

    • Incorporate support and resistance levels to determine entry points.

  4. User Inputs:

    • Provide input parameters for take profit (default 10 pips), stop loss (default 5 pips), and lot size (default 0.01).

  5. Order Execution and Closure Logic:

    • Ensure proper logic for closing orders upon hitting take profit or activating subsequent stop orders.

    • Implement a function to reset variables and close all positions when a take profit level is reached.

  6. Magic Number Utilization:

    • Use a magic number to track orders and ensure only one set of orders is placed at a time.

    • Include logic to check for existing orders with the magic number before placing new ones.

Detailed EA Specifications:

  1. First Order:

    • Entry Price: Determined by MACD, 200 EMA, and support/resistance.

    • Take Profit: 10 pips (user adjustable).

    • Stop Loss: 5 pips (user adjustable, stored for use in stop order, no actual stop loss set when placing the order).

    • Lot Size: 0.01 (user adjustable).

  2. Second Stop Order:

    • Entry Price: First order’s stop loss.

    • Take Profit: 10 pips (same as the first order, user adjustable).

    • Stop Loss: First order’s entry price (no actual stop loss set).

    • Lot Size: Double the first order’s lot size.

  3. Third Stop Order:

    • Entry Price: First order’s entry price after second stop order activation.

    • Take Profit: 10 pips (same as the first order, user adjustable).

    • Lot Size: Same as the first order (no stop loss).





EA Logic Flow:

  1. Entry:

    • Place the first order based on MACD, 200 EMA, and support/resistance.

    • Immediately place the second stop order.

  2. Take Profit and Stop Loss Handling:

    • If the first order hits, take profit, close all orders.

    • If the first order hits stop loss, activate the second stop order.

    • If the second stop order hits its take profit, close all orders.

    • If the second stop order’s stop loss (first order’s entry price) is hit, place the third order.

  3. Order Closure:

    • Close all orders when any take profit level is reached.

  4. Magic Number Check:

    • Ensure no additional orders are placed if an order with the same magic number exists.

    • Reset variables and close positions when required.

Deliverables:

  1. Fully functional EA with the described hedging strategy.

  2. Well-documented code for maintainability.

  3. User guide for setting parameters and understanding the EA's operations.

Requirements:

  1. Proven experience in developing Expert Advisors for MetaTrader (MT4/MT5).

  2. Strong understanding of forex trading strategies and technical indicators.

  3. Proficiency in MQL4/MQL5 programming languages.

  4. Ability to meet deadlines and provide support for initial setup and testing.




Файлы:

Откликнулись

1
Разработчик 1
Оценка
(20)
Проекты
32
9%
Арбитраж
0
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(371)
Проекты
462
56%
Арбитраж
24
58% / 17%
Просрочено
32
7%
Работает
3
Разработчик 3
Оценка
(2)
Проекты
5
0%
Арбитраж
3
0% / 100%
Просрочено
1
20%
Работает
4
Разработчик 4
Оценка
(329)
Проекты
515
19%
Арбитраж
35
46% / 31%
Просрочено
34
7%
Работает
5
Разработчик 5
Оценка
(62)
Проекты
90
29%
Арбитраж
24
13% / 58%
Просрочено
7
8%
Работает
6
Разработчик 6
Оценка
(11)
Проекты
11
0%
Арбитраж
5
20% / 60%
Просрочено
2
18%
Свободен
7
Разработчик 7
Оценка
Проекты
1
0%
Арбитраж
0
Просрочено
0
Свободен
8
Разработчик 8
Оценка
(2)
Проекты
2
0%
Арбитраж
0
Просрочено
0
Свободен
9
Разработчик 9
Оценка
Проекты
1
0%
Арбитраж
4
0% / 50%
Просрочено
0
Работает
10
Разработчик 10
Оценка
(45)
Проекты
91
13%
Арбитраж
34
26% / 59%
Просрочено
37
41%
Свободен
11
Разработчик 11
Оценка
(12)
Проекты
9
33%
Арбитраж
11
0% / 100%
Просрочено
2
22%
Свободен
12
Разработчик 12
Оценка
(78)
Проекты
248
74%
Арбитраж
7
100% / 0%
Просрочено
1
0%
Свободен
Опубликовал: 2 статьи, 1 пример
13
Разработчик 13
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
14
Разработчик 14
Оценка
(515)
Проекты
554
53%
Арбитраж
13
69% / 15%
Просрочено
3
1%
Свободен
15
Разработчик 15
Оценка
(72)
Проекты
80
10%
Арбитраж
38
8% / 58%
Просрочено
6
8%
Свободен
Похожие заказы
Andrew 50 - 200 USD
Hello, I am from Tanzania. I am looking for a professional MQL5 programmer from Tanzania who can help me develop and improve my automated MT5 trading robot. The project is called SMC XAVAGE AI, and it trades XAUUSD (Gold). I would like to discuss the project with you. Are you based in Tanzania? Would it be possible to arrange a meeting or a call? Thank you
Metafix 50 - 200 USD
Here is a professional specification you can send directly to your developer. # Project Requirements Specification: MetaTrader 5 Trading Robot Development ### 1. Project Overview I want to develop an automated Forex trading robot (Expert Advisor) for MetaTrader 5 (MT5). The robot should analyse the financial markets, identify trading opportunities, and execute trades automatically based on predefined strategies. ###
1. Platform: MT4 The EA required is not linked, neither depending on trading strategy nor trading signals nor indicators. 2. Initial order is a pending order (buy stop/ sell stop) and it is created manually. It is open for a specified symbol (pair) at a specified price with a specified S/L 3. Example: buy stop 0.1 lot GBPUSD @ 1.3085 WITH S/L @1.3075 Once target price is reached, pending order will
Overview: Build an MT5 Expert Advisor that receives webhook alerts from TradingView (RayAlgo indicator) across three timeframes ( H1, M5, M1 ) for XAUUSD and executes a dual-position strategy when all three conditions align, including strict FTMO server-request limits and automated pre-market-close trade closures. 1. Webhook Receiver & Multi-Timeframe State Logic: H1 Bias State: Updates to BULLISH or BEARISH upon
I am looking for an experienced trading software developer interested in building a long-term working relationship. Im a professional Trader, Coach and Mentor, I work with traders and Student who require customized trading solutions, including automated trading bots, Expert Advisors, custom indicators, trading strategies and other algorithmic trading tools. I am looking for a technically skilled developer who can
Salman serhal 30 - 100 USD
MT5 ICT XAUUSD Sell-Only Trading Robot with Fibonacci Confirmation I am looking for an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5, specifically for trading Gold (XAUUSD). 1. Trading Strategy The robot must use the ICT trading methodology and focus on SELL trades only. The strategy should include: * Identify important resistance and premium zones. * Use Fibonacci retracement
Objective: I am looking for an experienced MQL5 quantitative developer to code an Expert Advisor (EA) from scratch based on a fully defined, rule-based strategy, and then rigorously validate, optimize, and stress-test it before I deploy it on a live VPS environment. Note: The exact mathematical rules, indicator names, and chart screenshots will be shared privately with shortlisted candidates. Strategy Overview
Hi Team We are looking to commission an Expert Advisor (EA) for MetaTrader 5 (MT5) to trade XAUUSD (Gold) . The EA requires tight risk management with a strict $2.00 Stop Loss and a $3.00 to $5.00 Take Profit target. The goal is to achieve a 60%+ Win Rate . Please propose or implement a strategy algorithm capable of meeting the following performance requirements on XAUUSD tick data: Target Performance: $\ge 60\%$ Win
O Trading Ventures 30 - 2000 USD
a trading bot that can open and close trade by its self a stop loss of 1.2 lot size and good tp it should be able to learn trends and learn from its mistakes
JOB SPECIFICATION: Fully Automated ES/MES 5-Minute NY Opening Range Breakout EA 1. Project objective I am looking for an experienced trading algo developer to build a fully automated trading bot (EA) based on my specific 5-minute New York Opening Range Breakout strategy. The EA must identify setups, confirm breakouts, identify retests, confirm continuation, execute trades, calculate position size, place stop-loss and

Информация о проекте

Бюджет
30 - 150 USD