Need to add hedging and recovery feature to an old EA

Termos de Referência

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. 

    Respondido

    1
    Desenvolvedor 1
    Classificação
    (22)
    Projetos
    29
    3%
    Arbitragem
    4
    25% / 0%
    Expirado
    3
    10%
    Livre
    2
    Desenvolvedor 2
    Classificação
    (51)
    Projetos
    71
    37%
    Arbitragem
    4
    25% / 75%
    Expirado
    1
    1%
    Livre
    Publicou: 1 código
    3
    Desenvolvedor 3
    Classificação
    (111)
    Projetos
    184
    25%
    Arbitragem
    25
    16% / 76%
    Expirado
    16
    9%
    Livre
    4
    Desenvolvedor 4
    Classificação
    (22)
    Projetos
    28
    7%
    Arbitragem
    9
    33% / 33%
    Expirado
    1
    4%
    Trabalhando
    5
    Desenvolvedor 5
    Classificação
    (75)
    Projetos
    80
    6%
    Arbitragem
    46
    11% / 54%
    Expirado
    7
    9%
    Trabalhando
    6
    Desenvolvedor 6
    Classificação
    (13)
    Projetos
    20
    40%
    Arbitragem
    3
    0% / 67%
    Expirado
    3
    15%
    Livre
    7
    Desenvolvedor 7
    Classificação
    (20)
    Projetos
    23
    39%
    Arbitragem
    4
    25% / 50%
    Expirado
    1
    4%
    Livre
    Publicou: 6 códigos
    8
    Desenvolvedor 8
    Classificação
    (3)
    Projetos
    3
    0%
    Arbitragem
    1
    0% / 100%
    Expirado
    0
    Livre
    9
    Desenvolvedor 9
    Classificação
    Projetos
    0
    0%
    Arbitragem
    0
    Expirado
    0
    Livre
    10
    Desenvolvedor 10
    Classificação
    Projetos
    0
    0%
    Arbitragem
    0
    Expirado
    0
    Livre
    11
    Desenvolvedor 11
    Classificação
    (1)
    Projetos
    1
    0%
    Arbitragem
    1
    0% / 0%
    Expirado
    0
    Trabalhando
    12
    Desenvolvedor 12
    Classificação
    (4)
    Projetos
    4
    0%
    Arbitragem
    1
    0% / 100%
    Expirado
    0
    Livre
    13
    Desenvolvedor 13
    Classificação
    (3)
    Projetos
    1
    100%
    Arbitragem
    3
    0% / 100%
    Expirado
    0
    Livre
    14
    Desenvolvedor 14
    Classificação
    (319)
    Projetos
    574
    35%
    Arbitragem
    83
    31% / 45%
    Expirado
    207
    36%
    Livre
    15
    Desenvolvedor 15
    Classificação
    (636)
    Projetos
    1008
    47%
    Arbitragem
    33
    36% / 36%
    Expirado
    99
    10%
    Trabalhando
    Publicou: 6 códigos
    16
    Desenvolvedor 16
    Classificação
    (71)
    Projetos
    103
    20%
    Arbitragem
    6
    0% / 83%
    Expirado
    3
    3%
    Livre
    17
    Desenvolvedor 17
    Classificação
    (45)
    Projetos
    53
    57%
    Arbitragem
    2
    100% / 0%
    Expirado
    1
    2%
    Livre
    Publicou: 5 códigos
    18
    Desenvolvedor 18
    Classificação
    Projetos
    0
    0%
    Arbitragem
    0
    Expirado
    0
    Livre
    19
    Desenvolvedor 19
    Classificação
    (1)
    Projetos
    1
    100%
    Arbitragem
    0
    Expirado
    0
    Livre
    20
    Desenvolvedor 20
    Classificação
    (24)
    Projetos
    32
    38%
    Arbitragem
    4
    50% / 25%
    Expirado
    5
    16%
    Trabalhando
    21
    Desenvolvedor 21
    Classificação
    (10)
    Projetos
    17
    18%
    Arbitragem
    2
    0% / 50%
    Expirado
    3
    18%
    Carregado
    22
    Desenvolvedor 22
    Classificação
    (31)
    Projetos
    38
    53%
    Arbitragem
    2
    50% / 50%
    Expirado
    3
    8%
    Livre
    23
    Desenvolvedor 23
    Classificação
    (6)
    Projetos
    4
    0%
    Arbitragem
    5
    0% / 100%
    Expirado
    0
    Livre
    24
    Desenvolvedor 24
    Classificação
    (10)
    Projetos
    14
    43%
    Arbitragem
    0
    Expirado
    3
    21%
    Livre
    25
    Desenvolvedor 25
    Classificação
    (271)
    Projetos
    553
    50%
    Arbitragem
    57
    40% / 37%
    Expirado
    227
    41%
    Trabalhando
    26
    Desenvolvedor 26
    Classificação
    (8)
    Projetos
    8
    0%
    Arbitragem
    2
    50% / 0%
    Expirado
    1
    13%
    Trabalhando
    27
    Desenvolvedor 27
    Classificação
    Projetos
    0
    0%
    Arbitragem
    0
    Expirado
    0
    Livre
    28
    Desenvolvedor 28
    Classificação
    Projetos
    0
    0%
    Arbitragem
    0
    Expirado
    0
    Livre
    29
    Desenvolvedor 29
    Classificação
    (33)
    Projetos
    36
    33%
    Arbitragem
    5
    0% / 80%
    Expirado
    0
    Trabalhando
    Publicou: 2 códigos
    30
    Desenvolvedor 30
    Classificação
    (73)
    Projetos
    257
    53%
    Arbitragem
    16
    50% / 38%
    Expirado
    83
    32%
    Livre
    31
    Desenvolvedor 31
    Classificação
    (2)
    Projetos
    2
    0%
    Arbitragem
    3
    0% / 100%
    Expirado
    1
    50%
    Livre
    32
    Desenvolvedor 32
    Classificação
    Projetos
    0
    0%
    Arbitragem
    0
    Expirado
    0
    Livre
    33
    Desenvolvedor 33
    Classificação
    Projetos
    0
    0%
    Arbitragem
    0
    Expirado
    0
    Livre
    Pedidos semelhantes
    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

    Informações sobre o projeto

    Orçamento
    35+ USD