Tarea técnica

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. 

    Han respondido

    1
    Desarrollador 1
    Evaluación
    (22)
    Proyectos
    29
    3%
    Arbitraje
    4
    25% / 0%
    Caducado
    3
    10%
    Trabaja
    2
    Desarrollador 2
    Evaluación
    (51)
    Proyectos
    69
    35%
    Arbitraje
    4
    25% / 75%
    Caducado
    0
    Libre
    3
    Desarrollador 3
    Evaluación
    (104)
    Proyectos
    166
    24%
    Arbitraje
    23
    9% / 78%
    Caducado
    16
    10%
    Trabaja
    4
    Desarrollador 4
    Evaluación
    (18)
    Proyectos
    22
    9%
    Arbitraje
    6
    33% / 50%
    Caducado
    1
    5%
    Trabaja
    5
    Desarrollador 5
    Evaluación
    (75)
    Proyectos
    80
    6%
    Arbitraje
    46
    11% / 54%
    Caducado
    7
    9%
    Trabaja
    6
    Desarrollador 6
    Evaluación
    (12)
    Proyectos
    19
    42%
    Arbitraje
    3
    0% / 67%
    Caducado
    3
    16%
    Libre
    7
    Desarrollador 7
    Evaluación
    (19)
    Proyectos
    22
    36%
    Arbitraje
    3
    33% / 33%
    Caducado
    1
    5%
    Trabaja
    Ha publicado: 3 ejemplos
    8
    Desarrollador 8
    Evaluación
    (3)
    Proyectos
    3
    0%
    Arbitraje
    1
    0% / 100%
    Caducado
    0
    Libre
    9
    Desarrollador 9
    Evaluación
    Proyectos
    0
    0%
    Arbitraje
    0
    Caducado
    0
    Libre
    10
    Desarrollador 10
    Evaluación
    Proyectos
    0
    0%
    Arbitraje
    0
    Caducado
    0
    Libre
    11
    Desarrollador 11
    Evaluación
    Proyectos
    0
    0%
    Arbitraje
    1
    0% / 0%
    Caducado
    0
    Trabaja
    12
    Desarrollador 12
    Evaluación
    (4)
    Proyectos
    4
    0%
    Arbitraje
    1
    0% / 100%
    Caducado
    0
    Libre
    13
    Desarrollador 13
    Evaluación
    (3)
    Proyectos
    1
    100%
    Arbitraje
    3
    0% / 100%
    Caducado
    0
    Libre
    14
    Desarrollador 14
    Evaluación
    (308)
    Proyectos
    553
    35%
    Arbitraje
    79
    32% / 42%
    Caducado
    200
    36%
    Trabajando
    15
    Desarrollador 15
    Evaluación
    (626)
    Proyectos
    984
    47%
    Arbitraje
    33
    36% / 33%
    Caducado
    97
    10%
    Trabaja
    Ha publicado: 6 ejemplos
    16
    Desarrollador 16
    Evaluación
    (71)
    Proyectos
    103
    20%
    Arbitraje
    6
    0% / 83%
    Caducado
    3
    3%
    Libre
    17
    Desarrollador 17
    Evaluación
    (32)
    Proyectos
    32
    63%
    Arbitraje
    1
    0% / 0%
    Caducado
    1
    3%
    Trabaja
    Ha publicado: 5 ejemplos
    18
    Desarrollador 18
    Evaluación
    Proyectos
    0
    0%
    Arbitraje
    0
    Caducado
    0
    Libre
    19
    Desarrollador 19
    Evaluación
    (1)
    Proyectos
    1
    100%
    Arbitraje
    0
    Caducado
    0
    Libre
    20
    Desarrollador 20
    Evaluación
    (12)
    Proyectos
    16
    13%
    Arbitraje
    4
    50% / 25%
    Caducado
    4
    25%
    Trabaja
    21
    Desarrollador 21
    Evaluación
    (2)
    Proyectos
    4
    25%
    Arbitraje
    0
    Caducado
    1
    25%
    Trabaja
    22
    Desarrollador 22
    Evaluación
    (30)
    Proyectos
    37
    54%
    Arbitraje
    2
    50% / 50%
    Caducado
    3
    8%
    Libre
    23
    Desarrollador 23
    Evaluación
    (6)
    Proyectos
    4
    0%
    Arbitraje
    5
    0% / 100%
    Caducado
    0
    Libre
    24
    Desarrollador 24
    Evaluación
    (10)
    Proyectos
    14
    43%
    Arbitraje
    0
    Caducado
    3
    21%
    Libre
    25
    Desarrollador 25
    Evaluación
    (270)
    Proyectos
    552
    49%
    Arbitraje
    57
    40% / 37%
    Caducado
    227
    41%
    Trabaja
    26
    Desarrollador 26
    Evaluación
    (6)
    Proyectos
    6
    0%
    Arbitraje
    2
    50% / 0%
    Caducado
    1
    17%
    Libre
    27
    Desarrollador 27
    Evaluación
    Proyectos
    0
    0%
    Arbitraje
    0
    Caducado
    0
    Libre
    28
    Desarrollador 28
    Evaluación
    Proyectos
    0
    0%
    Arbitraje
    0
    Caducado
    0
    Libre
    Solicitudes similares
    Hello, I have a breakout EA with reversal logic. I own the full source code for both MT4 and MT5 versions. I need the modifications implemented for both MT4 and MT5 versions. I need several modifications: – Multiple reversals with configurable parameters – Breakeven functionality – Entry only after candle close beyond range + offset – Time-based activation – Alternative offset calculation logic – Automatic close at
    Hi I have a simple task (hopefully) I have a custom strategy that I built with the help of Claude Anthropic - everything is finished and I zipped it with power shell but when importing it NT8 gives me the error message that the file was made from an older, incompatible version or not a NinjaScript. My folder structure is correct as far I can see so I don't know what the issues is and it's costing me too much to go
    Do you happen to have a profitable strategy for MNQ? it is urgent if any one can help me with this i will be happy to discuss with you and move forward to pay for it kindly let me know the amount thank fill free to bid
    Subject: Development of Ultra-High Precision Confluence Indicator - M1 Binary Options (Non-Repaint) ​ Hello, I am looking for a Senior MQL5 Developer to create a custom "Surgical Precision" indicator for MetaTrader 5, specifically optimized for 1-minute (M1) Binary Options trading. The system must integrate three distinct layers of algorithmic analysis. ​ 1. Core Logic: Triple-Layer Confluence ​The signal (Call/Put)
    Looking for an experienced MQL5 developer to design and develop a custom Expert Advisor (EA) for MetaTrader 5. The purpose of this EA is not just automated trading, but also to help me better structure, test, and refine my personal trading strategy
    Freeallfree 400 - 800 USD
    Professional MT5 EA – XAUUSD I need a professional Expert Advisor for MT5 (MQL5) to trade XAUUSD only. This is not a random scalping bot. The EA must trade only high-probability liquidity breakouts during active sessions and avoid ranging or low-volatility markets. Symbol: XAUUSD Timeframe: M15 (optional H1 confirmation) Session filter (Dubai GMT+4): Trade only London and New York sessions Adjustable session times No
    An Expert KBFX 30+ USD
    Fill orders first execution and real time trading, my strategy is that wait for clean confirmation before entering the market and fill orders for a snappier entrance,then execute trade after making profit on the position
    MosesRobot 100+ USD
    "I am looking for an expert developer to build a custom Forex Expert Advisor based on my specific strategy. Requirements: Full Source Code (.mq5) must be delivered. I retain 100% Intellectual Property and ownership of the bot. Must include a Risk Management module (Fixed Lot or % of balance). Must include a Trailing Stop and Break-even feature. Bot must be compatible with the MT5 Strategy Tester for 99% quality
    Automated trading system 150 - 250 USD
    Anyone I need my own bot with my own licenses keys I will pay up please the bot must make good profit and I will pay up good money just hope it helps me
    Develop a fully automated MT5 Expert Advisor based on a multi-timeframe institutional trend-pullback strategy with: Regime filtering (H4) Execution logic (H1) ATR-based stop model Multi-stage trailing system Risk-based position sizing Portfolio-level risk protection Detailed performance logging This EA will be used for client capital (PAMM/MAM environment). Stability and risk control are higher priority than high

    Información sobre el proyecto

    Presupuesto
    35+ USD

    Cliente

    (13)
    Encargos realizados41
    Número de arbitrajes0