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%
    Travail
    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
    (108)
    Projets
    178
    25%
    Arbitrage
    24
    17% / 75%
    En retard
    16
    9%
    Travail
    4
    Développeur 4
    Évaluation
    (21)
    Projets
    27
    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é : 4 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
    (318)
    Projets
    565
    35%
    Arbitrage
    81
    31% / 44%
    En retard
    204
    36%
    Gratuit
    15
    Développeur 15
    Évaluation
    (635)
    Projets
    1005
    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
    (44)
    Projets
    51
    59%
    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
    (22)
    Projets
    29
    34%
    Arbitrage
    4
    50% / 25%
    En retard
    5
    17%
    Travail
    21
    Développeur 21
    Évaluation
    (8)
    Projets
    14
    21%
    Arbitrage
    2
    0% / 50%
    En retard
    3
    21%
    Travail
    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
    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
    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
    I need a professional MT5 Expert Advisor (MQL5) for XAU/USD (Gold) only. Requirements: - Symbol: XAU/USD only - Timeframe: H1 trend, M5 entry - Smart Money Concept (SMC) - Liquidity Sweep - Break of Structure (BOS) - Order Block Retest - Confirmation Candle (Engulfing or Pin Bar) - ATR-based Stop Loss - Risk:Reward = 1:3 (adjustable) - Auto Lot (1% risk) - Break Even - Trailing Stop - Maximum 2 trades per day - One
    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
    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 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 at 50% of the FVG 7. SL: 10 pips above sweep wick 8. TP: 2R
    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
    I want to build a fundamental news trading bot that trade off economic news data, as we know every economic news data released always have effect on the asset associated with it, so this bot will take a trade instantly based on the news data released either to buy or sell, it will come with good money management and also SL and TP target based on price and pips value

    Informations sur le projet

    Budget
    35+ USD