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%
    Arbeitet
    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
    (108)
    Projekte
    178
    25%
    Schlichtung
    24
    17% / 75%
    Frist nicht eingehalten
    16
    9%
    Arbeitet
    4
    Entwickler 4
    Bewertung
    (21)
    Projekte
    27
    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: 4 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
    (318)
    Projekte
    565
    35%
    Schlichtung
    81
    31% / 44%
    Frist nicht eingehalten
    204
    36%
    Frei
    15
    Entwickler 15
    Bewertung
    (635)
    Projekte
    1005
    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
    (44)
    Projekte
    51
    59%
    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
    (22)
    Projekte
    29
    34%
    Schlichtung
    4
    50% / 25%
    Frist nicht eingehalten
    5
    17%
    Arbeitet
    21
    Entwickler 21
    Bewertung
    (8)
    Projekte
    14
    21%
    Schlichtung
    2
    0% / 50%
    Frist nicht eingehalten
    3
    21%
    Arbeitet
    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
    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

    Projektdetails

    Budget
    35+ USD