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
199
12%
Arbitraggio
38
37% / 34%
In ritardo
5
3%
In elaborazione
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
//+------------------------------------------------------------------+ //| ProTradingEA MT5 | //| Fully MT5-compliant with MACD, Trailing Stop, Break-Even | //+------------------------------------------------------------------+ #include <Trade\Trade.mqh> CTrade trade; // Optional override input string SymbolOverride = ""; // leave blank to auto-detect struct EASettings { int
I have access to an MT5 account. I have investor access. I would like to know if someone could help me create a bot that copies only the trades made on XAU/USD in that account but in my MT4 account. In that account, many trades are made across various pairs, and I realize that the conditions of their account are not very favorable for the type of trading they do, as the commissions are very high. I have an account
Good day, I would like to have an expert advisor for my MT4 indicator (Major key alert) that can scan and provide push notification messages for entry opportunities across different time frames when a when a signal is identified
"I need an MT5 EA based on price action — liquidity sweep + hammer/shooting star reversal strategy. TREND: Identified by HH/HL for uptrend, LL/LH for downtrend on selected timeframe. No trade in ranging conditions. BUY SETUP: In uptrend, price retraces to swing low zone, wicks below it (liquidity sweep), hammer forms (lower wick min 2x body, closes above swept low). Buy stop entry at hammer high. SL below hammer
I need a professional MQL5 developer to finalize a Gold (XAUUSD) trading bot. The core layering and support-filter logic is already drafted. Key Requirements: Refine a hybrid Martingale/Layering volume calculation (1-10 / 11-20 reset logic). Implement a robust "Safety Mode" based on Daily Low price breaks. Ensure precise 6:00 AM Server Time reset for logic variables. Add professional error handling (Slippage
I want a gold order management ea that should be like the below... Pending orders When I open one manual order, ea should be able to set 3 pending orders at x amount of pips below (if buy order) or above (if sell order) manual order entry. So like this Pending order 1 true or false Pending order pips away: 20. Pending order lot size:0.3 Pending order 2 true or false Pending order pips away: 40 Pending order lot
EA SPECIFICATION SHEET OBJECTIVE: Build a transparent, non-martingale, non-grid breakout EA for XAUUSD that trades only high‑quality breakouts during London + New York sessions. 1. TRADING INSTRUMENT - XAUUSD only - MT4 platform - 5‑digit ECN broker 2. CORE STRATEGY LOGIC (BREAKOUT + CONFIRMATION) A trade is allowed ONLY when ALL conditions are true: - Candle closes beyond previous high/low (no wick breakouts) -
I am looking to develop a custom Expert Advisor (EA) for MetaTrader (MT4/MT5) based on a defined technical analysis strategy and flexible risk management rules. The EA should operate on a chart and timeframe that I manually specify, with the ability to adapt its behavior dynamically when the timeframe is changed. Core Strategy Logic The EA will execute trades based on predefined technical analysis zones
MT5 Manager API 30+ USD
make an api for mt5 and a trade copier eith the api thst uses local computer no cloud trader api ea mt5 that saves all trade data nd logs time and entry and exit tp sl logs delted pending order api that uses market execution not pending orfer
Hello, we have an existing EA, and are building a new one. We want our EA to connect via API to an AI provider like Chat GPT, Claude, or perplexity. Can you connect a meta trader EA to an AI agent? if you can then i would like to speak. The system is quite simple, for example the EA would ask perplexity where the support is on EURUSD then place a trade, thank you, Rob

Informazioni sul progetto

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