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
(472)
Projetos
491
75%
Arbitragem
6
67% / 17%
Expirado
0
Livre
Pedidos semelhantes
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing
I want someone to check if the indicator is re-painting or drawing and modify it. When I refresh the chart sometimes it the buy and sell arrow change positions. I want the indicator draw and dot re-paint
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
Hello, I need a custom NON-REPAINT MT5 indicator that gives sell/buy arrow signals 1–2 candlesticks before a spike on Crash and boom indices respectively occurs. Requirements: Works perfectly on MT5 Shows arrows before the spike (1–2 candles earlier). Non-repaint – once the arrow appears, it must stay. Should be accurate, not quantity — only quality signals. Must work on both demo and live accounts. I want the
Hello, I saw an indicator on TradingView and would like to know if you will be able to convert it for use on Thinkorswim platform? Thanks. if anyone can help me with it kindly do well to bid it urgent thanks looking forward too see you
calcVolume( void ) { //--- MqlRates rates[]; if ( CopyRates ( _Symbol , PERIOD_CURRENT , startTime, endTime, rates) > 0 ) { double rangeHigh = rates[ 0 ].high, rangeLow = rates[ 0 ].low; int count = MathAbs ( iBarShift ( _Symbol , PERIOD_CURRENT , startTime) - iBarShift ( _Symbol , PERIOD_CURRENT , endTime)) + 1 ; //---VERTICAL PRICE RANGE for ( int b = 0
Create an MT5 Expert Advisor (EA) for trading Gold (XAUUSD). The EA should provide BUY and SELL signals based on trend direction, market momentum, and price action. It should automatically place trades only when the entry conditions are met. Risk management: Use a small adjustable lot size. Include Stop Loss (SL) and Take Profit (TP). Include a maximum daily loss limit. Include a maximum number of open trades. Do not

Informações sobre o projeto

Orçamento
40+ USD
Prazo
para 1 dias