Need to add hedging and recovery feature to an old EA

Spezifikation

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. 

    Bewerbungen

    1
    Entwickler 1
    Bewertung
    (22)
    Projekte
    29
    3%
    Schlichtung
    4
    25% / 0%
    Frist nicht eingehalten
    3
    10%
    Frei
    2
    Entwickler 2
    Bewertung
    (51)
    Projekte
    71
    37%
    Schlichtung
    4
    25% / 75%
    Frist nicht eingehalten
    1
    1%
    Frei
    Veröffentlicht: 1 Beispiel
    3
    Entwickler 3
    Bewertung
    (111)
    Projekte
    184
    25%
    Schlichtung
    25
    16% / 76%
    Frist nicht eingehalten
    16
    9%
    Frei
    4
    Entwickler 4
    Bewertung
    (22)
    Projekte
    28
    7%
    Schlichtung
    9
    33% / 33%
    Frist nicht eingehalten
    1
    4%
    Arbeitet
    5
    Entwickler 5
    Bewertung
    (75)
    Projekte
    80
    6%
    Schlichtung
    46
    11% / 54%
    Frist nicht eingehalten
    7
    9%
    Arbeitet
    6
    Entwickler 6
    Bewertung
    (13)
    Projekte
    20
    40%
    Schlichtung
    3
    0% / 67%
    Frist nicht eingehalten
    3
    15%
    Frei
    7
    Entwickler 7
    Bewertung
    (20)
    Projekte
    23
    39%
    Schlichtung
    4
    25% / 50%
    Frist nicht eingehalten
    1
    4%
    Frei
    Veröffentlicht: 6 Beispiele
    8
    Entwickler 8
    Bewertung
    (3)
    Projekte
    3
    0%
    Schlichtung
    1
    0% / 100%
    Frist nicht eingehalten
    0
    Frei
    9
    Entwickler 9
    Bewertung
    Projekte
    0
    0%
    Schlichtung
    0
    Frist nicht eingehalten
    0
    Frei
    10
    Entwickler 10
    Bewertung
    Projekte
    0
    0%
    Schlichtung
    0
    Frist nicht eingehalten
    0
    Frei
    11
    Entwickler 11
    Bewertung
    (1)
    Projekte
    1
    0%
    Schlichtung
    1
    0% / 0%
    Frist nicht eingehalten
    0
    Arbeitet
    12
    Entwickler 12
    Bewertung
    (4)
    Projekte
    4
    0%
    Schlichtung
    1
    0% / 100%
    Frist nicht eingehalten
    0
    Frei
    13
    Entwickler 13
    Bewertung
    (3)
    Projekte
    1
    100%
    Schlichtung
    3
    0% / 100%
    Frist nicht eingehalten
    0
    Frei
    14
    Entwickler 14
    Bewertung
    (319)
    Projekte
    574
    35%
    Schlichtung
    83
    31% / 45%
    Frist nicht eingehalten
    207
    36%
    Frei
    15
    Entwickler 15
    Bewertung
    (636)
    Projekte
    1008
    47%
    Schlichtung
    33
    36% / 36%
    Frist nicht eingehalten
    99
    10%
    Arbeitet
    Veröffentlicht: 6 Beispiele
    16
    Entwickler 16
    Bewertung
    (71)
    Projekte
    103
    20%
    Schlichtung
    6
    0% / 83%
    Frist nicht eingehalten
    3
    3%
    Frei
    17
    Entwickler 17
    Bewertung
    (45)
    Projekte
    53
    57%
    Schlichtung
    2
    100% / 0%
    Frist nicht eingehalten
    1
    2%
    Frei
    Veröffentlicht: 5 Beispiele
    18
    Entwickler 18
    Bewertung
    Projekte
    0
    0%
    Schlichtung
    0
    Frist nicht eingehalten
    0
    Frei
    19
    Entwickler 19
    Bewertung
    (1)
    Projekte
    1
    100%
    Schlichtung
    0
    Frist nicht eingehalten
    0
    Frei
    20
    Entwickler 20
    Bewertung
    (24)
    Projekte
    32
    38%
    Schlichtung
    4
    50% / 25%
    Frist nicht eingehalten
    5
    16%
    Arbeitet
    21
    Entwickler 21
    Bewertung
    (10)
    Projekte
    17
    18%
    Schlichtung
    2
    0% / 50%
    Frist nicht eingehalten
    3
    18%
    Beschäftigt
    22
    Entwickler 22
    Bewertung
    (31)
    Projekte
    38
    53%
    Schlichtung
    2
    50% / 50%
    Frist nicht eingehalten
    3
    8%
    Frei
    23
    Entwickler 23
    Bewertung
    (6)
    Projekte
    4
    0%
    Schlichtung
    5
    0% / 100%
    Frist nicht eingehalten
    0
    Frei
    24
    Entwickler 24
    Bewertung
    (10)
    Projekte
    14
    43%
    Schlichtung
    0
    Frist nicht eingehalten
    3
    21%
    Frei
    25
    Entwickler 25
    Bewertung
    (271)
    Projekte
    553
    50%
    Schlichtung
    57
    40% / 37%
    Frist nicht eingehalten
    227
    41%
    Arbeitet
    26
    Entwickler 26
    Bewertung
    (8)
    Projekte
    8
    0%
    Schlichtung
    2
    50% / 0%
    Frist nicht eingehalten
    1
    13%
    Arbeitet
    27
    Entwickler 27
    Bewertung
    Projekte
    0
    0%
    Schlichtung
    0
    Frist nicht eingehalten
    0
    Frei
    28
    Entwickler 28
    Bewertung
    Projekte
    0
    0%
    Schlichtung
    0
    Frist nicht eingehalten
    0
    Frei
    29
    Entwickler 29
    Bewertung
    (33)
    Projekte
    36
    33%
    Schlichtung
    5
    0% / 80%
    Frist nicht eingehalten
    0
    Arbeitet
    Veröffentlicht: 2 Beispiele
    30
    Entwickler 30
    Bewertung
    (73)
    Projekte
    257
    53%
    Schlichtung
    16
    50% / 38%
    Frist nicht eingehalten
    83
    32%
    Frei
    31
    Entwickler 31
    Bewertung
    (2)
    Projekte
    2
    0%
    Schlichtung
    3
    0% / 100%
    Frist nicht eingehalten
    1
    50%
    Frei
    32
    Entwickler 32
    Bewertung
    Projekte
    0
    0%
    Schlichtung
    0
    Frist nicht eingehalten
    0
    Frei
    33
    Entwickler 33
    Bewertung
    Projekte
    0
    0%
    Schlichtung
    0
    Frist nicht eingehalten
    0
    Frei
    Ähnliche Aufträge
    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

    Projektdetails

    Budget
    35+ USD