Code a Layered Double Grid System

MQL5 Experts

Spécifications

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








Répondu

1
Développeur 1
Évaluation
(62)
Projets
90
29%
Arbitrage
24
13% / 58%
En retard
7
8%
Travail
2
Développeur 2
Évaluation
(110)
Projets
182
25%
Arbitrage
24
17% / 75%
En retard
16
9%
Gratuit
3
Développeur 3
Évaluation
(274)
Projets
403
28%
Arbitrage
40
40% / 50%
En retard
1
0%
Gratuit
4
Développeur 4
Évaluation
Projets
0
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
5
Développeur 5
Évaluation
(47)
Projets
67
37%
Arbitrage
5
40% / 40%
En retard
1
1%
Gratuit
6
Développeur 6
Évaluation
(10)
Projets
15
27%
Arbitrage
0
En retard
3
20%
Gratuit
7
Développeur 7
Évaluation
(3)
Projets
3
33%
Arbitrage
0
En retard
0
Gratuit
8
Développeur 8
Évaluation
(12)
Projets
12
17%
Arbitrage
2
0% / 50%
En retard
1
8%
Gratuit
9
Développeur 9
Évaluation
(31)
Projets
35
46%
Arbitrage
0
En retard
0
Gratuit
Publié : 3 codes
10
Développeur 10
Évaluation
(171)
Projets
183
46%
Arbitrage
3
33% / 33%
En retard
1
1%
Chargé
11
Développeur 11
Évaluation
(2674)
Projets
3412
68%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
12
Développeur 12
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
13
Développeur 13
Évaluation
(7)
Projets
8
13%
Arbitrage
6
33% / 33%
En retard
0
Gratuit
14
Développeur 14
Évaluation
(271)
Projets
553
50%
Arbitrage
57
40% / 37%
En retard
227
41%
Travail
15
Développeur 15
Évaluation
(618)
Projets
1429
59%
Arbitrage
31
81% / 0%
En retard
10
1%
Gratuit
16
Développeur 16
Évaluation
(1)
Projets
1
0%
Arbitrage
2
0% / 0%
En retard
0
Travail
17
Développeur 17
Évaluation
(7)
Projets
6
33%
Arbitrage
7
0% / 71%
En retard
0
Gratuit
Commandes similaires
I need an MT5 Expert Advisor for a mean-reversion strategy on EURUSD: single entry at local price extremes, fixed stop loss and take profit, no grid and no averaging. Position size must be calculated automatically so that risk per trade is capped at a fixed USD amount, with a daily loss limit and a pause after consecutive losses. I will send the full specification — entry conditions, filters and all input parameters
I’m seeking a high‑reliability Expert Advisor that operates on ADX and Moving Average signals, capable of executing trades with strict error‑handling to ensure every operation is processed safely and efficiently. The EA should base its entry and exit logic on the direction of the Moving Average and the latest candle price , use ADX to confirm trend strength, allow a customizable lot size , and maintain robust
need to create specific alo which can be changed with diffrence currency and method, it consist of risk management in mariangle, period will be changed, if trades close it will start form there without restart the server
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
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
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

Informations sur le projet

Budget
30 - 50 USD
Délais
de 1 à 2 jour(s)