Hedge EA V1

MQL4 Uzmanlar

İş tamamlandı

Tamamlanma süresi: 23 saat

Şartname

Hedge EA V1

Here's an example of what i need done:

1) Let's say that I want LONG on EURUSD at 1.0600 - 5:00 PM 

2) Now at 5:03 PM, price has risen to 1.0602 which means that I'm up +2 pips in profit on my initial LONG position.

3) The EA will need to lock in the 2 pips by opening a SELL position at 1.0602. 

4) The SELL position must be made as a Market Order, if the "Hedge Lockin Pip" amount is below the "Broker Limit Restriction".

5) If not the SELL position should be made as a Pending Limit Order, if the "Hedge Lockin Pip" amount is above the "Broker Limit Restriction".

6) Once that's done the EA will then need to close the Initial and Hedge Orders based on a specific "Hedge Expiry Minute", so for example lets say that i have setup 10 mins, then the EA will close the LONG and SHORT position at 5:13 PM.

7) Now if the Hedge Order was not able to be open within the expiry time of the Initial Order, then the EA will need to close the Initial Order but ONLY if the order is equal or greater then the "Close Pip Amount" parameter.

  • So for example if the Initial Orders expiry is set to 10 minutes then once 5:10 pm has been reached the EA will need to first check to see if the Hedge was initiated during that time if not then the EA will need to check to see if the Initial Order is equal or greater then the "Close Buffer Amount", and if it is then the EA should close the position. 
  • If i set the Close Buffer Amount at "1" then the Initial LONG position will need to be 1.0601 or greater for the EA to close the position, and the EA will need to constantly check for these condition till the Initial Order get closed by the EA or manually.

8) If the Initial Order was made as a Pending Order, then the Hedge Order should be placed instantly onto the Account unless it has to be a Market Order, in case of it being within the Brokers Limit Order Restriction.

9) The EA should base these conditions on all orders that are placed onto the account, so there no need for a specific comment or etc to recognize the order.

10) If the Negative Slippage exceeds the users set amount on the Hedging Market Orders, the EA will need to wait and keep retrying the Order again ONLY if the conditions are as explained below. The EA should keep checking for these conditions till the Initial Order expiry has been reached.

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

EA Input Settings

Hedge Lockin Pips  = This is the amount of pips in profit the Initial Order has to be in for the EA to open a Hedging Order.

Stoploss Pip Amount = This will be the Stoploss Amount in pips, that the EA will use, but ONLY for the Initial Order, plus if i set the parameter to "0" it should disable the Stoploss from being placed on the Initial Order unless done manually.  

Close Buffer Amount = This parameter should only work along side the "Initial Expiry Minutes", so basically the EA will only close the Initial Order once the required amount of pips in profit is equal or great then this amount set by the user.

Initial Expiry Minutes = This parameter should only be used if the Hedge Order was not able to be created within the time the Initial Order formed and the expiry minute that was set by the user. Now once this happens the EA will then need to check to see if the Initial Order is equal or great then the Close Pip Amount, if it is then the EA should close the Initial Order. However if its not then the EA should only close the order once it reaches the required Close Pip Amount.  

Hedge Expiry Minutes = This is used to close the Initial Order and Hedge Order, once the Hedge Order has been activated. This will be based on the opening time of the Hedge Order and the expiry minute set by the user for this parameter.

Broker Limit Restriction = This parameter will decide if the Hedge Order should be a Market Order or a Limit Order as some brokers have restrictions on how close a pending order can be placed onto the account, so therefore if i set 5 pips on this parameter then any "Hedge Lockin Pips" 5 or greater will need to use a Limit Order when placing the Hedge Orders. If the "Hedge Lockin Pips" is below 5 pips then the EA will need to use a Market Order for any Hedge Orders. If i set this parameter to 0 then the EA will use Limit Orders for all Hedge Orders.

Order Negative Slippage = This parameter will decide the amount of negative slippage that should be allowed on each Hedging Market Order, so for example if i set this parameter to 0.5 then it means that if my Lockin Pips is 2 pips and we experienced Negative Slippage of around 0.5 which means the EA was only able to Lockin 1.5pips, then the EA will need proceed with the Hedge Market Order. ONLY if it was lets say 0.6 then it will need to wait till difference moves back to 0.5 or better.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(365)
Projeler
507
40%
Arabuluculuk
159
17% / 74%
Süresi dolmuş
99
20%
Yüklendi
2
Geliştirici 2
Derecelendirme
(1125)
Projeler
1813
61%
Arabuluculuk
14
64% / 7%
Süresi dolmuş
84
5%
Serbest
3
Geliştirici 3
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
4
Geliştirici 4
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
5
Geliştirici 5
Derecelendirme
(26)
Projeler
29
3%
Arabuluculuk
11
9% / 73%
Süresi dolmuş
3
10%
Serbest
Yayınlandı: 1 kod
6
Geliştirici 6
Derecelendirme
(414)
Projeler
670
33%
Arabuluculuk
60
17% / 32%
Süresi dolmuş
113
17%
Çalışıyor
7
Geliştirici 7
Derecelendirme
(89)
Projeler
137
24%
Arabuluculuk
35
9% / 40%
Süresi dolmuş
52
38%
Serbest
8
Geliştirici 8
Derecelendirme
(29)
Projeler
49
22%
Arabuluculuk
14
29% / 21%
Süresi dolmuş
13
27%
Serbest
9
Geliştirici 9
Derecelendirme
(121)
Projeler
134
66%
Arabuluculuk
36
25% / 56%
Süresi dolmuş
22
16%
Serbest
Yayınlandı: 10 kod
10
Geliştirici 10
Derecelendirme
(130)
Projeler
210
40%
Arabuluculuk
90
20% / 43%
Süresi dolmuş
85
40%
Serbest
Benzer siparişler
Scalping EA/straddle 30 - 200 USD
Title: Custom EA: Dynamic Trailing Limit Grid with Volatility/Velocity Filter and Auto SL/TP Description: I am looking for an experienced MQL5 programmer to develop a high-performance, robust Expert Advisor (EA) for MetaTrader 5. The strategy relies on dynamic trailing limit orders that automatically adjust to market price changes, featuring a safety buffer during high-velocity price spikes. The EA must include the
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
Subject: Looking for an Experienced MQL Developer for Long-Term Collaboration (Mechanical Strategy) Hello everyone, I am reposting my request from last year. Due to work commitments, I couldn't dedicate time to this project back then, but now I am fully ready to move forward. I am looking for a highly experienced, verified MQL4/MQL5 programmer to automate my trading strategy. About the project: Rule-based &
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

Proje bilgisi

Bütçe
10 - 100 USD
Son teslim tarihi
from 1 to 3 gün