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%
    Serbest
    2
    Geliştirici 2
    Derecelendirme
    (51)
    Projeler
    71
    37%
    Arabuluculuk
    4
    25% / 75%
    Süresi dolmuş
    1
    1%
    Serbest
    Yayınlandı: 1 kod
    3
    Geliştirici 3
    Derecelendirme
    (111)
    Projeler
    184
    25%
    Arabuluculuk
    25
    16% / 76%
    Süresi dolmuş
    16
    9%
    Serbest
    4
    Geliştirici 4
    Derecelendirme
    (22)
    Projeler
    28
    7%
    Arabuluculuk
    9
    33% / 33%
    Süresi dolmuş
    1
    4%
    Çalışıyor
    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ı: 6 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
    (319)
    Projeler
    574
    35%
    Arabuluculuk
    83
    31% / 45%
    Süresi dolmuş
    207
    36%
    Serbest
    15
    Geliştirici 15
    Derecelendirme
    (636)
    Projeler
    1008
    47%
    Arabuluculuk
    33
    36% / 36%
    Süresi dolmuş
    99
    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
    (45)
    Projeler
    53
    57%
    Arabuluculuk
    2
    100% / 0%
    Süresi dolmuş
    1
    2%
    Serbest
    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
    (24)
    Projeler
    32
    38%
    Arabuluculuk
    4
    50% / 25%
    Süresi dolmuş
    5
    16%
    Çalışıyor
    21
    Geliştirici 21
    Derecelendirme
    (10)
    Projeler
    17
    18%
    Arabuluculuk
    2
    0% / 50%
    Süresi dolmuş
    3
    18%
    Yüklendi
    22
    Geliştirici 22
    Derecelendirme
    (31)
    Projeler
    38
    53%
    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
    1. EA OVERVIEW I need an Expert Advisor for METATRADER 4/5 that executes a directional trend- following + scaling strategy with multiple modes : Swing, Intraday, and Aggressive ( Martingale - style scaling) 2. ENTRY LOGIC Explain clearly: - EA opens first trade based on a defined signal ( let developer add indicator – based entry) - Direction: BUY or SELL allowed ( no restriction)
    PROJECT: Automatic Gold and Forex Trading Robot for MetaTrader 5 (MQL5) I want a fully automated Expert Advisor (EA) for MetaTrader 5 that can analyze the market and automatically open, manage and close trades on Gold and selected Forex currency pairs. 1. TRADING INSTRUMENTS - Gold: XAUUSD - Forex: EURUSD, GBPUSD and USDJPY, subject to broker availability. - Allow the user to enable or disable each trading symbol. -
    Hello, I want to create a custom Expert Advisor (EA) for MetaTrader 5 based on 3 main confirmations: Market Structure & Price Action: Identify high time-frame trend direction (HL/LH). Chart Pattern: Detect classic continuous/reversal patterns (e.g. Cup and Handle, Double Bottom/Top) on trading timeframe. Volume Profile (PoC): Confirm entry when price breaks/retests the Point of Control (PoC) level. Risk Management &
    I am looking for a highly skilled trading strategist and MQL5 developer with genuine experience in researching, designing, testing, and implementing systematic trading strategies. My primary interest is XAUUSD (Gold), although proven experience with other financial markets is also welcome. I am not looking for someone who simply converts trading rules into code. I want to identify a professional who understands
    We’re looking for an investment partner to help fund AegisGoldAIPro , an algorithmic trading platform being developed for MetaTrader 5, initially focused on gold. We’re building a modular system that combines market-structure analysis with planned AI-assisted decision support, risk controls, and automated execution. What we are building is not just a basic trading robots that depend on only one indicator or strategy
    Looking for a Complete Forex & Gold Signal System — Telegram Automation + Performance Tracking I’m looking for a complete automated trading signal solution for Forex pairs, including EUR/USD, GBP/USD and others, as well as gold (XAU/USD). Requirements: • An average of 2–3 quality signals per day across the selected instruments. Quality matters more than generating signals just to meet a quota. • A high win rate
    I need a robot that will grow small accounts to bigger amounts like this one in this link, https://youtu.be/d38pMbJihew?si=3NeIOVyrlwDr4X_o. Please click the link and watch how this EA grow small accounts. Then create a robot like that. I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $500 profit, it must
    Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
    i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
    MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical

    Proje bilgisi

    Bütçe
    35+ USD