EA MT5 Pyramiding Grid Trader

MQL5 Experts

Trabalho concluído

Tempo de execução 9 dias
Comentário do cliente
Efficient ✅
Comentário do desenvolvedor
Good Client, Prefer to do business with him

Termos de Referência

📑 Specification – Directional Grid EA (MQL5)

Name of the EA 7126.01

1. Purpose of the EA

A directional grid Expert Advisor that opens positions only in the chosen direction (LONG or SHORT), never using limit orders.
All positions are triggered exclusively via STOP orders (Buy Stop in bullish scenario, Sell Stop in bearish scenario).


2. Entry Logic

Bullish scenario (Direction = Long):

  • No BUY LIMIT orders allowed.

  • The first order is a BUY STOP placed at the defined price (InitialEntryPrice).

  • Each new BUY STOP is placed above the last executed order, spaced by GridSpacing points.

  • If the price goes down → no new orders are added.

  • New BUY STOP orders are only placed when the price moves back up and breaks above higher levels again.

Bearish scenario (Direction = Short):

  • No SELL LIMIT orders allowed.

  • The first order is a SELL STOP placed at the defined price (InitialEntryPrice).

  • Each new SELL STOP is placed below the last executed order, spaced by GridSpacing points.

  • If the price goes up → no new orders are added.

  • New SELL STOP orders are only placed when the price moves back down and breaks below lower levels again.


3. Lot Management (Pyramiding)

  • Initial lot size and money  (Lot0) is calculated according to a risk percentage (RiskPercent) and money 

Formula:

Lot0 = (AccountBalance * RiskPercent) / (SL_Points * ValuePerPoint) Lot_n = Lot0 * (PyramidFactor ^ n)

  • MaxLevels limits the total number of open positions.


4. Take Profit System

  • A global close occurs when the price pulls back by one standard deviation (σ) from the last reached level.

  • This means multiple positions (e.g., 4, 5 or 6) may be closed simultaneously on a 1σ pullback.

Example: If 6 positions are open and the price retraces 1σ → all positions are closed at market.


5. BreakEven (BE) Option

  • When the global profit reaches a defined threshold (BE_Trigger in $ or %), the global stop is moved to the weighted average price of the open positions (VWAP) + a buffer (BE_Buffer points).

  • At that stage, the risk becomes zero.


6. Stop Loss

  • A global stop loss must be configurable (SL_Points) and applied to all grid positions.

  • Option: individual stop loss per order (enabled/disabled by parameter).


7. User Parameters (Inputs)

  • Direction (Long/Short)

  • InitialEntryPrice (price of the first STOP order, otherwise current price)

  • RiskPercent (e.g., 1.0)

  • SL_Points (e.g., 200)

  • GridSpacing (points, e.g., 100)

  • PyramidFactor (e.g., 1.5)

  • MaxLevels (e.g., 6)

  • TP_Mode (1σ = standard deviation pullback)

  • BE_Trigger (net profit to activate BE, in $ or %)

  • BE_Buffer (margin in points above VWAP)


8. Numerical Example (LONG scenario)

  • Account = $16,000

  • RiskPercent = 1 % ($160)

  • SL = 200 points

  • GridSpacing = 100 points

  • PyramidFactor = 1.5

  • MaxLevels = 4

Lot0 = 160 ÷ 200 = 0.8 lots
Lot1 = 0.8 × 1.5 = 1.2 lots
Lot2 = 1.8 lots
Lot3 = 2.7 lots
→ Total ≈ 6.5 lots max

  • If 4 levels are reached and the price retraces by 1σ → all positions are closed.

  • If profit > BE_Trigger (e.g., $200) → SL is moved to VWAP + BE_Buffer.


Arquivos anexados:

PNG
1.PNG
73.4 Kb
PNG
2.PNG
65.6 Kb
PNG
3.PNG
42.8 Kb

Respondido

1
Desenvolvedor 1
Classificação
(17)
Projetos
21
19%
Arbitragem
5
40% / 40%
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(22)
Projetos
28
7%
Arbitragem
9
33% / 33%
Expirado
1
4%
Trabalhando
3
Desenvolvedor 3
Classificação
(436)
Projetos
643
53%
Arbitragem
35
63% / 20%
Expirado
6
1%
Trabalhando
4
Desenvolvedor 4
Classificação
(25)
Projetos
31
13%
Arbitragem
14
0% / 79%
Expirado
9
29%
Livre
5
Desenvolvedor 5
Classificação
(319)
Projetos
571
35%
Arbitragem
83
31% / 45%
Expirado
206
36%
Livre
6
Desenvolvedor 6
Classificação
Projetos
1
0%
Arbitragem
1
100% / 0%
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(499)
Projetos
744
56%
Arbitragem
48
31% / 31%
Expirado
120
16%
Livre
Publicou: 1 código
8
Desenvolvedor 8
Classificação
(170)
Projetos
203
47%
Arbitragem
5
20% / 60%
Expirado
3
1%
Livre
9
Desenvolvedor 9
Classificação
(206)
Projetos
333
35%
Arbitragem
66
12% / 58%
Expirado
87
26%
Livre
10
Desenvolvedor 10
Classificação
(13)
Projetos
22
41%
Arbitragem
8
0% / 50%
Expirado
3
14%
Livre
11
Desenvolvedor 11
Classificação
(211)
Projetos
274
21%
Arbitragem
24
54% / 17%
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
(50)
Projetos
64
20%
Arbitragem
11
27% / 55%
Expirado
5
8%
Livre
13
Desenvolvedor 13
Classificação
(510)
Projetos
977
74%
Arbitragem
27
19% / 67%
Expirado
100
10%
Trabalhando
Publicou: 1 artigo, 6 códigos
14
Desenvolvedor 14
Classificação
(2)
Projetos
2
0%
Arbitragem
1
0% / 0%
Expirado
1
50%
Livre
15
Desenvolvedor 15
Classificação
(3)
Projetos
2
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
16
Desenvolvedor 16
Classificação
(574)
Projetos
945
47%
Arbitragem
309
58% / 27%
Expirado
125
13%
Livre
17
Desenvolvedor 17
Classificação
(12)
Projetos
12
17%
Arbitragem
2
0% / 50%
Expirado
1
8%
Livre
18
Desenvolvedor 18
Classificação
(298)
Projetos
478
40%
Arbitragem
105
40% / 24%
Expirado
82
17%
Carregado
Publicou: 2 códigos
19
Desenvolvedor 19
Classificação
(7)
Projetos
6
0%
Arbitragem
4
25% / 75%
Expirado
2
33%
Livre
20
Desenvolvedor 20
Classificação
(10)
Projetos
15
27%
Arbitragem
0
Expirado
3
20%
Livre
Pedidos semelhantes
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
Watcher position 30 - 100 USD
//+------------------------------------------------------------------+ //| synthetic tick generator based on two assets | //+------------------------------------------------------------------+ class CSyntheticTickGenerator { private : string symbol_a; string symbol_b; string synth_name; double ratio; double last_price_a; double
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run
Multi-Asset EA (XAUUSD / FRA40) with Time Filters, High-Impact News Avoidance, Advanced Risk/Lot Sizing, and H1 Breakout Strategy 1. RISK SETTINGS * Max Daily Loss Limit: (bool) Toggle true/false. If true, input double for max loss in currency (e.g., $500). If hit, close all positions and stop trading until next day. * Lot Sizing Mode: Dropdown menu: 1. Fixed Lots (e.g. 0.10); 2. Percentage Risk (%) based on Account
Subject: Looking for an Experienced MQL Developer for Long-Term Collaboration (Mechanical Strategy) Hello everyone, I am reposting my request from last year. Due to work commitments, I couldn't dedicate time to this project back then, but now I am fully ready to move forward. I am looking for a highly experienced, verified MQL4/MQL5 programmer to automate my trading strategy. About the project: Rule-based &
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Creating a bot using the Parabolic indicator with a simple interface.. I want a bot that uses the Parabolic SAR indicator only, with these orders attached to it. Boot name : HEMIN .FX Magic number : 000000 …………………………………………………. Trade behavior : regular OR inverse OR only long "buy" OR only short "sell" Timeframe : ………… Period: ……… ………………………………………………….. Lot size : ……………… Break even in points : …
I am looking for an experienced MQL5 EA developer to develop an MT5 EA by the observable trading behaviour from a supplied live XAUUSD trade history . The EA appears to use a simple grid/recovery/hedging strategy with alternating BUY/SELL positions and progressive lot sizes. I need the developer to Develop the EA for MT5 / XAUUSD . Reproduce the observed entry, grid/add-on, recovery/hedging, lot progression and
Project: Fix & Schedule My Dual Fibo Standard Fibonacci Bot I have an existing MQ4 expert advisor called "Dual Fibo Standard Fibonacci". It needs to process 1,000 clients. Right now it runs blindly with no schedule and takes way too long. I need you to optimize it so it runs like a professional business with a 50-100 batch printed stamp copy progress log. Please reply with your numbers for this simple layout: * Phase
Gold robot 30+ USD
Yes. This screen is asking you to write the Requirements Specification for your Gold/XAUUSD trading robot. Since you want your DEEPTHINK X10 institutional-style MT5 system , use this ready-to-paste specification: DEEPTHINK X10 GOLD ROBOT – MT5 EXPERT ADVISOR REQUIREMENTS Develop an advanced MetaTrader 5 Expert Advisor (EA) for XAUUSD (Gold) scalping based on a multi-factor DEEPTHINK X10 trading framework. 1. MARKET -

Informações sobre o projeto

Orçamento
40+ USD
Prazo
de 1 para 3 dias