Griding with hedged positions

MQL5 Indicadores Experts

Trabalho concluído

Tempo de execução 12 horas
Comentário do cliente
5 star
Comentário do desenvolvedor
Thank you and good luck

Termos de Referência

Hallo, I have a fully functional EA that grids according to the specific step I set.

All i need is when I enable hedging mode ->which you need to create. A hedge will open alongside my standard griding.

I AM available for assistance. 

Hedge positions will only open once and close once.

What I want is after position 1, for hedge positions to open with all the subsequent orders when price moves against my initial order. When price moves back in the right direction, the hedge can be closed, if it moves in wrong direction again, the hedge must be opened.

Hedge needs to be opened at the same price as the other order (give or take the swap)- for the intial hedge only.

I want the hedge to be closed when price move back into the right direction by (x pips) that I set.

When price moves into the wrong direction again, the hedge is not allowed to open again. Hedge positions may only open once and close once.

input paramater: enable or disable Hedging.

Comment in toolbox "Hedge" so i know its a hedge position.


Here is an example of what I want. SEE ATTACHED PICTURE

A. BUY opens.

B. Buy level 2 Opens alogn with a sell hedge (#2)

C. Buy level 3 opens along with sell hedge (#2)

D. Buy level 4 opens with a sell hedge (#3)

E. Buy level 5 Opens with Sell hedge (#4)

F. Sell hedge (#4) closes

G. Sell hedge (#3) closes.

market move past take profit and closes all open positions.


Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(1)
Projetos
2
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(72)
Projetos
80
10%
Arbitragem
38
8% / 58%
Expirado
6
8%
Livre
3
Desenvolvedor 3
Classificação
(298)
Projetos
427
26%
Arbitragem
18
61% / 33%
Expirado
26
6%
Livre
Publicou: 8 códigos
4
Desenvolvedor 4
Classificação
(467)
Projetos
486
75%
Arbitragem
6
67% / 17%
Expirado
0
Trabalhando
Pedidos semelhantes
Hello, Primary goal: convert the existing MQL5 strategy logic to Python as soon as possible and make it work for API trading (order management, exchange connection, basic bot structure). I want to keep the core logic unchanged . I haven’t chosen the exchange yet (must be usable in the EU ). Binance, OKX, Kraken, and Bybit are not options. Bitmart, pionex, gateio are options. Secondary goal (code reduction): the
This post is subject to developers response . Edit the post as you like . May be with me you can make a come back . So , , , Shift calculations . More to the calculation then you can comprehend is known . What else comes to your mind
This first robot I'm needing to order a robot that will help me with my trading and make it most efficient Help me with my margins my signals or anything I need to do associated to my trading or classroom
1- In the Universal EA that I currently have, in MA mode under the Take Profit options, when using the “Kill positions + clean one buy one” option, the counter resets itself before the accumulated loss is fully recovered while the loss stored in memory is being cleared. If fixing this is not possible, then I would like to modify the method as follows: Instead of clearing the accumulated losses in the Losses Pool one
1. Shift the Time Gate (Critical) Current start time: 08:30 New required start time: 08:35:01 The EA is currently triggering trades too early (between 08:25 – 08:30 ), which is causing incorrect entries. Please ensure the EA cannot enter any trade before 08:35:01 . 2. Change Order Execution Logic The current code is using Pending Orders . Please remove pending order logic completely . Replace it with Direct Market
Here is an example of Requirements Specification for the development of the MACD Sample Expert Advisor, which is available in the MetaTrader 5 standard package. 1. The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with the specified period
Here is an example of Requirements Specification for the development of the MACD Sample Expert Advisor, which is available in the MetaTrader 5 standard package. 1. The idea of the trading system is as follows: market entries are performed when MACD's main and signal lines intersect in the current trend direction. 2. Trend is determined based on the Exponential Moving Average with the specified period
I am looking for a pre-built MetaTrader 5 (MT5) Expert Advisor (EA) that can fully automate trading on major currency pairs such as EURUSD, AUDUSD, EURCAD, and USDCAD. Requirements: Fully automated trading (no manual intervention required) Compatible with MT5 platform Designed for consistent, long-term performance Demonstrated average monthly return of at least 3% Verified backtest and/or live trading results showing
Project Title Freedom ORB – Fully Automated MT5 Expert Advisor (ORB + Structure + Liquidity) (MT5) Project Description I require a fully automated MT5 Expert Advisor based on a structured Opening Range Breakout (ORB) model with market structure and liquidity confirmation. The EA must: Detect ORB session range Wait for breakout (close-based) Wait for retrace Confirm M1 structure + displacement Execute trade
Hello, I am a serious buyer looking to acquire an existing, stable, and profitable Expert Advisor (EA) designed specifically for: 👉 primarily (XAUUSD) or any fx This is a full buyout request, ⚠️ I am NOT looking to build a new EA from scratch. Only ready-made, proven systems with real performance history. ✅ EA Requirements (Strict) 📌 Symbol & Strategy ✔️ Trades Gold only (XAUUSD) ✔️ Price Action logic preferred

Informações sobre o projeto

Orçamento
40+ USD
Prazo
para 1 dias