NEED EA for hedging trades

MQL5 Эксперты

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

Время выполнения 1 день
Отзыв от заказчика
really great developer
Отзыв от исполнителя
Prompt, Good communication clear on specifics

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

https://www.notion.so/Hedging-Trades-1d6b97def6bd8093a063c4197e7beb7e?pvs=4 


Parameters

  1. Spot Gold Symbol

  2. Spot Future Symbol

  3. Initial Lot Size

  4. Hedge Distance

  5. Lot Sequence

  6. TP for Initial Trade

  7. TP Sequence For Hedge

    TP = Difference of all buy qty and all sell qty * pips

    Include Spread/swap/commission in all transactions

  8. Trigger pairs

    1. Trigger position count
  9. Trade Closure

    1. Last trade Position Count
      1. Add Futures as last trade
        1. Future TP
      2. Close last trade
  10. Parallel trades

    1. Max parallel trades

Initial Lot - 0.02; Hedge distance: 2

  1. Open Buy
    1. Set TP for Buy (TP for Initial Trade)
    2. If the price moves down to the hedge distance, trigger the Hedge trade with the first qty in lot sequence.
Price Buy Sell
100 0.02
  1. Price moves down
    1. Remove the TP for Buy; check for TP for the combined trade
    2. If the price comes to 100, close the initial buy at 0 loss/profit and trigger a buy with the next qty in the lot sequence.
Price Buy Sell
100 0.02
98 0.04
  1. Price comes back to 100
    1. Check for TP for the combined trade
    2. If the price moves back to 98, check if more hedge is to be triggered or pair trades to be triggered. If pair trades
Price Buy Sell
100 0.02 0.08
98 0.04
  1. The price comes to 98
    1. Close the inital sell and open pair trades
      1. New Sell = 2 * Inital Buy; ( 2*0.08=0.16)
      2. Buy = New Sell - (Inital Buy /2); ( 0.16 - 0.08/2)=0.12
Price Buy Sell
100 0.02 0.08
98 0.12 0.04 0.16

Case 1: Now check for the TP of all three trades based on the TP sequence. When the price goes above 100

Case 2: Close the 0.08 Buy and 0.16 Sell at 0 profit/loss when the price goes below 98 and trigger another pair trade if the trade count is not equal to the last trade position count.

Price Buy Sell
100 0.02 0.08
98 0.12 0.04 0.16
96 0.18 0.24

Case 1: Now check for the TP of all three trades based on the TP sequence. When the price goes above 98

Case 2: Close the 0.12 Buy and 0.24 Sell at 0 profit/loss when the price goes below 96 and trigger another pair trade if the trade count is not equal to the last trade position count.

Keep looping this until the last trade position is hit

If last trade position count is hit

  1. If Add Futures as last trade is ON

    Example here, close the buy and sell pairs and the last buy will be active, and to the same qty of the buy trigger, a gold futures at the same instance when closing the pairs.

    Price Buy Sell
    100 0.02 0.08
    98 0.12 0.04 0.16
    96 0.18 0.24
    94

After closing 0.12 and 0.24 we have 0.18 Buy will open 0.18 Futures sell.

Now check the Sum of Spot buy and futures sell = Futures TP is so close it or wait till that.

  1. If Close last trade is ON

    1. At 94 close 0.12 Buy; 0.24 sell and 0.18 Buy
    Price Buy Sell
    100 0.02 0.08
    98 0.12 0.04 0.16
    96 0.18 0.24
    94

Parallel trades

If Add Futures as last trade is ON

and it gets hedged with a futures

Restart a new cycle.

Based on the max cycles, we can keep adding new cycles.


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

1
Разработчик 1
Оценка
(395)
Проекты
556
41%
Арбитраж
30
57% / 3%
Просрочено
57
10%
Свободен
Опубликовал: 11 примеров
2
Разработчик 2
Оценка
(22)
Проекты
21
10%
Арбитраж
4
25% / 75%
Просрочено
0
Свободен
3
Разработчик 3
Оценка
(329)
Проекты
515
19%
Арбитраж
35
46% / 31%
Просрочено
34
7%
Работает
4
Разработчик 4
Оценка
(33)
Проекты
35
20%
Арбитраж
5
40% / 40%
Просрочено
0
Свободен
Опубликовал: 1 пример
5
Разработчик 5
Оценка
(75)
Проекты
111
50%
Арбитраж
26
31% / 50%
Просрочено
9
8%
Свободен
Опубликовал: 1 статью
6
Разработчик 6
Оценка
(22)
Проекты
25
24%
Арбитраж
5
20% / 80%
Просрочено
1
4%
Свободен
Опубликовал: 6 примеров
7
Разработчик 7
Оценка
(85)
Проекты
174
44%
Арбитраж
3
100% / 0%
Просрочено
5
3%
Свободен
Опубликовал: 1 пример
8
Разработчик 8
Оценка
Проекты
0
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
9
Разработчик 9
Оценка
(45)
Проекты
91
13%
Арбитраж
34
26% / 59%
Просрочено
37
41%
Свободен
10
Разработчик 10
Оценка
Проекты
0
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
11
Разработчик 11
Оценка
(7)
Проекты
6
33%
Арбитраж
7
0% / 71%
Просрочено
0
Свободен
Похожие заказы
I need this MT5 EA to work according to the following exact logic: SYMBOL: Primarily optimized for XAUUSD/Gold. All important values such as lot size, SL, TP, spread and MA periods must remain adjustable from Inputs
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
I need a simple MT5 Expert Advisor (MQL5) programmed exactly according to the following rules. The EA is a continuous candle-direction reversal strategy. Candle signal: Close > Open = BUY signal Close < Open = SELL signal Close = Open = no change Trading logic: After each candle has fully closed, use that completed candle to determine the required trade direction. The signal is acted upon at the opening of the
Looking to acquire an existing, proven EA. Not looking for new strategy development. REQUIREMENTS — non-negotiable: Minimum 12 months verified LIVE history (Myfxbook or MQL5 Signals, real money — not demo, not backtest) Hard stop loss on EVERY trade, set at order placement NO martingale, NO grid, NO averaging into losers, NO lot multiplication after a loss Max historical drawdown under 30% Minimum 5 trades per
I want to develop a fully automated MetaTrader 5 trading bot focused primarily on EUR/USD, inspired by the functionality of modern algorithmic trading systems. The bot should run 24/6 on a dedicated VPS and analyze the market continuously, refreshing approximately every second rather than waiting for candle closes. Key features: • Real-time volume and tick-level market analysis • Order-flow and liquidity analysis •
Hello, I trade on HFM MT5. Need SCALPING EA for scalping, budget $30. SYMBOLS: XAUUSD (GOLD), US30, NAS100, GER40, EURUSD TIMEFRAME: M1 and M5 PLATFORM: MT5, must work on HFM VPS STRATEGY: - EMA 9 crosses EMA 21 - RSI 14: BUY only if RSI >45, SELL only if RSI <55 - Bollinger Bands: Only trade when price returns inside BB after breakout - 1 trade at a time per symbol - SL: 150 points Gold / 100 points indices (must be
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
I need an MT5 Expert Advisor for XAUUSD (Gold) running on an Exness account. STRATEGY LOGIC The exact entry and exit rules will be provided in writing before development starts. Please quote for a single rule-based strategy with clearly separated logic, so the rules can be adjusted later without rewriting the whole EA. RISK MANAGEMENT (this is the priority of the project) - Risk per trade as a percentage of account
Hi, I am looking for a marketer or affiliate to promote my Expert Advisor (EA). Offer Details: Partnership Model: Revenue Sharing / Performance-Based Commission. Duration: 6 Months of continuous profit-sharing from all generated sales/subscriptions. Profit Ratio: Flexible and open for negotiation depending on your marketing reach and experience (Details will be discussed via Private Message / DM). If you have a solid
Straddle bot v1.1.38 30 - 100 USD
any one can make straddle bot v1.1.38 its original made by yoforex.com Manual gold trading on the M15 chart demands constant attention. Price can break sharply in either direction or chop for hours. Many traders miss the move, enter late, or over-react when volatility spikes. Straddle EA V1.1.38 MT5 is built to handle that specific problem on XAUUSD by placing a multi-level pending-order grid on both sides of price

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

Бюджет
40+ USD