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)
    项目
    70
    36%
    仲裁
    4
    25% / 75%
    逾期
    1
    1%
    空闲
    发布者: 1 代码
    3
    开发者 3
    等级
    (107)
    项目
    175
    25%
    仲裁
    23
    13% / 78%
    逾期
    16
    9%
    空闲
    4
    开发者 4
    等级
    (19)
    项目
    24
    8%
    仲裁
    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
    等级
    (314)
    项目
    561
    35%
    仲裁
    81
    31% / 44%
    逾期
    204
    36%
    工作中
    15
    开发者 15
    等级
    (633)
    项目
    1001
    47%
    仲裁
    33
    36% / 36%
    逾期
    98
    10%
    工作中
    发布者: 6 代码
    16
    开发者 16
    等级
    (71)
    项目
    103
    20%
    仲裁
    6
    0% / 83%
    逾期
    3
    3%
    空闲
    17
    开发者 17
    等级
    (40)
    项目
    43
    58%
    仲裁
    2
    50% / 0%
    逾期
    1
    2%
    工作中
    发布者: 5 代码
    18
    开发者 18
    等级
    项目
    0
    0%
    仲裁
    0
    逾期
    0
    空闲
    19
    开发者 19
    等级
    (1)
    项目
    1
    100%
    仲裁
    0
    逾期
    0
    空闲
    20
    开发者 20
    等级
    (18)
    项目
    25
    24%
    仲裁
    4
    50% / 25%
    逾期
    4
    16%
    已载入
    21
    开发者 21
    等级
    (5)
    项目
    10
    10%
    仲裁
    2
    0% / 50%
    逾期
    2
    20%
    工作中
    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
    等级
    (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
    空闲
    相似订单
    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
    Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade
    Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
    ART 1: NUMBER OF TRADES ALLOWED IN ONE DIRECTION: Maximum number of trades in one direction = ------------------------------ ------------------------------ ------------------------------ -------------- par PART 2 PARTIAL CLOSURE OF STOPLOSS: Total STOPLOSS =------ Pips 1a: Percentage of Stoploss =--% 1b Percentage of Lot size =--% 2a: Percentage oe of Lot size =--% f Stoploss =--% 2b
    MT5 Expert Advisor (EA) Acquisition Request – Proven XAUUSD Martingale / Grid EA I am looking to purchase a fully developed, actively traded, and proven MT5 Expert Advisor for XAUUSD (Gold) that uses Martingale, Grid, Averaging, Recovery, or Hybrid Recovery techniques. Mandatory Verification Requirement To be considered, please provide: - MT5 Investor Password (Read-Only Access) for verification - Account Number /
    Looking to buy profitable MT4/MT5 Expert Advisors (EAs). Requirements: • Fully automated • 6+ months backtest • 100+ trades • No martingale or grid systems Send: • Backtest report • Max drawdown • Markets traded • Brief strategy summary Only original EAs developed by you. Long-term collaboration available
    Live chart [ expert is not executing trades on xauusd ] , Deleting Existing Parameter not in use , Live Chart Adjustments Only , No Need to Change anything else , expert will be live testing Throughout
    Prepare expert for xauusd live chart [ expert is not executing trades on xauusd ] . Deletion and cleaning code . Trailing Stop Rule to follow the given method . Live Chart Only
    MT5 EA Developer for Structured ICT/SMC Market Logic Requirements Specification: I need an MT5 Expert Advisor only in MQL5. No indicator, no script, no DLL, and no external API. The EA must be built on a rule-based ICT/SMC-style framework with objective, backtestable logic. I am not looking for social-media-style ICT/SMC interpretation. I need a developer who can convert trading concepts into clear coding rules. The

    项目信息

    预算
    35+ USD