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%
    Gratuito
    2
    Sviluppatore 2
    Valutazioni
    (51)
    Progetti
    71
    37%
    Arbitraggio
    4
    25% / 75%
    In ritardo
    1
    1%
    Gratuito
    Pubblicati: 1 codice
    3
    Sviluppatore 3
    Valutazioni
    (111)
    Progetti
    184
    25%
    Arbitraggio
    25
    16% / 76%
    In ritardo
    16
    9%
    Gratuito
    4
    Sviluppatore 4
    Valutazioni
    (22)
    Progetti
    28
    7%
    Arbitraggio
    9
    33% / 33%
    In ritardo
    1
    4%
    In elaborazione
    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: 6 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
    (319)
    Progetti
    574
    35%
    Arbitraggio
    83
    31% / 45%
    In ritardo
    207
    36%
    Gratuito
    15
    Sviluppatore 15
    Valutazioni
    (636)
    Progetti
    1008
    47%
    Arbitraggio
    33
    36% / 36%
    In ritardo
    99
    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
    (45)
    Progetti
    53
    57%
    Arbitraggio
    2
    100% / 0%
    In ritardo
    1
    2%
    Gratuito
    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
    (24)
    Progetti
    32
    38%
    Arbitraggio
    4
    50% / 25%
    In ritardo
    5
    16%
    In elaborazione
    21
    Sviluppatore 21
    Valutazioni
    (10)
    Progetti
    17
    18%
    Arbitraggio
    2
    0% / 50%
    In ritardo
    3
    18%
    Caricato
    22
    Sviluppatore 22
    Valutazioni
    (31)
    Progetti
    38
    53%
    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 am looking for a highly skilled trading strategist and MQL5 developer with genuine experience in researching, designing, testing, and implementing systematic trading strategies. My primary interest is XAUUSD (Gold), although proven experience with other financial markets is also welcome. I am not looking for someone who simply converts trading rules into code. I want to identify a professional who understands
    MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
    The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
    Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell
    Hello International Developer, I need LIFETIME MT5 EA for XAUUSD Gold. REQUIREMENTS: 1. Lifetime bot - No expiry date, unlimited accounts, unlimited installations 2. Must include source code .mq5 file - This makes it lifetime 3. Every trade MUST have Stop Loss 300 points and Take Profit 600 points 4. No martingale, No grid, No averaging - Clean safe strategy 5. Auto lot size = 1% risk per trade for good margin growth
    Fibonacci Técnicas... Estudos Fibonacci de expansão e retração. Estudos técnicos... Linhas de tendencia, resistência, suporte. Probabilidades... Analises técnicas com indicadores e contextos fundamentalistas Estatística... Analises técnicas com indicadores e contextos fundamentalistas Análise técnica... 6 Operações diárias... Scalpe trader, day trader, swing trader Consultor de técnicas Fibonacci... explicação de
    Project: Custom MT5 Day Trading Expert Advisor I need a custom automated trading robot (EA) for MetaTrader 5, developed in MQL5. Markets: - Gold (XAUUSD) - Selected Forex pairs Trading style: Automated day trading. All positions should be closed according to predefined strategy rules and before the end of the selected trading session. Strategy: The developer should propose a clear trading strategy, explain its rules
    Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
    a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Description I need an Expert Advisor (EA) for MetaTrader 5 (MT5) that can automatically trade Gold (XAUUSD) and major Forex pairs. The EA must analyze market conditions, open and close trades automatically, manage risk effectively, and be fully compatible with the MT5 Strategy Tester
    To create a unique description that meets the freelance site's requirements, you can type the following: "I am looking for an experienced MQL5 developer to create a custom Forex Expert Advisor. The trading strategy should be based on a moving average crossover system, filtered by the Relative Strength Index indicator. The expert advisor needs to feature distinct strategy modules with adjustable settings for the

    Informazioni sul progetto

    Budget
    35+ USD