Need to add hedging and recovery feature to an old EA

Termos de Referência

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.

    1. Original basket direction

    2. Hedge basket direction (opposite)

Inputs to be added, 

Enable Hedge true /false.

  • BasketCloseMode (enum)

    • A: Close all when basket P&L >= 0 (break-even)

    • B: Close all when basket P&L >= BasketProfitTargetUSD

    • C: If any trade hits TP → close all trades immediately

  • BasketProfitTargetUSD (only for mode B)

  • When original basket virtual SL is hit:

    • Do NOT close any existing trades.

    • If no hedge basket is active yet:

      • Open Hedge T1 immediately in the opposite direction.

      • Hedge T1 lot = same as original T1 lot.

      • Hedge TP = same TP distance (pips) used by the EA.

      • Hedge SL = 0 (no real SL).

      • Hedge basket is now “active”.

    EA coded in a way that if opens the top up trades and if the price reverses all will be closed in Break Even. If the hedge trade opens Top up trade and the price reverse the hedge cycle will close in BE and the initial trade ( original trade ) will close with a small loss. 

    Pls confirm all points before committing and only need developers having the similar knowledge. 

    Respondido

    1
    Desenvolvedor 1
    Classificação
    (22)
    Projetos
    29
    3%
    Arbitragem
    4
    25% / 0%
    Expirado
    3
    10%
    Trabalhando
    2
    Desenvolvedor 2
    Classificação
    (51)
    Projetos
    70
    36%
    Arbitragem
    4
    25% / 75%
    Expirado
    1
    1%
    Livre
    Publicou: 1 código
    3
    Desenvolvedor 3
    Classificação
    (107)
    Projetos
    175
    25%
    Arbitragem
    23
    13% / 78%
    Expirado
    16
    9%
    Livre
    4
    Desenvolvedor 4
    Classificação
    (19)
    Projetos
    24
    8%
    Arbitragem
    9
    33% / 33%
    Expirado
    1
    4%
    Carregado
    5
    Desenvolvedor 5
    Classificação
    (75)
    Projetos
    80
    6%
    Arbitragem
    46
    11% / 54%
    Expirado
    7
    9%
    Trabalhando
    6
    Desenvolvedor 6
    Classificação
    (13)
    Projetos
    20
    40%
    Arbitragem
    3
    0% / 67%
    Expirado
    3
    15%
    Livre
    7
    Desenvolvedor 7
    Classificação
    (20)
    Projetos
    23
    39%
    Arbitragem
    4
    25% / 50%
    Expirado
    1
    4%
    Livre
    Publicou: 4 códigos
    8
    Desenvolvedor 8
    Classificação
    (3)
    Projetos
    3
    0%
    Arbitragem
    1
    0% / 100%
    Expirado
    0
    Livre
    9
    Desenvolvedor 9
    Classificação
    Projetos
    0
    0%
    Arbitragem
    0
    Expirado
    0
    Livre
    10
    Desenvolvedor 10
    Classificação
    Projetos
    0
    0%
    Arbitragem
    0
    Expirado
    0
    Livre
    11
    Desenvolvedor 11
    Classificação
    (1)
    Projetos
    1
    0%
    Arbitragem
    1
    0% / 0%
    Expirado
    0
    Trabalhando
    12
    Desenvolvedor 12
    Classificação
    (4)
    Projetos
    4
    0%
    Arbitragem
    1
    0% / 100%
    Expirado
    0
    Livre
    13
    Desenvolvedor 13
    Classificação
    (3)
    Projetos
    1
    100%
    Arbitragem
    3
    0% / 100%
    Expirado
    0
    Livre
    14
    Desenvolvedor 14
    Classificação
    (314)
    Projetos
    561
    35%
    Arbitragem
    81
    31% / 44%
    Expirado
    204
    36%
    Trabalhando
    15
    Desenvolvedor 15
    Classificação
    (633)
    Projetos
    1001
    47%
    Arbitragem
    33
    36% / 36%
    Expirado
    98
    10%
    Trabalhando
    Publicou: 6 códigos
    16
    Desenvolvedor 16
    Classificação
    (71)
    Projetos
    103
    20%
    Arbitragem
    6
    0% / 83%
    Expirado
    3
    3%
    Livre
    17
    Desenvolvedor 17
    Classificação
    (40)
    Projetos
    43
    58%
    Arbitragem
    2
    50% / 0%
    Expirado
    1
    2%
    Trabalhando
    Publicou: 5 códigos
    18
    Desenvolvedor 18
    Classificação
    Projetos
    0
    0%
    Arbitragem
    0
    Expirado
    0
    Livre
    19
    Desenvolvedor 19
    Classificação
    (1)
    Projetos
    1
    100%
    Arbitragem
    0
    Expirado
    0
    Livre
    20
    Desenvolvedor 20
    Classificação
    (18)
    Projetos
    25
    24%
    Arbitragem
    4
    50% / 25%
    Expirado
    4
    16%
    Carregado
    21
    Desenvolvedor 21
    Classificação
    (5)
    Projetos
    10
    10%
    Arbitragem
    2
    0% / 50%
    Expirado
    2
    20%
    Trabalhando
    22
    Desenvolvedor 22
    Classificação
    (30)
    Projetos
    37
    54%
    Arbitragem
    2
    50% / 50%
    Expirado
    3
    8%
    Livre
    23
    Desenvolvedor 23
    Classificação
    (6)
    Projetos
    4
    0%
    Arbitragem
    5
    0% / 100%
    Expirado
    0
    Livre
    24
    Desenvolvedor 24
    Classificação
    (10)
    Projetos
    14
    43%
    Arbitragem
    0
    Expirado
    3
    21%
    Livre
    25
    Desenvolvedor 25
    Classificação
    (271)
    Projetos
    553
    50%
    Arbitragem
    57
    40% / 37%
    Expirado
    227
    41%
    Trabalhando
    26
    Desenvolvedor 26
    Classificação
    (8)
    Projetos
    8
    0%
    Arbitragem
    2
    50% / 0%
    Expirado
    1
    13%
    Trabalhando
    27
    Desenvolvedor 27
    Classificação
    Projetos
    0
    0%
    Arbitragem
    0
    Expirado
    0
    Livre
    28
    Desenvolvedor 28
    Classificação
    Projetos
    0
    0%
    Arbitragem
    0
    Expirado
    0
    Livre
    29
    Desenvolvedor 29
    Classificação
    (33)
    Projetos
    36
    33%
    Arbitragem
    5
    0% / 80%
    Expirado
    0
    Trabalhando
    Publicou: 2 códigos
    30
    Desenvolvedor 30
    Classificação
    (73)
    Projetos
    257
    53%
    Arbitragem
    16
    50% / 38%
    Expirado
    83
    32%
    Livre
    31
    Desenvolvedor 31
    Classificação
    (2)
    Projetos
    2
    0%
    Arbitragem
    3
    0% / 100%
    Expirado
    1
    50%
    Livre
    32
    Desenvolvedor 32
    Classificação
    Projetos
    0
    0%
    Arbitragem
    0
    Expirado
    0
    Livre
    33
    Desenvolvedor 33
    Classificação
    Projetos
    0
    0%
    Arbitragem
    0
    Expirado
    0
    Livre
    Pedidos semelhantes
    I have a EA for XAUUSD which works awesome in sideways and trending market as well, capital requirement is only 2000USd and weekly profit is around 1500-2000 USD. I am using this bot from 3 months and getting continuous good result
    I’m looking for an experienced MT4 developer to create a custom indicator (or EA) with mobile push notifications based on the following strategy. Trend Filter (Daily Timeframe) Daily Close above 50 EMA = Bullish Bias Daily Close below 50 EMA = Bearish Bias Entry Timeframe (H1) RSI Settings RSI Period: 14 (default) Upper Level: 65 Lower Level: 35 Buy Signal Generate a BUY signal when: Daily bias is Bullish (Daily
    Expert should be able to place trades across all Forex symbols (solution is advised) . xauusd live chart execution error . Deletion and Cleaning the Code (if required) . Live Chart Only
    ✅ MT4 EA Developer Checklist (For Your Ladder EA) 1️⃣ Indicator Integration EA reads signals from provided custom indicator (.ex4 or .mq4) Detects “Buy Next” / “Sell Next” signals on current candle Works with arrow-based or buffer-based signals 2️⃣ Next Candle Execution EA does not trade on the candle where the signal appears Orders placed only at first tick of the next candle Timeframes supported: M1, M5, M15
    Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
    I am looking for an experienced MT4/MT5 developer to analyze my trading history and replicate the strategy in a new Expert Advisor (EA). The developer must have proven experience in reverse engineering strategies, analyzing trading data, and developing EAs across various trading methodologies. A deep understanding of XAUUDS and BTCUSD behavior, as well as chart analysis, is essential. Please note that we do not have
    Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade
    Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
    MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit
    I have a MT5 Hull MTF Indicator that I like. I would like someone to add: 1) Time of day function (with start time and end time) so that it does not send messages during my night time. Default Start=0900 Default End=2300 2) Add to the Message (sound and email): so that it is Symbol+Buy-Or-Sell+Ask-OrBid Price+TimeFrame1 "/" TimeFrame2 I will send the indicator to the developer. Thank you

    Informações sobre o projeto

    Orçamento
    35+ USD