Code a Layered Double Grid System

MQL5 Esperti

Specifiche

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








Con risposta

1
Sviluppatore 1
Valutazioni
(60)
Progetti
87
29%
Arbitraggio
24
13% / 58%
In ritardo
7
8%
In elaborazione
2
Sviluppatore 2
Valutazioni
(103)
Progetti
165
24%
Arbitraggio
23
9% / 78%
In ritardo
16
10%
In elaborazione
3
Sviluppatore 3
Valutazioni
(271)
Progetti
400
27%
Arbitraggio
39
41% / 49%
In ritardo
1
0%
Gratuito
4
Sviluppatore 4
Valutazioni
Progetti
0
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
(47)
Progetti
67
37%
Arbitraggio
5
40% / 40%
In ritardo
1
1%
Gratuito
6
Sviluppatore 6
Valutazioni
(10)
Progetti
15
27%
Arbitraggio
0
In ritardo
3
20%
Gratuito
7
Sviluppatore 7
Valutazioni
(3)
Progetti
3
33%
Arbitraggio
0
In ritardo
0
Gratuito
8
Sviluppatore 8
Valutazioni
(12)
Progetti
12
17%
Arbitraggio
2
0% / 50%
In ritardo
1
8%
Gratuito
9
Sviluppatore 9
Valutazioni
(31)
Progetti
35
46%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 3 codici
10
Sviluppatore 10
Valutazioni
(133)
Progetti
142
38%
Arbitraggio
3
33% / 33%
In ritardo
1
1%
In elaborazione
11
Sviluppatore 11
Valutazioni
(2639)
Progetti
3354
67%
Arbitraggio
77
48% / 14%
In ritardo
342
10%
Gratuito
Pubblicati: 1 codice
12
Sviluppatore 12
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
13
Sviluppatore 13
Valutazioni
(7)
Progetti
8
13%
Arbitraggio
6
33% / 33%
In ritardo
0
Gratuito
14
Sviluppatore 14
Valutazioni
(270)
Progetti
552
49%
Arbitraggio
57
40% / 37%
In ritardo
228
41%
In elaborazione
15
Sviluppatore 15
Valutazioni
(618)
Progetti
1428
59%
Arbitraggio
31
81% / 0%
In ritardo
10
1%
Gratuito
16
Sviluppatore 16
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
2
0% / 0%
In ritardo
0
In elaborazione
17
Sviluppatore 17
Valutazioni
(7)
Progetti
6
33%
Arbitraggio
7
0% / 71%
In ritardo
0
Gratuito
Ordini simili
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
I’m looking for a trading bot where I can use a balance of £1000 to make regular entries making £20-£40 per entry. obviously, I want to have minimum loss with a lot more profit being made
I want an mt5 advisor which use advanced strategies like Accumulation, manipulate, distribution plus ABC pattern Recognition , Smart filters, Rsi + Ema crossovers, Hidden SL, partialTPs and dynamic lot sizing , works on Forex and crypto fully automated no expiry
Gold robot for 1 minute 100 - 150 USD
I need a EA as per the attached video. I need the same type of EA, once it is ready share the video of any demo account. if everything is ok I will purchase immediately. thank you
I’m hiring an experienced MQL5 developer to finish and fix an existing project (NOT building from scratch). I have: An existing MT5 EA (.mq5 + .ex5) that is based on my TradingView logic A TradingView indicator version used for signals/alerts The EA works but has logic/consistency issues and needs improvements + cleanup Goal Make the EA reliable and consistent: Ensure entries/exits match the intended logic Fix

Informazioni sul progetto

Budget
30 - 50 USD
Scadenze
da 1 a 2 giorno(i)