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
    (108)
    Projects
    178
    25%
    Arbitration
    24
    17% / 75%
    Overdue
    16
    9%
    Working
    4
    Developer 4
    Rating
    (21)
    Projects
    27
    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: 4 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
    (318)
    Projects
    565
    35%
    Arbitration
    81
    31% / 44%
    Overdue
    204
    36%
    Free
    15
    Developer 15
    Rating
    (635)
    Projects
    1005
    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
    (44)
    Projects
    51
    59%
    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
    (22)
    Projects
    29
    34%
    Arbitration
    4
    50% / 25%
    Overdue
    5
    17%
    Working
    21
    Developer 21
    Rating
    (8)
    Projects
    14
    21%
    Arbitration
    2
    0% / 50%
    Overdue
    3
    21%
    Working
    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
    Bonjour, je recherche un développeur MQL5 expérimenté pour créer un Expert Advisor pour MetaTrader 5 basé sur une stratégie de trading intégrant des principes de gestion des risques rigoureux et d'intelligence financière. Le robot doit être capable de gérer plusieurs paires de devises et d'optimiser automatiquement les entrées et sorties en fonction de conditions de marché prédéfinies."
    MT4/MT5 HFT EA us30 30 - 3000 USD
    Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the
    I'm looking for an experienced NinjaTrader 8 (C#) developer to build a fully automated futures trading strategy. Please apply only if you have proven experience developing and testing NinjaTrader strategies. Project Overview Develop a fully automated NinjaTrader 8 strategy. Designed for Apex funded and evaluation accounts. Primary instruments: NQ/MNQ Futures (with flexibility to support other futures later). Trading
    I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 or broker clock. 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell/buy at 50% of the FVG 7. SL: 10 pips above
    Code An Loss Rate 90-100% MT5 EA , that can blow a 100 USD account a day ,with fixed TP of 3000 points and SL of 3000 For better Rate Calculations get an strategy that can lead to so
    8 cap prop firm passing 30 - 3000 USD
    I am looking for an experienced MQL4/MQL5 HFT developer to build or optimize a High-Frequency Trading (HFT) Expert Advisor that can successfully pass proprietary trading firm challenges and perform consistently under live trading conditions with brokers such as 8cap or BlackBull Markets . The developer should have proven experience with HFT execution, ultra-low-latency trading, broker execution, slippage, spreads
    Hello, I am looking for an existing, fully backtestable MT5 Expert Advisor or EA portfolio designed specifically for passing an FTMO-style prop-firm evaluation. I am not looking for unrealistic profit claims or a visually perfect backtest. My priority is a statistically defensible probability of passing the challenge while respecting all risk limits. Primary objective The system should be designed for the current
    I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
    Hello looking for someone to convert an indicator from tradingview to Thinkorswim I have attached the codes from trading view Also, I like make it trigger (alert) a one-time alert when the trend changes, and can also create a custom watchlist column that flags symbols currently in a new trend so you can scan multiple stocks easily. And like the watchlist to show only fresh trend changes or the current trend direction
    Specification : 1. Goal I am commissioning a mean-reversion grid Expert Advisor for XAUUSD on MT5. The deliverable is the complete, commented .mq5 source (strictly personal usel). Offers limited to compiled .ex5 will not be considered. 2. Required framework (non-negotiable) 2.1. Works natively on M5; signals evaluated on closed bars; symmetric long/short. 2.2. Entry logic built on Bollinger Bands + Moving Average

    Project information

    Budget
    35+ USD