Hedge EA V1

MQL4 Experts

Trabalho concluído

Tempo de execução 23 horas

Termos de Referência

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.

Respondido

1
Desenvolvedor 1
Classificação
(365)
Projetos
507
40%
Arbitragem
159
17% / 74%
Expirado
99
20%
Carregado
2
Desenvolvedor 2
Classificação
(1125)
Projetos
1813
61%
Arbitragem
14
64% / 7%
Expirado
84
5%
Livre
3
Desenvolvedor 3
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(26)
Projetos
29
3%
Arbitragem
11
9% / 73%
Expirado
3
10%
Livre
Publicou: 1 código
6
Desenvolvedor 6
Classificação
(414)
Projetos
670
33%
Arbitragem
60
17% / 32%
Expirado
113
17%
Trabalhando
7
Desenvolvedor 7
Classificação
(89)
Projetos
137
24%
Arbitragem
35
9% / 40%
Expirado
52
38%
Livre
8
Desenvolvedor 8
Classificação
(29)
Projetos
49
22%
Arbitragem
14
29% / 21%
Expirado
13
27%
Livre
9
Desenvolvedor 9
Classificação
(121)
Projetos
134
66%
Arbitragem
36
25% / 56%
Expirado
22
16%
Livre
Publicou: 10 códigos
10
Desenvolvedor 10
Classificação
(130)
Projetos
210
40%
Arbitragem
90
20% / 43%
Expirado
85
40%
Livre
Pedidos semelhantes
Andrew 50 - 200 USD
Hello, I am from Tanzania. I am looking for a professional MQL5 programmer from Tanzania who can help me develop and improve my automated MT5 trading robot. The project is called SMC XAVAGE AI, and it trades XAUUSD (Gold). I would like to discuss the project with you. Are you based in Tanzania? Would it be possible to arrange a meeting or a call? Thank you
Metafix 50 - 200 USD
Here is a professional specification you can send directly to your developer. # Project Requirements Specification: MetaTrader 5 Trading Robot Development ### 1. Project Overview I want to develop an automated Forex trading robot (Expert Advisor) for MetaTrader 5 (MT5). The robot should analyse the financial markets, identify trading opportunities, and execute trades automatically based on predefined strategies. ###
1. Platform: MT4 The EA required is not linked, neither depending on trading strategy nor trading signals nor indicators. 2. Initial order is a pending order (buy stop/ sell stop) and it is created manually. It is open for a specified symbol (pair) at a specified price with a specified S/L 3. Example: buy stop 0.1 lot GBPUSD @ 1.3085 WITH S/L @1.3075 Once target price is reached, pending order will
Overview: Build an MT5 Expert Advisor that receives webhook alerts from TradingView (RayAlgo indicator) across three timeframes ( H1, M5, M1 ) for XAUUSD and executes a dual-position strategy when all three conditions align, including strict FTMO server-request limits and automated pre-market-close trade closures. 1. Webhook Receiver & Multi-Timeframe State Logic: H1 Bias State: Updates to BULLISH or BEARISH upon
I am looking for an experienced trading software developer interested in building a long-term working relationship. Im a professional Trader, Coach and Mentor, I work with traders and Student who require customized trading solutions, including automated trading bots, Expert Advisors, custom indicators, trading strategies and other algorithmic trading tools. I am looking for a technically skilled developer who can
Salman serhal 30 - 100 USD
MT5 ICT XAUUSD Sell-Only Trading Robot with Fibonacci Confirmation I am looking for an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5, specifically for trading Gold (XAUUSD). 1. Trading Strategy The robot must use the ICT trading methodology and focus on SELL trades only. The strategy should include: * Identify important resistance and premium zones. * Use Fibonacci retracement
Objective: I am looking for an experienced MQL5 quantitative developer to code an Expert Advisor (EA) from scratch based on a fully defined, rule-based strategy, and then rigorously validate, optimize, and stress-test it before I deploy it on a live VPS environment. Note: The exact mathematical rules, indicator names, and chart screenshots will be shared privately with shortlisted candidates. Strategy Overview
Hi Team We are looking to commission an Expert Advisor (EA) for MetaTrader 5 (MT5) to trade XAUUSD (Gold) . The EA requires tight risk management with a strict $2.00 Stop Loss and a $3.00 to $5.00 Take Profit target. The goal is to achieve a 60%+ Win Rate . Please propose or implement a strategy algorithm capable of meeting the following performance requirements on XAUUSD tick data: Target Performance: $\ge 60\%$ Win
O Trading Ventures 30 - 2000 USD
a trading bot that can open and close trade by its self a stop loss of 1.2 lot size and good tp it should be able to learn trends and learn from its mistakes
JOB SPECIFICATION: Fully Automated ES/MES 5-Minute NY Opening Range Breakout EA 1. Project objective I am looking for an experienced trading algo developer to build a fully automated trading bot (EA) based on my specific 5-minute New York Opening Range Breakout strategy. The EA must identify setups, confirm breakouts, identify retests, confirm continuation, execute trades, calculate position size, place stop-loss and

Informações sobre o projeto

Orçamento
10 - 100 USD
Prazo
de 1 para 3 dias