EA for Dynamic Draw Down Protection Grid in MQL4

MQL4 Esperti

Lavoro terminato

Tempo di esecuzione 31 giorni
Feedback del dipendente
Good customer. Very easy to work with and very clear with what he wants. I would like to work with him again
Feedback del cliente
Professional, serious,easy to work with and competent. Nothing else to add - will work with again!

Specifiche

Dear developers!

I have an idea for an EA which manages bad positions through a dynamic hedge grid system. The purpose is to "catch" a bad position, prevent further DD and negative float, and ultimately close the position with fewer losses.

There are two ways to do this:

  1. If the market moves back towards the covered position, the hedge field follows and ultimately closes the distance between the hedge field and the covered position. Eventually the covered position returns to zero and everything can be closed.
  2. If the market moves in the wrong direction away from our covered position, the positive hedges created by the EA will eventually balance out the negative covered position, allowing all of the positions to be closed.

Additionally:

  • Considering that market consolidation / churn can lead to the unintentional closing of hedge positions, the EA will consistently replenish closed hedges according to specific rules.
  • Swap costs are not considered in this system therefore it is always possible to incur some losses, depending on the time needed to close a covered position.

All of the rules of this system are explained, with detailed operational examples, in the attached file.

Please don't hesitate to ask questions about the spec ahead of time.

While I have developed this protective system manually and it works fairly well, I am always happy to listen to any ideas for improvements that you may have.

Final deliverables:

  1. Error free .ex4 which works on any MT4 chart.
  2. The .mq4 source code so that I can further my own MQL4 learning objectives, and modify / use this code as I see fit.
A working solution is good. An elegant solution is better :)

Con risposta

1
Sviluppatore 1
Valutazioni
(174)
Progetti
200
12%
Arbitraggio
39
38% / 33%
In ritardo
5
3%
Gratuito
Pubblicati: 2 codici
2
Sviluppatore 2
Valutazioni
(7)
Progetti
12
42%
Arbitraggio
1
0% / 100%
In ritardo
2
17%
Gratuito
3
Sviluppatore 3
Valutazioni
(361)
Progetti
644
26%
Arbitraggio
92
72% / 14%
In ritardo
12
2%
In elaborazione
Pubblicati: 1 codice
4
Sviluppatore 4
Valutazioni
(15)
Progetti
17
6%
Arbitraggio
1
0% / 100%
In ritardo
1
6%
Gratuito
Ordini simili
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
Watcher position 30 - 100 USD
//+------------------------------------------------------------------+ //| synthetic tick generator based on two assets | //+------------------------------------------------------------------+ class CSyntheticTickGenerator { private : string symbol_a; string symbol_b; string synth_name; double ratio; double last_price_a; double
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run
Multi-Asset EA (XAUUSD / FRA40) with Time Filters, High-Impact News Avoidance, Advanced Risk/Lot Sizing, and H1 Breakout Strategy 1. RISK SETTINGS * Max Daily Loss Limit: (bool) Toggle true/false. If true, input double for max loss in currency (e.g., $500). If hit, close all positions and stop trading until next day. * Lot Sizing Mode: Dropdown menu: 1. Fixed Lots (e.g. 0.10); 2. Percentage Risk (%) based on Account
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Creating a bot using the Parabolic indicator with a simple interface.. I want a bot that uses the Parabolic SAR indicator only, with these orders attached to it. Boot name : HEMIN .FX Magic number : 000000 …………………………………………………. Trade behavior : regular OR inverse OR only long "buy" OR only short "sell" Timeframe : ………… Period: ……… ………………………………………………….. Lot size : ……………… Break even in points : …
I am looking for an experienced MQL5 EA developer to develop an MT5 EA by the observable trading behaviour from a supplied live XAUUSD trade history . The EA appears to use a simple grid/recovery/hedging strategy with alternating BUY/SELL positions and progressive lot sizes. I need the developer to Develop the EA for MT5 / XAUUSD . Reproduce the observed entry, grid/add-on, recovery/hedging, lot progression and
Project: Fix & Schedule My Dual Fibo Standard Fibonacci Bot I have an existing MQ4 expert advisor called "Dual Fibo Standard Fibonacci". It needs to process 1,000 clients. Right now it runs blindly with no schedule and takes way too long. I need you to optimize it so it runs like a professional business with a 50-100 batch printed stamp copy progress log. Please reply with your numbers for this simple layout: * Phase
Gold robot 30+ USD
Yes. This screen is asking you to write the Requirements Specification for your Gold/XAUUSD trading robot. Since you want your DEEPTHINK X10 institutional-style MT5 system , use this ready-to-paste specification: DEEPTHINK X10 GOLD ROBOT – MT5 EXPERT ADVISOR REQUIREMENTS Develop an advanced MetaTrader 5 Expert Advisor (EA) for XAUUSD (Gold) scalping based on a multi-factor DEEPTHINK X10 trading framework. 1. MARKET -
Need an MQL5 Expert Advisor for MT5 that automates my manual trading strategy. Entry logic: Enter only when trend direction, support/resistance level, and RSI all align (Triple Confirmation). Extra confluence from Smart Money Concepts (order blocks, Fair Value Gaps, BOS/CHoCH). Risk rules: 1% risk per trade, minimum 1:2 risk-reward, stop-loss at structure levels (not fixed pips). Must-haves: Works on Islamic

Informazioni sul progetto

Budget
30 - 150 USD
Scadenze
a 10 giorno(i)