Code a Layered Double Grid System

MQL5 Asesores Expertos

Tarea técnica

Code a grid expert advisor (EA) MQL5 that uses a sort of hedged laddering mechanism.

Core Logic Outline:

  1. Initial Setup:
    • Open a double trade (Buy & Sell) at the current market price.
    • Set two pending double trades (Buy/Sell limits) at a fixed distance on either side (e.g., ±X pips).
  2. On Trigger Event:
    • When price hits one of the pending double trade levels, execute the new double position.
    • Immediately:
      1. Close the profitable leg of the previous active double trade.
      2. Place a new double pending trade above the newly triggered trade.
      3. Replace the closed profitable trade (to restore the double trade structure).
  3. Loop:
  • Continue this cycle as the price moves, creating a self-adjusting grid that always maintains symmetry.

 

  1. In Summary
  • Each time a double trade pending orders line is triggered,
    • Close the profitable leg of the last double trade
    • Replace the close profitable trade with a pending order at its initial level
    • Create a new pending double grid order above it at the distance set in the input








Han respondido

1
Desarrollador 1
Evaluación
(62)
Proyectos
90
29%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
2
Desarrollador 2
Evaluación
(109)
Proyectos
181
25%
Arbitraje
24
17% / 75%
Caducado
16
9%
Trabaja
3
Desarrollador 3
Evaluación
(274)
Proyectos
403
28%
Arbitraje
40
40% / 50%
Caducado
1
0%
Libre
4
Desarrollador 4
Evaluación
Proyectos
0
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(47)
Proyectos
67
37%
Arbitraje
5
40% / 40%
Caducado
1
1%
Libre
6
Desarrollador 6
Evaluación
(10)
Proyectos
15
27%
Arbitraje
0
Caducado
3
20%
Libre
7
Desarrollador 7
Evaluación
(3)
Proyectos
3
33%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(12)
Proyectos
12
17%
Arbitraje
2
0% / 50%
Caducado
1
8%
Libre
9
Desarrollador 9
Evaluación
(31)
Proyectos
35
46%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 3 ejemplos
10
Desarrollador 10
Evaluación
(171)
Proyectos
183
46%
Arbitraje
3
33% / 33%
Caducado
1
1%
Trabajando
11
Desarrollador 11
Evaluación
(2674)
Proyectos
3412
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
12
Desarrollador 12
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
13
Desarrollador 13
Evaluación
(7)
Proyectos
8
13%
Arbitraje
6
33% / 33%
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
15
Desarrollador 15
Evaluación
(618)
Proyectos
1429
59%
Arbitraje
31
81% / 0%
Caducado
10
1%
Libre
16
Desarrollador 16
Evaluación
(1)
Proyectos
1
0%
Arbitraje
2
0% / 0%
Caducado
0
Trabaja
17
Desarrollador 17
Evaluación
(7)
Proyectos
6
33%
Arbitraje
7
0% / 71%
Caducado
0
Libre
Solicitudes similares
I trade NAS 100 using Harmonic Patterns. I want to create a MT5 EA to trade based on this indicator: https://www.mql5.com/en/market/product/78325?source=Site +Market+MT5+Indicator+Search+Rating006%3abasic+harmonic+patterns I want the EA to have the same take profit levels as indicator: TP1, TP2, TP3 (select in inputs which TP to use). The EA should also use the same Stop Loss as indicator, with the option to adjust
I am looking for a professional and market-savvy MQL developer to build a disciplined, stable Scalping Expert Advisor (EA). The ideal developer must have a solid understanding of Trend Identification, Fibonacci Levels, and Technical Indicators , alongside strict risk management implementation. Key Focus Areas & Developer Requirements: Market & Analysis Expertise: ⚬ Deep understanding of Trend direction (Market
LUCK 30+ USD
I want to work for me and make alot of money for me when. I want a trade bot on my mt5 .and show me all the thing's i want to see on my mt5 account
NYC 30+ USD
I need a ready-made professional trading EA similar to my current scalping bot, but improved for consistent profit and better risk control. Requirements: - Works on XAUUSD (M5 timeframe) - Fixed lot option (start with 0.01) - Opens only one trade at a time (no multiple positions) - Small, fast entries (scalping style) - Better risk-reward (SL must NOT be bigger than TP) - Breakeven function - Trailing stop to secure
Looking for an experienced MQL4 developer to restore functionality for an MT4 Expert Advisor I've used for 3 years. The software is showing a startup validation error, and I cannot reach the original developer. I'll provide all necessary files and proof of ownership. I don't have the code source just the .ex4 file. Scope of work: - Diagnose the startup validation error of the Expert Advisor - Restore normal
profitable EAs wanted with at least 3 to 5 years backtest. you be submit your proofs such as graphic results, backtesting results, and your demo or weekly the eas has traded
Fvg order 50 - 300 USD
Strategy Objective Create a disciplined, rules‑driven trading framework that identifies high‑probability reversals during the Asia session by leveraging levels formed in the final hours of New York. The goal is consistent execution, controlled risk, and scalable automation. Core Approach Track and define the key price extremes set during late New York trading. Monitor Asia session behavior for liquidity sweeps beyond
Requirements Specification GoldV16 V0 – MT5 XAUUSD Netting EA 1. Platform: - MetaTrader 5 - MQL5 - XAUUSD - NETTING account 2. Position rule: - Only ONE XAUUSD position may be open at any time. - Fixed lot only. - No Martingale. - No automatic lot increase. 3. Stop Loss: - Stop Loss must be sent immediately when a trade opens. - Default SL distance: 1.00 USD in gold price. - SL distance must be adjustable in Inputs
MQL5 developer needed to code a macro-driven gold trading Expert Advisor for MetaTrader. Body: We have a documented macro-driven trading strategy for gold that needs to be converted into a working MetaTrader Expert Advisor. Experience integrating external data sources, such as economic calendar events or interest rate and dollar index data, into MQL5 is required. An N.D.A. must be signed before strategy details are
I’m looking for an experienced MQL5 developer to create an MT5 EA similar to Iron Range, mainly for BTCUSD. It should use a range-based entry strategy, support market and pending orders, fixed-lot and percentage-risk sizing, stop loss, take profit, break-even, trailing stop, spread protection, and daily loss or drawdown limits. It should also work with different brokers and include adjustable settings for

Información sobre el proyecto

Presupuesto
30 - 50 USD
Plazo límite de ejecución
de 1 a 2 día(s)