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%
    Trabalhando
    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
    183
    25%
    Arbitragem
    24
    17% / 75%
    Expirado
    16
    9%
    Trabalhando
    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: 5 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
    568
    35%
    Arbitragem
    83
    30% / 45%
    Expirado
    206
    36%
    Carregado
    15
    Desenvolvedor 15
    Classificação
    (636)
    Projetos
    1007
    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
    (9)
    Projetos
    16
    19%
    Arbitragem
    2
    0% / 50%
    Expirado
    3
    19%
    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
    C'est un Expert Advisor (EA) MQL5 pour MetaTrader 5, conçu pour l' XAUUSD , combinant un filtre de tendance et une grille adaptative avec gestion de panier ("basket") et protections contre le drawdown. Version 1.00. Logique de trading Filtre de tendance (H4 par défaut) • EMA rapide (50) vs EMA lente (200) pour déterminer la direction (UP/DOWN) • Filtre ADX (période 14, seuil 18) pour éviter de trader en
    My EA is semi Auto EA..with Master and slave concept Using Heiken Ashi +Heiken Smooth and Moving Average What to do?1. Remove some previous feature 2.Change some rules of 4 slave to pending Order 3. Check the coding is clean. 4. create panel dialog box
    I currently sell a white-label XAUUSD EA, but the existing supplier owns the source code. I now need a new, independently developed EA and licensing system that my company fully owns and controls. I am not requesting decompilation or copying of proprietary code. Existing settings, presets and trading examples will be provided as reference. The developer must first identify any missing strategy rules before
    I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
    I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
    Looking to acquire an existing, proven EA. Not looking for new strategy development. REQUIREMENTS — non-negotiable: Minimum 12 months verified LIVE history (Myfxbook or MQL5 Signals, real money — not demo, not backtest) Hard stop loss on EVERY trade, set at order placement NO martingale, NO grid, NO averaging into losers, NO lot multiplication after a loss Max historical drawdown under 30% Minimum 5 trades per
    Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading
    Hello, I trade on HFM MT5. Need SCALPING EA for scalping, budget $30. SYMBOLS: XAUUSD (GOLD), US30, NAS100, GER40, EURUSD TIMEFRAME: M1 and M5 PLATFORM: MT5, must work on HFM VPS STRATEGY: - EMA 9 crosses EMA 21 - RSI 14: BUY only if RSI >45, SELL only if RSI <55 - Bollinger Bands: Only trade when price returns inside BB after breakout - 1 trade at a time per symbol - SL: 150 points Gold / 100 points indices (must be
    Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
    I need an MT5 Expert Advisor for XAUUSD (Gold) running on an Exness account. STRATEGY LOGIC The exact entry and exit rules will be provided in writing before development starts. Please quote for a single rule-based strategy with clearly separated logic, so the rules can be adjusted later without rewriting the whole EA. RISK MANAGEMENT (this is the priority of the project) - Risk per trade as a percentage of account

    Informações sobre o projeto

    Orçamento
    35+ USD