Need to add hedging and recovery feature to an old EA

Spécifications

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. 

    Répondu

    1
    Développeur 1
    Évaluation
    (22)
    Projets
    29
    3%
    Arbitrage
    4
    25% / 0%
    En retard
    3
    10%
    Gratuit
    2
    Développeur 2
    Évaluation
    (51)
    Projets
    71
    37%
    Arbitrage
    4
    25% / 75%
    En retard
    1
    1%
    Gratuit
    Publié : 1 code
    3
    Développeur 3
    Évaluation
    (111)
    Projets
    184
    25%
    Arbitrage
    25
    16% / 76%
    En retard
    16
    9%
    Gratuit
    4
    Développeur 4
    Évaluation
    (22)
    Projets
    28
    7%
    Arbitrage
    9
    33% / 33%
    En retard
    1
    4%
    Travail
    5
    Développeur 5
    Évaluation
    (75)
    Projets
    80
    6%
    Arbitrage
    46
    11% / 54%
    En retard
    7
    9%
    Travail
    6
    Développeur 6
    Évaluation
    (13)
    Projets
    20
    40%
    Arbitrage
    3
    0% / 67%
    En retard
    3
    15%
    Gratuit
    7
    Développeur 7
    Évaluation
    (20)
    Projets
    23
    39%
    Arbitrage
    4
    25% / 50%
    En retard
    1
    4%
    Gratuit
    Publié : 6 codes
    8
    Développeur 8
    Évaluation
    (3)
    Projets
    3
    0%
    Arbitrage
    1
    0% / 100%
    En retard
    0
    Gratuit
    9
    Développeur 9
    Évaluation
    Projets
    0
    0%
    Arbitrage
    0
    En retard
    0
    Gratuit
    10
    Développeur 10
    Évaluation
    Projets
    0
    0%
    Arbitrage
    0
    En retard
    0
    Gratuit
    11
    Développeur 11
    Évaluation
    (1)
    Projets
    1
    0%
    Arbitrage
    1
    0% / 0%
    En retard
    0
    Travail
    12
    Développeur 12
    Évaluation
    (4)
    Projets
    4
    0%
    Arbitrage
    1
    0% / 100%
    En retard
    0
    Gratuit
    13
    Développeur 13
    Évaluation
    (3)
    Projets
    1
    100%
    Arbitrage
    3
    0% / 100%
    En retard
    0
    Gratuit
    14
    Développeur 14
    Évaluation
    (319)
    Projets
    574
    35%
    Arbitrage
    83
    31% / 45%
    En retard
    207
    36%
    Gratuit
    15
    Développeur 15
    Évaluation
    (636)
    Projets
    1008
    47%
    Arbitrage
    33
    36% / 36%
    En retard
    99
    10%
    Travail
    Publié : 6 codes
    16
    Développeur 16
    Évaluation
    (71)
    Projets
    103
    20%
    Arbitrage
    6
    0% / 83%
    En retard
    3
    3%
    Gratuit
    17
    Développeur 17
    Évaluation
    (45)
    Projets
    53
    57%
    Arbitrage
    2
    100% / 0%
    En retard
    1
    2%
    Gratuit
    Publié : 5 codes
    18
    Développeur 18
    Évaluation
    Projets
    0
    0%
    Arbitrage
    0
    En retard
    0
    Gratuit
    19
    Développeur 19
    Évaluation
    (1)
    Projets
    1
    100%
    Arbitrage
    0
    En retard
    0
    Gratuit
    20
    Développeur 20
    Évaluation
    (24)
    Projets
    32
    38%
    Arbitrage
    4
    50% / 25%
    En retard
    5
    16%
    Travail
    21
    Développeur 21
    Évaluation
    (10)
    Projets
    17
    18%
    Arbitrage
    2
    0% / 50%
    En retard
    3
    18%
    Chargé
    22
    Développeur 22
    Évaluation
    (31)
    Projets
    38
    53%
    Arbitrage
    2
    50% / 50%
    En retard
    3
    8%
    Gratuit
    23
    Développeur 23
    Évaluation
    (6)
    Projets
    4
    0%
    Arbitrage
    5
    0% / 100%
    En retard
    0
    Gratuit
    24
    Développeur 24
    Évaluation
    (10)
    Projets
    14
    43%
    Arbitrage
    0
    En retard
    3
    21%
    Gratuit
    25
    Développeur 25
    Évaluation
    (271)
    Projets
    553
    50%
    Arbitrage
    57
    40% / 37%
    En retard
    227
    41%
    Travail
    26
    Développeur 26
    Évaluation
    (8)
    Projets
    8
    0%
    Arbitrage
    2
    50% / 0%
    En retard
    1
    13%
    Travail
    27
    Développeur 27
    Évaluation
    Projets
    0
    0%
    Arbitrage
    0
    En retard
    0
    Gratuit
    28
    Développeur 28
    Évaluation
    Projets
    0
    0%
    Arbitrage
    0
    En retard
    0
    Gratuit
    29
    Développeur 29
    Évaluation
    (33)
    Projets
    36
    33%
    Arbitrage
    5
    0% / 80%
    En retard
    0
    Travail
    Publié : 2 codes
    30
    Développeur 30
    Évaluation
    (73)
    Projets
    257
    53%
    Arbitrage
    16
    50% / 38%
    En retard
    83
    32%
    Gratuit
    31
    Développeur 31
    Évaluation
    (2)
    Projets
    2
    0%
    Arbitrage
    3
    0% / 100%
    En retard
    1
    50%
    Gratuit
    32
    Développeur 32
    Évaluation
    Projets
    0
    0%
    Arbitrage
    0
    En retard
    0
    Gratuit
    33
    Développeur 33
    Évaluation
    Projets
    0
    0%
    Arbitrage
    0
    En retard
    0
    Gratuit
    Commandes similaires
    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
    Trading 35+ USD
    Project: XAUUSD Gold Trading Robot for MetaTrader 5 I want to develop a fully automated Expert Advisor (EA) for MetaTrader 5, designed exclusively for Gold (XAUUSD) and compatible with the Exness broker. Trading Strategy: Liquidity + CHOCH + Retest Identify important buy-side and sell-side liquidity zones using previous highs and lows, equal highs/lows, and confirmed swing points. Wait for a clear liquidity sweep
    i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
    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
    Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
    I have three indicators that operate independently. I want to combine them into one indicator with custom expert programming that automatically enters trades when a signal is generated by one of the indicators. I will pay for this service Thanks you
    Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction
    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
    Expert advisor 150+ USD
    Hiring: Forex Strategist & MQL5 Developer for Long-Term EA Development I am looking for an experienced Forex Strategist and MT5 (MQL5) Developer to work with me on an ongoing project to develop, test, improve, and optimize a profitable Forex Expert Advisor (EA). My Message to the Developer My budget is $150 . However, this is not intended to be a one-time payment for a finished product. I want an ongoing working
    Hello developers,I am looking for an experienced MQL5 developer to create an EA based on Moving Average retest strategy with advanced recovery system.The concept is simple: Entry is based on MA close and retest. Initial trade has small TP and no SL.If price goes against the initial position, the EA should manage it using:Opposite hedge tradePending limit grid systemBasket take profitMartingale lot multiplier after

    Informations sur le projet

    Budget
    35+ USD