Need to add hedging and recovery feature to an old EA

指定

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. 

    反馈

    1
    开发者 1
    等级
    (22)
    项目
    29
    3%
    仲裁
    4
    25% / 0%
    逾期
    3
    10%
    工作中
    2
    开发者 2
    等级
    (51)
    项目
    69
    35%
    仲裁
    4
    25% / 75%
    逾期
    0
    空闲
    3
    开发者 3
    等级
    (104)
    项目
    170
    24%
    仲裁
    23
    9% / 78%
    逾期
    16
    9%
    工作中
    4
    开发者 4
    等级
    (19)
    项目
    23
    9%
    仲裁
    6
    33% / 50%
    逾期
    1
    4%
    繁忙
    5
    开发者 5
    等级
    (75)
    项目
    80
    6%
    仲裁
    46
    11% / 54%
    逾期
    7
    9%
    工作中
    6
    开发者 6
    等级
    (13)
    项目
    20
    40%
    仲裁
    3
    0% / 67%
    逾期
    3
    15%
    空闲
    7
    开发者 7
    等级
    (19)
    项目
    22
    36%
    仲裁
    4
    25% / 50%
    逾期
    1
    5%
    空闲
    发布者: 4 代码
    8
    开发者 8
    等级
    (3)
    项目
    3
    0%
    仲裁
    1
    0% / 100%
    逾期
    0
    空闲
    9
    开发者 9
    等级
    项目
    0
    0%
    仲裁
    0
    逾期
    0
    空闲
    10
    开发者 10
    等级
    项目
    0
    0%
    仲裁
    0
    逾期
    0
    空闲
    11
    开发者 11
    等级
    (1)
    项目
    1
    0%
    仲裁
    1
    0% / 0%
    逾期
    0
    工作中
    12
    开发者 12
    等级
    (4)
    项目
    4
    0%
    仲裁
    1
    0% / 100%
    逾期
    0
    空闲
    13
    开发者 13
    等级
    (3)
    项目
    1
    100%
    仲裁
    3
    0% / 100%
    逾期
    0
    空闲
    14
    开发者 14
    等级
    (313)
    项目
    559
    35%
    仲裁
    79
    32% / 43%
    逾期
    203
    36%
    空闲
    15
    开发者 15
    等级
    (630)
    项目
    994
    47%
    仲裁
    33
    36% / 36%
    逾期
    98
    10%
    空闲
    发布者: 6 代码
    16
    开发者 16
    等级
    (71)
    项目
    103
    20%
    仲裁
    6
    0% / 83%
    逾期
    3
    3%
    空闲
    17
    开发者 17
    等级
    (37)
    项目
    40
    58%
    仲裁
    1
    100% / 0%
    逾期
    1
    3%
    工作中
    发布者: 5 代码
    18
    开发者 18
    等级
    项目
    0
    0%
    仲裁
    0
    逾期
    0
    空闲
    19
    开发者 19
    等级
    (1)
    项目
    1
    100%
    仲裁
    0
    逾期
    0
    空闲
    20
    开发者 20
    等级
    (14)
    项目
    19
    11%
    仲裁
    4
    50% / 25%
    逾期
    4
    21%
    工作中
    21
    开发者 21
    等级
    (4)
    项目
    8
    13%
    仲裁
    2
    0% / 0%
    逾期
    2
    25%
    工作中
    22
    开发者 22
    等级
    (30)
    项目
    37
    54%
    仲裁
    2
    50% / 50%
    逾期
    3
    8%
    空闲
    23
    开发者 23
    等级
    (6)
    项目
    4
    0%
    仲裁
    5
    0% / 100%
    逾期
    0
    空闲
    24
    开发者 24
    等级
    (10)
    项目
    14
    43%
    仲裁
    0
    逾期
    3
    21%
    空闲
    25
    开发者 25
    等级
    (271)
    项目
    553
    50%
    仲裁
    57
    40% / 37%
    逾期
    227
    41%
    工作中
    26
    开发者 26
    等级
    (6)
    项目
    6
    0%
    仲裁
    2
    50% / 0%
    逾期
    1
    17%
    空闲
    27
    开发者 27
    等级
    项目
    0
    0%
    仲裁
    0
    逾期
    0
    空闲
    28
    开发者 28
    等级
    项目
    0
    0%
    仲裁
    0
    逾期
    0
    空闲
    29
    开发者 29
    等级
    (32)
    项目
    35
    34%
    仲裁
    5
    0% / 80%
    逾期
    0
    工作中
    发布者: 2 代码
    30
    开发者 30
    等级
    (73)
    项目
    257
    53%
    仲裁
    16
    50% / 38%
    逾期
    83
    32%
    空闲
    31
    开发者 31
    等级
    (2)
    项目
    2
    0%
    仲裁
    3
    0% / 100%
    逾期
    1
    50%
    空闲
    32
    开发者 32
    等级
    项目
    0
    0%
    仲裁
    0
    逾期
    0
    空闲
    33
    开发者 33
    等级
    项目
    0
    0%
    仲裁
    0
    逾期
    0
    空闲
    相似订单
    You can control via Telegram: /start - enable bot, begin trading, /stop - end trading, disable bot /status - trade status Bot requirements: • Automated trading throughout the day until 00:00 UTC (Moscow time) (I do not want to trade or turn the bot on 100 times a day). • Auto shutdown of the bot in Telegram at 00:00 UTC (Moscow time) and manual restart when convenient. • Market analysis 24/5 using 20 EMA, RSI, and
    I am seeking an alert-only EA. An EA that will follow all the rules but not execute a trade. As this is a repeat posting I am seeking the successful technician - Xiro from Vietnam. Thanks Karl
    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 offer expert services to refine and optimize your MetaTrader 5 Expert Advisors for peak performance. My approach focuses on achieving a maximum Sharpe Ratio while strictly limiting Maximum Drawdown (Max DD) , making the strategy suitable for high-standard environments like prop firm trading . I specialize in indicator-based logic and logical filter enhancements rather than external Telegram signals. With a
    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
    I am a Professional Forex Trader, actively working in the financial markets with a strong focus on how price truly moves. I specialize in logic, market structure, and institutional behavior rather than indicators or guesswork. I have mastered: • Market Structure • Trend Identification • Elliott Wave Theory • Wyckoff Logic My core expertise lies in: • Deep understanding of market structure • Identifying
    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

    项目信息

    预算
    35+ USD