Hedging EA using my strategy

MQL4 Asesores Expertos

Tarea técnica

Strategy:

Based on this Youtube video. please watch as all instructions are in it - https://www.youtube.com/watch?v=Fzh4dNhYga0

1. First trade is opened manually

2. Once trade is made, the EA is watching for manual trade placed and auto places a pending opposite stop (hedge) order at x pips (user configurable)

3. If pending stop (hedge) order is activated and makes x pips profit (user configurable) - close this open trade (NOT original manual trade).

4. Use some of profit made from hedge trade to close a portion of the original manually opened order. Also keep a portion of profit in account (user configurable)

5. When the opposite stop (hedge) order was closed in profit, then place another same direction as previous hedge trade stop order at x pips away, with TP of x pips. 

6. If price goes to profit for 2nd hedge order, repeat steps 3-5

7. If price goes back to TP of original manual order, then close that order at TP and place a trailing pending stop order in the same direction.

8. This process repeats until all orders are closed.

9. If there are a buy order AND sell open orders and are x pips away from each other - then allow user to place another manual order to open. EA then repeats the process from step 1 with this new manual order and uses profit to partially close the open original trades that are further away, then once original orders are closed it can then use profit to close the newer orders….,


Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(10)
Proyectos
13
31%
Arbitraje
2
50% / 0%
Caducado
1
8%
Trabaja
2
Desarrollador 2
Evaluación
(390)
Proyectos
416
30%
Arbitraje
74
19% / 72%
Caducado
52
13%
Trabaja
3
Desarrollador 3
Evaluación
(85)
Proyectos
174
44%
Arbitraje
3
100% / 0%
Caducado
5
3%
Libre
Ha publicado: 1 ejemplo
4
Desarrollador 4
Evaluación
(434)
Proyectos
640
53%
Arbitraje
34
62% / 21%
Caducado
6
1%
Trabaja
5
Desarrollador 5
Evaluación
(27)
Proyectos
27
26%
Arbitraje
2
0% / 50%
Caducado
1
4%
Libre
6
Desarrollador 6
Evaluación
(318)
Proyectos
565
35%
Arbitraje
81
31% / 44%
Caducado
204
36%
Libre
7
Desarrollador 7
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
8
Desarrollador 8
Evaluación
(471)
Proyectos
490
75%
Arbitraje
6
67% / 17%
Caducado
0
Trabaja
Solicitudes similares
Hello, I want this project to be a complete redesign, not just an update. My goal is to build an institutional-grade TradingView indicator that is extremely accurate, stable, fast, and completely non-repainting. You are free to modify, delete, replace, or completely rewrite any part of the code if it improves the final result. I don't care about preserving the current code or appearance—I only care about building the
I have few EAs that I want to place on market, but I can't due to some errors, please help me, because I am not a programmer. Source of code required, bug free version, ony my computer it must works not only on your computer
Hello dear all developers, I will find here python programmers? I would like to create an Expert Advisor, if you can you can convert, because I already have Expert Advisor written in mql5 or maybe you will create a bridge? it's up to you, but I need 1:1 copy
Hello! I am searching a professional programmer for regular works. I don't care if you have 1 projects done or 1000, show me your skills. I need to create an EA based on Zig Zag indicator and candlestick patterns, EA must works on all time frames, source of code required
My EA have bug 30+ USD
Expert Advisor have a bug, I tried to fix it somehow with searching on google, but I couldn't fix find a solution. Please fix it, I will send you erorr type, what line etc. Only serious programmers, not amateur please. My time is precious
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo
{ "strategy_name": "M5 EMA Scalper", "timeframe": "M5", "indicators": { "ema_fast": 20, "ema_slow": 50, "rsi": 14, "atr": 14 }, "entry_rules": { "buy": [ "EMA20 > EMA50", "Price closes above EMA20", "RSI > 55" ], "sell": [ "EMA20 < EMA50", "Price closes below EMA20", "RSI < 45" ] }, "risk_management": { "risk_per_trade": 1.0, "stop_loss_atr": 1.5, "take_profit_rr": 2.0
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
Hello All, can someone help me to make an EA base on MACD, https://www.mql5.com/en/code/14669 and RSI. If you are able to make this than please get me in touch, i will appreciated Thanks and best Regards Kodj007
EA 45 - 205 USD
If EMA20 > EMA50 AND RSI > 55 AND No Open Position THEN Buy SL = 50 pips TP = 100 pips If Profit > 30 pips Move SL to Break Even If Profit > 50 pips Enable Trailing Stop

Información sobre el proyecto

Presupuesto
50+ USD