Need to add hedging and recovery feature to an old EA

Şartname

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. 

    Yanıtlandı

    1
    Geliştirici 1
    Derecelendirme
    (22)
    Projeler
    29
    3%
    Arabuluculuk
    4
    25% / 0%
    Süresi dolmuş
    3
    10%
    Çalışıyor
    2
    Geliştirici 2
    Derecelendirme
    (51)
    Projeler
    70
    36%
    Arabuluculuk
    4
    25% / 75%
    Süresi dolmuş
    1
    1%
    Serbest
    Yayınlandı: 1 kod
    3
    Geliştirici 3
    Derecelendirme
    (107)
    Projeler
    175
    25%
    Arabuluculuk
    23
    13% / 78%
    Süresi dolmuş
    16
    9%
    Serbest
    4
    Geliştirici 4
    Derecelendirme
    (19)
    Projeler
    24
    8%
    Arabuluculuk
    9
    33% / 33%
    Süresi dolmuş
    1
    4%
    Yüklendi
    5
    Geliştirici 5
    Derecelendirme
    (75)
    Projeler
    80
    6%
    Arabuluculuk
    46
    11% / 54%
    Süresi dolmuş
    7
    9%
    Çalışıyor
    6
    Geliştirici 6
    Derecelendirme
    (13)
    Projeler
    20
    40%
    Arabuluculuk
    3
    0% / 67%
    Süresi dolmuş
    3
    15%
    Serbest
    7
    Geliştirici 7
    Derecelendirme
    (20)
    Projeler
    23
    39%
    Arabuluculuk
    4
    25% / 50%
    Süresi dolmuş
    1
    4%
    Serbest
    Yayınlandı: 4 kod
    8
    Geliştirici 8
    Derecelendirme
    (3)
    Projeler
    3
    0%
    Arabuluculuk
    1
    0% / 100%
    Süresi dolmuş
    0
    Serbest
    9
    Geliştirici 9
    Derecelendirme
    Projeler
    0
    0%
    Arabuluculuk
    0
    Süresi dolmuş
    0
    Serbest
    10
    Geliştirici 10
    Derecelendirme
    Projeler
    0
    0%
    Arabuluculuk
    0
    Süresi dolmuş
    0
    Serbest
    11
    Geliştirici 11
    Derecelendirme
    (1)
    Projeler
    1
    0%
    Arabuluculuk
    1
    0% / 0%
    Süresi dolmuş
    0
    Çalışıyor
    12
    Geliştirici 12
    Derecelendirme
    (4)
    Projeler
    4
    0%
    Arabuluculuk
    1
    0% / 100%
    Süresi dolmuş
    0
    Serbest
    13
    Geliştirici 13
    Derecelendirme
    (3)
    Projeler
    1
    100%
    Arabuluculuk
    3
    0% / 100%
    Süresi dolmuş
    0
    Serbest
    14
    Geliştirici 14
    Derecelendirme
    (314)
    Projeler
    561
    35%
    Arabuluculuk
    81
    31% / 44%
    Süresi dolmuş
    204
    36%
    Çalışıyor
    15
    Geliştirici 15
    Derecelendirme
    (633)
    Projeler
    1001
    47%
    Arabuluculuk
    33
    36% / 36%
    Süresi dolmuş
    98
    10%
    Çalışıyor
    Yayınlandı: 6 kod
    16
    Geliştirici 16
    Derecelendirme
    (71)
    Projeler
    103
    20%
    Arabuluculuk
    6
    0% / 83%
    Süresi dolmuş
    3
    3%
    Serbest
    17
    Geliştirici 17
    Derecelendirme
    (40)
    Projeler
    43
    58%
    Arabuluculuk
    2
    50% / 0%
    Süresi dolmuş
    1
    2%
    Çalışıyor
    Yayınlandı: 5 kod
    18
    Geliştirici 18
    Derecelendirme
    Projeler
    0
    0%
    Arabuluculuk
    0
    Süresi dolmuş
    0
    Serbest
    19
    Geliştirici 19
    Derecelendirme
    (1)
    Projeler
    1
    100%
    Arabuluculuk
    0
    Süresi dolmuş
    0
    Serbest
    20
    Geliştirici 20
    Derecelendirme
    (18)
    Projeler
    25
    24%
    Arabuluculuk
    4
    50% / 25%
    Süresi dolmuş
    4
    16%
    Yüklendi
    21
    Geliştirici 21
    Derecelendirme
    (5)
    Projeler
    10
    10%
    Arabuluculuk
    2
    0% / 50%
    Süresi dolmuş
    2
    20%
    Çalışıyor
    22
    Geliştirici 22
    Derecelendirme
    (30)
    Projeler
    37
    54%
    Arabuluculuk
    2
    50% / 50%
    Süresi dolmuş
    3
    8%
    Serbest
    23
    Geliştirici 23
    Derecelendirme
    (6)
    Projeler
    4
    0%
    Arabuluculuk
    5
    0% / 100%
    Süresi dolmuş
    0
    Serbest
    24
    Geliştirici 24
    Derecelendirme
    (10)
    Projeler
    14
    43%
    Arabuluculuk
    0
    Süresi dolmuş
    3
    21%
    Serbest
    25
    Geliştirici 25
    Derecelendirme
    (271)
    Projeler
    553
    50%
    Arabuluculuk
    57
    40% / 37%
    Süresi dolmuş
    227
    41%
    Çalışıyor
    26
    Geliştirici 26
    Derecelendirme
    (8)
    Projeler
    8
    0%
    Arabuluculuk
    2
    50% / 0%
    Süresi dolmuş
    1
    13%
    Çalışıyor
    27
    Geliştirici 27
    Derecelendirme
    Projeler
    0
    0%
    Arabuluculuk
    0
    Süresi dolmuş
    0
    Serbest
    28
    Geliştirici 28
    Derecelendirme
    Projeler
    0
    0%
    Arabuluculuk
    0
    Süresi dolmuş
    0
    Serbest
    29
    Geliştirici 29
    Derecelendirme
    (33)
    Projeler
    36
    33%
    Arabuluculuk
    5
    0% / 80%
    Süresi dolmuş
    0
    Çalışıyor
    Yayınlandı: 2 kod
    30
    Geliştirici 30
    Derecelendirme
    (73)
    Projeler
    257
    53%
    Arabuluculuk
    16
    50% / 38%
    Süresi dolmuş
    83
    32%
    Serbest
    31
    Geliştirici 31
    Derecelendirme
    (2)
    Projeler
    2
    0%
    Arabuluculuk
    3
    0% / 100%
    Süresi dolmuş
    1
    50%
    Serbest
    32
    Geliştirici 32
    Derecelendirme
    Projeler
    0
    0%
    Arabuluculuk
    0
    Süresi dolmuş
    0
    Serbest
    33
    Geliştirici 33
    Derecelendirme
    Projeler
    0
    0%
    Arabuluculuk
    0
    Süresi dolmuş
    0
    Serbest
    Benzer siparişler
    I have a EA for XAUUSD which works awesome in sideways and trending market as well, capital requirement is only 2000USd and weekly profit is around 1500-2000 USD. I am using this bot from 3 months and getting continuous good result
    Expert should be able to place trades across all Forex symbols (solution is advised) . xauusd live chart execution error . Deletion and Cleaning the Code (if required) . Live Chart Only
    Dear All i am working on strategy in forex market specifically in xausud and i just want someone to make it automatic execution mode as per my requirements with propee risk management my broker is exness and i have an account in MT5
    I am looking for an experienced MT5/MQL5 programmer to build Phase 1 of a larger Expert Advisor project. This first phase is limited to one custom signal only for the EUR/USD. If Phase 1 is completed correctly, additional signals may be added later as separate follow-up projects. The purpose of Phase 1 is to code, test, display, and log this signal accurately using completed M1 bars only. At this stage, I primarily
    ✅ MT4 EA Developer Checklist (For Your Ladder EA) 1️⃣ Indicator Integration EA reads signals from provided custom indicator (.ex4 or .mq4) Detects “Buy Next” / “Sell Next” signals on current candle Works with arrow-based or buffer-based signals 2️⃣ Next Candle Execution EA does not trade on the candle where the signal appears Orders placed only at first tick of the next candle Timeframes supported: M1, M5, M15
    Hi to all, I need a modification of an existing grid EA with the following instructions: Add the following optional external inputs to the attached Expert Advisor: input bool TradeModeAgainstTrend ( TMAT ) = true ; input int CounterTrendLotsToStartTMAT = 0.15 ; input double CoefficientForTrendLots = 0.30 ; input double MaxTrendLot = 0.08 ; input bool OneSideTMATOnly = true ; input double CombinedClosureAmount = 10.0
    Hello, i need expert developer that have been develop so many profitable AI bots that work for mt5 and ctrader autonomously if you know you can easily execute this requirement bid for it. NOTE:- YOU MUST COME WITH SAMPLE FOR THE 2 TRADING PLATFORM. While i take a look at your profile and reach out to you thanks
    Gold robot 3000+ USD
    I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
    Gold robot 3000+ USD
    Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks

    Proje bilgisi

    Bütçe
    35+ USD