Hedge Update 2 (for Lazar Buga)

MQL4 Experts

Spécifications

=============
Hedge EA Version 4.0
=============

1) Readjust Horizontal Lines = Yes/No

* When this parameter is set on Yes, then the EA will need to readjust the Entry Pending Order, Hedge Entry Order, TP or SL whenever i move any of the Horizontal Lines. 

* When this parameter is set to No, then any readjustments made to the Horizontal Lines shouldn't be done, like how the EA is at the moment.

* When this parameter is set from Yes to No, and there was a readjustment done to the Levels then the EA will need to readjust back to the EA settings.

* Now let's say that I've made readjustments by dragging the Horizontal Lines, and now I decide to make changes to the EA setting in real time then the EA will need to readjust the levels again according to the new settings. Now again I decide to make changes to the Horizontal Lines than the EA should continue to make the required changes. so basically I require the EA to be very customisable.

* If the Hedge Entry Order is changed manually then the new Hedge Distance should be applied to all new hedge orders opened for that basket. Unless I change the EA Hedge Distance input settings manually then the EA will need to readjust accordingly.

* Please Note that if the Horizontal Lines of the "Initial / Hedge Order" , "Take Profit" or " Stoploss" are removed the EA should then remove the required function.

======================================================================================================

2) Readjusted Hedge TP and SL Default = Yes/No

When this parameter is set on Yes, and If the Hedge Take Profit or Stoploss Horizontal Lines were readjusted than these changes should apply for all future Hedge Orders in the basket, so for example if i made changes to Hedge Order 1 Take Profit and Stoploss the same pip distance should be used for the remaining Hedge Orders in the basket.

When this parameter is set on No, then the EA should only apply these changes to Hedge Order 1. So therefore Hedge Order 2 will continue to use the Imputed EA settings, unless changed manually again. 

When this parameter is set from Yes to No,  then the next Hedge Order in the basket should revert back to the EA Input settings. So for example if the next Hedge Order is 4 then the EA must use the Take Profit or Stoploss of Hedge Order 6

* Please Note that this parameter should only work if the "Readjust Horizontal Lines" parameter is set on Yes.

======================================================================================================

3) Initial Stoploss Type = 

(i) Pips Amount 
(ii) Distance Amount 
(iii) Disable Stoploss

4) Initial Take Profit Type = 

(i) Pips Amount 
(ii) Distance Amount 
(iii) Disable Take Profit

5) Initial Stoploss Amount

6) Initial Take Profit Amount

--------------------------------------

7) Hedge Stoploss Type =

(i) Pips Amount
(ii) Distance Amount
(iii) Disable Stoploss

8) Hedge Take Profit Type = 

(i) Pips Amount 
(ii) Distance Amount
(iii) Disable Take Profit

9) Hedge Stoploss List Amounts 

10) Hedge Take Profit List Amounts

--------------------------------------

* I should be able to choose between having the Initial / Hedge Order Take Profit or Stoploss at a specific Pip Amount or at a specific Distance Amount.

* The Distance Amount should be based on the distance between the Initial Orders entry price and the next Hedge Orders entry price, so for example if the distance between the entries is 100 pips and I set the Take Profit distance as  1 than the EA will place the Take Profit as 100 pips.

======================================================================================================

11) Initial Buy Market Order

* When a Horizontal Line is set with a specific text it will remove the previous Buy Initial Pending Orders and make this Horizontal Line as the  new and only Initial Buy Pending Order open at the current time.

12) Initial Sell Market Order

* When a Horizontal Line is set with a specific text it will remove the previous Sell Initial Pending Orders and make this Horizontal Line as the  new and only Initial Sell Pending Order open at the current time.

======================================================================================================

13) Initial Candle Close Buy Order

* When a Horizontal Line is set with a specific text it will it should replace it with a Initial Pending Order Horizontal Line and than place a Buy Market Order only once the first candle that closes above or below the horizontal line, this should only happen once.

14) Initial Candle Close Sell Order

* When a Horizontal Line is set with a specific text it will it should replace it with a Initial Pending Order Horizontal Line and than place a Sell Market Order only once the first candle that closes above or below the horizontal line, this should only happen once.

======================================================================================================

15) Only 1 Initial Buy Pending Order

* When a horizontal line is set with a specific text it will remove the previous Buy Initial Pending Orders and make this as the only Initial Buy Pending Order.

16) Only 1 Initial Sell Pending Order

* When a horizontal line is set with a specific text it will remove the previous Sell Initial Pending Orders and make this as the only Initial Sell Pending Order.

======================================================================================================

17) Reactivate Initial Stoploss
18) Reactivate Hedge Stoploss
19) Reactivate Initial Take Profit
20) Reactivate Hedge Take Profit

* When a horizontal line is set with a specific text for the above parameters it will reactivate either the Initial / Hedge Take Profit or Stoploss which was previously removed manually by the user.

======================================================================================================

21) Initial Breakeven Plus 

This is the amount of pips to move the SL to once the Initial Breakeven Function has been activated.

======================================================================================================

22) Place Horizontal Pending Lines = Yes/No

This will place the Hedge Order, Take Profit and Stoploss Horizontal Lines once the Initial Pending Order is placed onto the account,

so that the User can readjust them before the activation of the Initial Pending Order.

======================================================================================================

23) OCO for Initial Pending Orders = Yes/No

So when enabled, the EA will delete all other Initial Pending Orders once the first Initial Pending Order gets activated.

So for example lets say that we have an Initial Buy Stop and a Initial Sell Stop before NFP, and the Buy Stop gets activated the EA should then remove the Initial Sell Stop.

======================================================================================================

Répondu

1
Développeur 1
Évaluation
(312)
Projets
521
47%
Arbitrage
29
10% / 45%
En retard
139
27%
Travail
Commandes similaires
Please programm liquidity sweep based on my 0/1 conditions. I will contact selected candidates, btw, Maybe you did already liquidity sweep, it would be very nice, you will have better understanding what I mean, source of code required
I need an ea send news low medium or high to my telegram channel or group with topic news news news news news n n n j j i i i o
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

Informations sur le projet

Budget
150 USD
Délais
à 5 jour(s)