Code a Layered Double Grid System

MQL5 Uzmanlar

Şartname

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








Yanıtlandı

1
Geliştirici 1
Derecelendirme
(62)
Projeler
90
29%
Arabuluculuk
24
13% / 58%
Süresi dolmuş
7
8%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(108)
Projeler
176
25%
Arabuluculuk
24
13% / 75%
Süresi dolmuş
16
9%
Çalışıyor
3
Geliştirici 3
Derecelendirme
(274)
Projeler
403
28%
Arabuluculuk
40
40% / 50%
Süresi dolmuş
1
0%
Serbest
4
Geliştirici 4
Derecelendirme
Projeler
0
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
5
Geliştirici 5
Derecelendirme
(47)
Projeler
67
37%
Arabuluculuk
5
40% / 40%
Süresi dolmuş
1
1%
Serbest
6
Geliştirici 6
Derecelendirme
(10)
Projeler
15
27%
Arabuluculuk
0
Süresi dolmuş
3
20%
Serbest
7
Geliştirici 7
Derecelendirme
(3)
Projeler
3
33%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
8
Geliştirici 8
Derecelendirme
(12)
Projeler
12
17%
Arabuluculuk
2
0% / 50%
Süresi dolmuş
1
8%
Serbest
9
Geliştirici 9
Derecelendirme
(31)
Projeler
35
46%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 3 kod
10
Geliştirici 10
Derecelendirme
(169)
Projeler
179
46%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
1
1%
Çalışıyor
11
Geliştirici 11
Derecelendirme
(2671)
Projeler
3404
68%
Arabuluculuk
77
48% / 14%
Süresi dolmuş
342
10%
Serbest
Yayınlandı: 1 kod
12
Geliştirici 12
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
13
Geliştirici 13
Derecelendirme
(7)
Projeler
8
13%
Arabuluculuk
6
33% / 33%
Süresi dolmuş
0
Serbest
14
Geliştirici 14
Derecelendirme
(271)
Projeler
553
50%
Arabuluculuk
57
40% / 37%
Süresi dolmuş
227
41%
Çalışıyor
15
Geliştirici 15
Derecelendirme
(618)
Projeler
1429
59%
Arabuluculuk
31
81% / 0%
Süresi dolmuş
10
1%
Serbest
16
Geliştirici 16
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
2
0% / 0%
Süresi dolmuş
0
Çalışıyor
17
Geliştirici 17
Derecelendirme
(7)
Projeler
6
33%
Arabuluculuk
7
0% / 71%
Süresi dolmuş
0
Serbest
Benzer siparişler
I am looking for an experienced MQL4 developer to create an Expert Advisor (EA) based on signals from a custom indicator. Requirements: 1. The EA must use a single custom indicator that draws buy and sell arrows directly on the chart. 2. When a buy arrow appears, the EA should wait until the current candle closes. If the arrow is still present after the candle closes, it should open a BUY trade. 3
Bhokhwe 30 - 200 USD
//+------------------------------------------------------------------+ //| ThreeBullEMA10EA | //| Strategy: 3 Bullish + EMA10 Break | //+------------------------------------------------------------------+ #property strict extern double LotSize = 0.01; extern int Slippage = 3; extern int MagicNumber = 12345; extern int EMA_Period = 10;
I have an expert advisor's investor login. I want you to study it and make me the exact same EA. There should be absolutely no differences or mistakes. You should have great observation skills for this aswell
I am looking for a developer to create an Expert Advisor (EA) for MetaTrader 5. Requirements: Trade XAUUSD (Gold) Automatically open and close trades Include Stop Loss and Take Profit settings Adjustable lot size and risk percentage Work on MT5 Allow me to change settings from the EA inputs Include backtesting support Source code preferred
> izz: #property strict input double LotSize = 0.01; input int BuyStopDistancePips = 50; input int SellStopDistancePips = 50; input int TrailingStartPips = 30; input int TrailingDistancePips = 30; input int MaxPositions = 3; input double StopLossPips = 0; input int MaxSpreadPoints = 300; input ulong MagicNumber = 20260702; input double DailyLossLimitUSD = 50; double PipValue; int digits; int OnInit() { digits =
Technical Description of the EA The Ghost Sovereign engine is a trend-following breakout system optimized for XAUUSD (Gold) . Its logic operates through several distinct layers: Trend Filtering: It utilizes a 144-period Exponential Moving Average (EMA) to establish the primary institutional trend direction . Momentum Entry: The EA executes trades when the closing price of the previous bar confirms a trend breakout
I have build a trading view indicator which monitors trades. The strategy is based on OB, it buys and sells bullish and bearish OB. Also valid re enters on the retest of orderblocks only if TP is hit the first time. I’m looking for someone to develop me a EA which works on the same logic and buys and sells of the same logic as my Indicator. I currently have my indicator firing signals into a telegram channel so I
TM 30+ USD
Order Block Forms / Price Touches │ ▼ Break Touch Candle High/Low │ ▼ Strength Alignment or BR Valid │ ▼ No Opposing OB within X Pips │ ▼ HL/LH Fractal OR Two-Candle Break │ ▼ ENTRY │ ▼ ──────── Trade Management ──────── │ ├─ Opposing OB Breached │ AND │ Opposite Strength Alignment or BR │ └──► Loss Exit │ ├─ Opposing OB Reached │
I am looking for an experienced MQL5 developer to code a simple grid trading strategy into an Expert Advisor. The strategy logic is already defined, and I am looking for someone with strong MQL5 development experience to implement it accurately and efficiently. If you are interested and have relevant experience, please get in touch so we can discuss the project details
I am looking for an experienced MQL5 or MQL4 developer with a strong background in low-latency algorithmic trading, market data integration, arbitrage and execution optimization. The project involves developing a high-performance HFT Expert Advisor (EA) for XAUUSD or US30 on IC Markets that is designed for robust execution in both demo and live environments. The EA may use market data feeds (such as lmax,one zero or

Proje bilgisi

Bütçe
30 - 50 USD
Son teslim tarihi
from 1 to 2 gün