Need to add hedging and recovery feature to an old EA

Specification

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. 

    Responded

    1
    Developer 1
    Rating
    (22)
    Projects
    29
    3%
    Arbitration
    4
    25% / 0%
    Overdue
    3
    10%
    Working
    2
    Developer 2
    Rating
    (51)
    Projects
    71
    37%
    Arbitration
    4
    25% / 75%
    Overdue
    1
    1%
    Free
    Published: 1 code
    3
    Developer 3
    Rating
    (111)
    Projects
    183
    25%
    Arbitration
    24
    17% / 75%
    Overdue
    16
    9%
    Working
    4
    Developer 4
    Rating
    (22)
    Projects
    28
    7%
    Arbitration
    9
    33% / 33%
    Overdue
    1
    4%
    Working
    5
    Developer 5
    Rating
    (75)
    Projects
    80
    6%
    Arbitration
    46
    11% / 54%
    Overdue
    7
    9%
    Working
    6
    Developer 6
    Rating
    (13)
    Projects
    20
    40%
    Arbitration
    3
    0% / 67%
    Overdue
    3
    15%
    Free
    7
    Developer 7
    Rating
    (20)
    Projects
    23
    39%
    Arbitration
    4
    25% / 50%
    Overdue
    1
    4%
    Free
    Published: 5 codes
    8
    Developer 8
    Rating
    (3)
    Projects
    3
    0%
    Arbitration
    1
    0% / 100%
    Overdue
    0
    Free
    9
    Developer 9
    Rating
    Projects
    0
    0%
    Arbitration
    0
    Overdue
    0
    Free
    10
    Developer 10
    Rating
    Projects
    0
    0%
    Arbitration
    0
    Overdue
    0
    Free
    11
    Developer 11
    Rating
    (1)
    Projects
    1
    0%
    Arbitration
    1
    0% / 0%
    Overdue
    0
    Working
    12
    Developer 12
    Rating
    (4)
    Projects
    4
    0%
    Arbitration
    1
    0% / 100%
    Overdue
    0
    Free
    13
    Developer 13
    Rating
    (3)
    Projects
    1
    100%
    Arbitration
    3
    0% / 100%
    Overdue
    0
    Free
    14
    Developer 14
    Rating
    (319)
    Projects
    568
    35%
    Arbitration
    83
    30% / 45%
    Overdue
    206
    36%
    Loaded
    15
    Developer 15
    Rating
    (636)
    Projects
    1007
    47%
    Arbitration
    33
    36% / 36%
    Overdue
    99
    10%
    Working
    Published: 6 codes
    16
    Developer 16
    Rating
    (71)
    Projects
    103
    20%
    Arbitration
    6
    0% / 83%
    Overdue
    3
    3%
    Free
    17
    Developer 17
    Rating
    (45)
    Projects
    53
    57%
    Arbitration
    2
    100% / 0%
    Overdue
    1
    2%
    Free
    Published: 5 codes
    18
    Developer 18
    Rating
    Projects
    0
    0%
    Arbitration
    0
    Overdue
    0
    Free
    19
    Developer 19
    Rating
    (1)
    Projects
    1
    100%
    Arbitration
    0
    Overdue
    0
    Free
    20
    Developer 20
    Rating
    (24)
    Projects
    32
    38%
    Arbitration
    4
    50% / 25%
    Overdue
    5
    16%
    Working
    21
    Developer 21
    Rating
    (9)
    Projects
    16
    19%
    Arbitration
    2
    0% / 50%
    Overdue
    3
    19%
    Loaded
    22
    Developer 22
    Rating
    (31)
    Projects
    38
    53%
    Arbitration
    2
    50% / 50%
    Overdue
    3
    8%
    Free
    23
    Developer 23
    Rating
    (6)
    Projects
    4
    0%
    Arbitration
    5
    0% / 100%
    Overdue
    0
    Free
    24
    Developer 24
    Rating
    (10)
    Projects
    14
    43%
    Arbitration
    0
    Overdue
    3
    21%
    Free
    25
    Developer 25
    Rating
    (271)
    Projects
    553
    50%
    Arbitration
    57
    40% / 37%
    Overdue
    227
    41%
    Working
    26
    Developer 26
    Rating
    (8)
    Projects
    8
    0%
    Arbitration
    2
    50% / 0%
    Overdue
    1
    13%
    Working
    27
    Developer 27
    Rating
    Projects
    0
    0%
    Arbitration
    0
    Overdue
    0
    Free
    28
    Developer 28
    Rating
    Projects
    0
    0%
    Arbitration
    0
    Overdue
    0
    Free
    29
    Developer 29
    Rating
    (33)
    Projects
    36
    33%
    Arbitration
    5
    0% / 80%
    Overdue
    0
    Working
    Published: 2 codes
    30
    Developer 30
    Rating
    (73)
    Projects
    257
    53%
    Arbitration
    16
    50% / 38%
    Overdue
    83
    32%
    Free
    31
    Developer 31
    Rating
    (2)
    Projects
    2
    0%
    Arbitration
    3
    0% / 100%
    Overdue
    1
    50%
    Free
    32
    Developer 32
    Rating
    Projects
    0
    0%
    Arbitration
    0
    Overdue
    0
    Free
    33
    Developer 33
    Rating
    Projects
    0
    0%
    Arbitration
    0
    Overdue
    0
    Free
    Similar orders
    Hi, I want to develop a highly accurate, custom technical indicator for MetaTrader 5 (MT5) specifically tailored for 1-minute Binary Options trading (Quotex). I do NOT need an automated trading bot. I only need visual buy/sell arrows on the chart, an advanced alert system, and an on-chart performance statistics dashboard. The indicator must be 100% non-repainting. --- 1. STRATEGY CONFLUENCE LOGIC The indicator should
    Create a bot that can trade and read indicators easy to read for first time users. Bot that can be used on a phone and connect to MT5. It should be easy to install or use on any device especially phone and laptop, preferably the bot that can run over night and controllable when needed
    C'est un Expert Advisor (EA) MQL5 pour MetaTrader 5, conçu pour l' XAUUSD , combinant un filtre de tendance et une grille adaptative avec gestion de panier ("basket") et protections contre le drawdown. Version 1.00. Logique de trading Filtre de tendance (H4 par défaut) • EMA rapide (50) vs EMA lente (200) pour déterminer la direction (UP/DOWN) • Filtre ADX (période 14, seuil 18) pour éviter de trader en
    My EA is semi Auto EA..with Master and slave concept Using Heiken Ashi +Heiken Smooth and Moving Average What to do?1. Remove some previous feature 2.Change some rules of 4 slave to pending Order 3. Check the coding is clean. 4. create panel dialog box
    These are orderflow footprint indicator I would like to know if you can algorithmisie and build a stacked imbalance bot from them .. Kindlt let me know if you can do it and check the file before replying me
    I have 2 trading view indicators by GainzAlgo that I want code to mt5 , could u advise? I need you to give me response if you can convert This
    I currently sell a white-label XAUUSD EA, but the existing supplier owns the source code. I now need a new, independently developed EA and licensing system that my company fully owns and controls. I am not requesting decompilation or copying of proprietary code. Existing settings, presets and trading examples will be provided as reference. The developer must first identify any missing strategy rules before
    I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
    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
    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

    Project information

    Budget
    35+ USD