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)
    项目
    71
    37%
    仲裁
    4
    25% / 75%
    逾期
    1
    1%
    空闲
    发布者: 1 代码
    3
    开发者 3
    等级
    (108)
    项目
    178
    25%
    仲裁
    24
    17% / 75%
    逾期
    16
    9%
    工作中
    4
    开发者 4
    等级
    (21)
    项目
    27
    7%
    仲裁
    9
    33% / 33%
    逾期
    1
    4%
    工作中
    5
    开发者 5
    等级
    (75)
    项目
    80
    6%
    仲裁
    46
    11% / 54%
    逾期
    7
    9%
    工作中
    6
    开发者 6
    等级
    (13)
    项目
    20
    40%
    仲裁
    3
    0% / 67%
    逾期
    3
    15%
    空闲
    7
    开发者 7
    等级
    (20)
    项目
    23
    39%
    仲裁
    4
    25% / 50%
    逾期
    1
    4%
    空闲
    发布者: 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
    等级
    (318)
    项目
    565
    35%
    仲裁
    81
    31% / 44%
    逾期
    204
    36%
    空闲
    15
    开发者 15
    等级
    (635)
    项目
    1005
    47%
    仲裁
    33
    36% / 36%
    逾期
    99
    10%
    工作中
    发布者: 6 代码
    16
    开发者 16
    等级
    (71)
    项目
    103
    20%
    仲裁
    6
    0% / 83%
    逾期
    3
    3%
    空闲
    17
    开发者 17
    等级
    (44)
    项目
    51
    59%
    仲裁
    2
    100% / 0%
    逾期
    1
    2%
    空闲
    发布者: 5 代码
    18
    开发者 18
    等级
    项目
    0
    0%
    仲裁
    0
    逾期
    0
    空闲
    19
    开发者 19
    等级
    (1)
    项目
    1
    100%
    仲裁
    0
    逾期
    0
    空闲
    20
    开发者 20
    等级
    (22)
    项目
    29
    34%
    仲裁
    4
    50% / 25%
    逾期
    5
    17%
    工作中
    21
    开发者 21
    等级
    (8)
    项目
    14
    21%
    仲裁
    2
    0% / 50%
    逾期
    3
    21%
    工作中
    22
    开发者 22
    等级
    (31)
    项目
    38
    53%
    仲裁
    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
    等级
    (8)
    项目
    8
    0%
    仲裁
    2
    50% / 0%
    逾期
    1
    13%
    工作中
    27
    开发者 27
    等级
    项目
    0
    0%
    仲裁
    0
    逾期
    0
    空闲
    28
    开发者 28
    等级
    项目
    0
    0%
    仲裁
    0
    逾期
    0
    空闲
    29
    开发者 29
    等级
    (33)
    项目
    36
    33%
    仲裁
    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
    空闲
    相似订单
    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
    Hello I need to purchase the source code of an already built profitable mt5 EA with proven track recordIf you have something similar and you are open to selling the source code please apply to this post Please note I am not looking for a dev to build the product from scratch , but need something that is already built and have at least one year worth of track record
    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
    I need a professional MT5 Expert Advisor (MQL5) for XAU/USD (Gold) only. Requirements: - Symbol: XAU/USD only - Timeframe: H1 trend, M5 entry - Smart Money Concept (SMC) - Liquidity Sweep - Break of Structure (BOS) - Order Block Retest - Confirmation Candle (Engulfing or Pin Bar) - ATR-based Stop Loss - Risk:Reward = 1:3 (adjustable) - Auto Lot (1% risk) - Break Even - Trailing Stop - Maximum 2 trades per day - One
    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

    项目信息

    预算
    35+ USD