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
    69
    35%
    Arabuluculuk
    4
    25% / 75%
    Süresi dolmuş
    0
    Serbest
    3
    Geliştirici 3
    Derecelendirme
    (104)
    Projeler
    170
    24%
    Arabuluculuk
    23
    9% / 78%
    Süresi dolmuş
    16
    9%
    Çalışıyor
    4
    Geliştirici 4
    Derecelendirme
    (19)
    Projeler
    23
    9%
    Arabuluculuk
    6
    33% / 50%
    Süresi dolmuş
    1
    4%
    Meşgul
    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
    (19)
    Projeler
    22
    36%
    Arabuluculuk
    4
    25% / 50%
    Süresi dolmuş
    1
    5%
    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
    (313)
    Projeler
    559
    35%
    Arabuluculuk
    79
    32% / 43%
    Süresi dolmuş
    203
    36%
    Serbest
    15
    Geliştirici 15
    Derecelendirme
    (630)
    Projeler
    994
    47%
    Arabuluculuk
    33
    36% / 36%
    Süresi dolmuş
    98
    10%
    Serbest
    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
    (37)
    Projeler
    40
    58%
    Arabuluculuk
    1
    100% / 0%
    Süresi dolmuş
    1
    3%
    Ç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
    (14)
    Projeler
    19
    11%
    Arabuluculuk
    4
    50% / 25%
    Süresi dolmuş
    4
    21%
    Çalışıyor
    21
    Geliştirici 21
    Derecelendirme
    (4)
    Projeler
    8
    13%
    Arabuluculuk
    2
    0% / 0%
    Süresi dolmuş
    2
    25%
    Ç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
    (6)
    Projeler
    6
    0%
    Arabuluculuk
    2
    50% / 0%
    Süresi dolmuş
    1
    17%
    Serbest
    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
    (32)
    Projeler
    35
    34%
    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
    Ninjatrader bot 30+ USD
    I am looking for an experienced developer who specializes in NinjaTrader and NinjaScript to build a fully automated trading bot. The goal is to create a “sniper-style” trading system that focuses on precise entries, strong risk management, and structured trading logic. This is NOT a simple indicator project I am looking for someone who understands algorithmic trading and can translate trading rules into a reliable
    I need a MT5 Prop firm challenge passing EA with strict prop firm rules compliance. Any strategy can be used but win rate should be above 70%. It should have high impact news filter and a dashboard panel to monitor daily drawdown, target profit, current balance, etc. It should not have martingale, grid, hedging, etc
    Pro firm setup 30+ USD
    Hi, I am starting a futures prop firm. Are you able to help me get data feed for this with no delays and can handle many traders on the platform. Additionally, are you able to handle charts for us
    Mam kody EA Bot. Chciałbym je dokończyć, dopracować i ukończyć projekty. Chciałbym otrzymać pliki SET po ukończeniu EA. Jeśli jesteś zainteresowany, skontaktuj się ze mną. Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w
    I am looking for an experienced developer to create a custom Expert Advisor (EA) for trading. The developer should have strong knowledge of MT4/MT5, strategy logic, indicators, risk management, and backtesting. Experience in building reliable and professional trading robots is preferred. Please contact me if you have done similar projects before. 9817724000
    EA for prop firms 30 - 500 USD
    Hi, I am looking to purchase a MT5 EA that can show consistent profitability 5% each month with drawdown less than 9%. I am not ready to build a new one from scratch as i do not have the strategy in mind yet so i do not want to take the risk of building one but not sure if it works. Only apply if you have an existing proven and tested EA that can sell to me together with the source code. The Ea is for prop firm even
    Early Killer EA 30+ USD
    It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
    Bring in your expertise for specific symbol Prepare expert for Live chart Creating .set for specific symbol Live Chart Optimization , symbol specific Everything is coded already therefore needs Implementations
    Due to price constraints, I am shifting what I would like. Would you be able to develop part of a strategy that automatically screens and selects stocks for trading? For example, screens for stocks up 20% with 500k volume for the day, and automatically begin trading them according to the strategy I already use. I use NinjaTrader to day trade my Interactive Brokers account and would like to add an automatic
    Hello i need some to teach me step my step in an idiot terms and I will be willing to learn more and I am ready to pay for it any amount please if anyone can put me though i will be happy thank look forward to anyone responses

    Proje bilgisi

    Bütçe
    35+ USD