Code a Layered Double Grid System

MQL5 Experts

Specification

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








Responded

1
Developer 1
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
2
Developer 2
Rating
(109)
Projects
181
25%
Arbitration
24
17% / 75%
Overdue
16
9%
Working
3
Developer 3
Rating
(274)
Projects
403
28%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
4
Developer 4
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
5
Developer 5
Rating
(47)
Projects
67
37%
Arbitration
5
40% / 40%
Overdue
1
1%
Free
6
Developer 6
Rating
(10)
Projects
15
27%
Arbitration
0
Overdue
3
20%
Free
7
Developer 7
Rating
(3)
Projects
3
33%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(12)
Projects
12
17%
Arbitration
2
0% / 50%
Overdue
1
8%
Free
9
Developer 9
Rating
(31)
Projects
35
46%
Arbitration
0
Overdue
0
Free
Published: 3 codes
10
Developer 10
Rating
(171)
Projects
183
46%
Arbitration
3
33% / 33%
Overdue
1
1%
Loaded
11
Developer 11
Rating
(2674)
Projects
3412
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
12
Developer 12
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
(7)
Projects
8
13%
Arbitration
6
33% / 33%
Overdue
0
Free
14
Developer 14
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
15
Developer 15
Rating
(618)
Projects
1429
59%
Arbitration
31
81% / 0%
Overdue
10
1%
Free
16
Developer 16
Rating
(1)
Projects
1
0%
Arbitration
2
0% / 0%
Overdue
0
Working
17
Developer 17
Rating
(7)
Projects
6
33%
Arbitration
7
0% / 71%
Overdue
0
Free
Similar orders
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
MACD + EMA 30 - 100 USD
J’ai fais un indicateur tradingview que j’aimerai adapter à MT5. celui ci indique une flèche pour des achats ou des ventes lorsque le prix atteint un niveau tracé auparavant par l’indicateur également. Les conditions sont les suivantes : timeframe 1 minute Buy Stop / Sell Stop sur le niveau tracé. SL placé sur la EMA 21 au moment du du déclenchement de l’ordre avec possibilité de le modifier. Le TP à 1.5R
I need someone who can create a Trading Bot/AI or Expert Advisor (EA) for MetaTrader 5 (MT5) based on my manual trading strategy. My strategy uses only two indicators: Envelope and Moving Average. What I need is for the EA to accurately follow my manual trading logic and strategy, while also respecting the exact settings and parameters that I use for both indicators. This is not a Martingale strategy or anything

Project information

Budget
30 - 50 USD
Deadline
from 1 to 2 day(s)