Need to add hedging and recovery feature to an old EA

Specifiche

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. 

    Con risposta

    1
    Sviluppatore 1
    Valutazioni
    (22)
    Progetti
    29
    3%
    Arbitraggio
    4
    25% / 0%
    In ritardo
    3
    10%
    In elaborazione
    2
    Sviluppatore 2
    Valutazioni
    (51)
    Progetti
    70
    36%
    Arbitraggio
    4
    25% / 75%
    In ritardo
    1
    1%
    Gratuito
    Pubblicati: 1 codice
    3
    Sviluppatore 3
    Valutazioni
    (107)
    Progetti
    175
    25%
    Arbitraggio
    23
    13% / 78%
    In ritardo
    16
    9%
    Gratuito
    4
    Sviluppatore 4
    Valutazioni
    (19)
    Progetti
    24
    8%
    Arbitraggio
    9
    33% / 33%
    In ritardo
    1
    4%
    Caricato
    5
    Sviluppatore 5
    Valutazioni
    (75)
    Progetti
    80
    6%
    Arbitraggio
    46
    11% / 54%
    In ritardo
    7
    9%
    In elaborazione
    6
    Sviluppatore 6
    Valutazioni
    (13)
    Progetti
    20
    40%
    Arbitraggio
    3
    0% / 67%
    In ritardo
    3
    15%
    Gratuito
    7
    Sviluppatore 7
    Valutazioni
    (20)
    Progetti
    23
    39%
    Arbitraggio
    4
    25% / 50%
    In ritardo
    1
    4%
    Gratuito
    Pubblicati: 4 codici
    8
    Sviluppatore 8
    Valutazioni
    (3)
    Progetti
    3
    0%
    Arbitraggio
    1
    0% / 100%
    In ritardo
    0
    Gratuito
    9
    Sviluppatore 9
    Valutazioni
    Progetti
    0
    0%
    Arbitraggio
    0
    In ritardo
    0
    Gratuito
    10
    Sviluppatore 10
    Valutazioni
    Progetti
    0
    0%
    Arbitraggio
    0
    In ritardo
    0
    Gratuito
    11
    Sviluppatore 11
    Valutazioni
    (1)
    Progetti
    1
    0%
    Arbitraggio
    1
    0% / 0%
    In ritardo
    0
    In elaborazione
    12
    Sviluppatore 12
    Valutazioni
    (4)
    Progetti
    4
    0%
    Arbitraggio
    1
    0% / 100%
    In ritardo
    0
    Gratuito
    13
    Sviluppatore 13
    Valutazioni
    (3)
    Progetti
    1
    100%
    Arbitraggio
    3
    0% / 100%
    In ritardo
    0
    Gratuito
    14
    Sviluppatore 14
    Valutazioni
    (314)
    Progetti
    561
    35%
    Arbitraggio
    81
    31% / 44%
    In ritardo
    204
    36%
    In elaborazione
    15
    Sviluppatore 15
    Valutazioni
    (633)
    Progetti
    1001
    47%
    Arbitraggio
    33
    36% / 36%
    In ritardo
    98
    10%
    In elaborazione
    Pubblicati: 6 codici
    16
    Sviluppatore 16
    Valutazioni
    (71)
    Progetti
    103
    20%
    Arbitraggio
    6
    0% / 83%
    In ritardo
    3
    3%
    Gratuito
    17
    Sviluppatore 17
    Valutazioni
    (40)
    Progetti
    43
    58%
    Arbitraggio
    2
    50% / 0%
    In ritardo
    1
    2%
    In elaborazione
    Pubblicati: 5 codici
    18
    Sviluppatore 18
    Valutazioni
    Progetti
    0
    0%
    Arbitraggio
    0
    In ritardo
    0
    Gratuito
    19
    Sviluppatore 19
    Valutazioni
    (1)
    Progetti
    1
    100%
    Arbitraggio
    0
    In ritardo
    0
    Gratuito
    20
    Sviluppatore 20
    Valutazioni
    (18)
    Progetti
    25
    24%
    Arbitraggio
    4
    50% / 25%
    In ritardo
    4
    16%
    Caricato
    21
    Sviluppatore 21
    Valutazioni
    (5)
    Progetti
    10
    10%
    Arbitraggio
    2
    0% / 50%
    In ritardo
    2
    20%
    In elaborazione
    22
    Sviluppatore 22
    Valutazioni
    (30)
    Progetti
    37
    54%
    Arbitraggio
    2
    50% / 50%
    In ritardo
    3
    8%
    Gratuito
    23
    Sviluppatore 23
    Valutazioni
    (6)
    Progetti
    4
    0%
    Arbitraggio
    5
    0% / 100%
    In ritardo
    0
    Gratuito
    24
    Sviluppatore 24
    Valutazioni
    (10)
    Progetti
    14
    43%
    Arbitraggio
    0
    In ritardo
    3
    21%
    Gratuito
    25
    Sviluppatore 25
    Valutazioni
    (271)
    Progetti
    553
    50%
    Arbitraggio
    57
    40% / 37%
    In ritardo
    227
    41%
    In elaborazione
    26
    Sviluppatore 26
    Valutazioni
    (8)
    Progetti
    8
    0%
    Arbitraggio
    2
    50% / 0%
    In ritardo
    1
    13%
    In elaborazione
    27
    Sviluppatore 27
    Valutazioni
    Progetti
    0
    0%
    Arbitraggio
    0
    In ritardo
    0
    Gratuito
    28
    Sviluppatore 28
    Valutazioni
    Progetti
    0
    0%
    Arbitraggio
    0
    In ritardo
    0
    Gratuito
    29
    Sviluppatore 29
    Valutazioni
    (33)
    Progetti
    36
    33%
    Arbitraggio
    5
    0% / 80%
    In ritardo
    0
    In elaborazione
    Pubblicati: 2 codici
    30
    Sviluppatore 30
    Valutazioni
    (73)
    Progetti
    257
    53%
    Arbitraggio
    16
    50% / 38%
    In ritardo
    83
    32%
    Gratuito
    31
    Sviluppatore 31
    Valutazioni
    (2)
    Progetti
    2
    0%
    Arbitraggio
    3
    0% / 100%
    In ritardo
    1
    50%
    Gratuito
    32
    Sviluppatore 32
    Valutazioni
    Progetti
    0
    0%
    Arbitraggio
    0
    In ritardo
    0
    Gratuito
    33
    Sviluppatore 33
    Valutazioni
    Progetti
    0
    0%
    Arbitraggio
    0
    In ritardo
    0
    Gratuito
    Ordini simili
    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
    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
    Dear All i am working on strategy in forex market specifically in xausud and i just want someone to make it automatic execution mode as per my requirements with propee risk management my broker is exness and i have an account in MT5
    I am looking for an experienced MT5/MQL5 programmer to build Phase 1 of a larger Expert Advisor project. This first phase is limited to one custom signal only for the EUR/USD. If Phase 1 is completed correctly, additional signals may be added later as separate follow-up projects. The purpose of Phase 1 is to code, test, display, and log this signal accurately using completed M1 bars only. At this stage, I primarily
    ✅ 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
    Hi to all, I need a modification of an existing grid EA with the following instructions: Add the following optional external inputs to the attached Expert Advisor: input bool TradeModeAgainstTrend ( TMAT ) = true ; input int CounterTrendLotsToStartTMAT = 0.15 ; input double CoefficientForTrendLots = 0.30 ; input double MaxTrendLot = 0.08 ; input bool OneSideTMATOnly = true ; input double CombinedClosureAmount = 10.0
    Hello, i need expert developer that have been develop so many profitable AI bots that work for mt5 and ctrader autonomously if you know you can easily execute this requirement bid for it. NOTE:- YOU MUST COME WITH SAMPLE FOR THE 2 TRADING PLATFORM. While i take a look at your profile and reach out to you thanks
    Gold robot 3000+ USD
    I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
    Gold robot 3000+ USD
    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

    Informazioni sul progetto

    Budget
    35+ USD