MT5 Two-Sided Grid EA with Fully Customizable Lot Sizes

Job finished

Execution time 9 days
Feedback from customer
amazing

Specification

I need a new MT5 Expert Advisor based on a fully customizable two-sided pending-order grid.

The purpose is to build a flexible EA engine. I will choose the trading parameters and strategy settings myself later. Please do not hard-code any specific lot sizes, grid distances, or trading progression.

1. Grid Logic

When the EA starts a new basket, it should use the current market price as the starting/reference price.

The EA should place:

  • Buy Stop pending orders above the current price
  • Sell Stop pending orders below the current price

The number of Buy Stop and Sell Stop orders must be adjustable from the Inputs.

2. Adjustable Grid Distance

The distance between grid levels must be completely adjustable from the Inputs.

I must be able to enter the distance I want myself.

The EA must correctly handle XAUUSD price digits/point size on different brokers.

3. Fully Adjustable Lot Sizes

Lot sizes must be fully configurable by the user from the Inputs.

The Buy side and Sell side must be configurable independently.

I want to enter the lot sizes that I want myself.

The EA must NOT force any Martingale, Fibonacci, multiplier, automatic progression, or fixed lot-sizing strategy.

The EA should execute the lot settings entered by the user.

4. One-Time Level Activation

Each grid level should be activated only once during the same basket.

If a pending order is triggered and price later returns to the same level, the EA must NOT recreate or trigger the same level again during that basket.

5. Basket Management

All positions opened by the EA — both Buy and Sell — must be treated as one single basket.

The EA must continuously calculate the combined P/L of the entire basket.

There should be an adjustable Basket Take Profit in USD.

6. Basket TP / Close All

As soon as the combined basket P/L reaches the Basket Take Profit:

The EA must immediately:

  1. Close ALL open Buy positions.
  2. Close ALL open Sell positions.
  3. Delete ALL remaining Buy Stop pending orders.
  4. Delete ALL remaining Sell Stop pending orders.
  5. Clear/reset the previous basket and all triggered-level information.

No position or pending order from the previous basket should remain.

7. Immediate New Basket

After the previous basket has been completely closed and all pending orders deleted, the EA should immediately start a new basket from the current market price.

It should create a completely fresh Buy Stop/Sell Stop grid using the same current Input settings.

No mandatory rest period is required.

8. Grid Continuation / Maximum Orders

I need an adjustable setting for:

  • Maximum Buy orders/levels
  • Maximum Sell orders/levels

The EA should be able to continue creating new grid levels as price moves into new territory, up to the user-defined maximum.

Already-triggered levels must never be duplicated within the same basket.

9. Required Inputs

All important settings must be accessible from the EA Inputs, including:

  • Grid Distance
  • Number / Maximum Buy Levels
  • Number / Maximum Sell Levels
  • Buy Lot Settings
  • Sell Lot Settings
  • Basket Take Profit in USD
  • Maximum Slippage
  • Magic Number
  • Enable/Disable Buy Side
  • Enable/Disable Sell Side

The Buy and Sell configurations must remain independent.

10. Execution Safety

The EA should prevent:

  • Duplicate orders
  • The same level being triggered twice
  • Multiple baskets starting accidentally
  • Old pending orders remaining after Basket TP
  • New basket creation before the previous basket is completely closed

If MT5/VPS is restarted while a basket is active, the EA should recognize and continue managing its existing positions and pending orders using the Magic Number, rather than creating a duplicate basket.

11. MT5 Strategy Tester

The EA must work correctly in the MT5 Strategy Tester, especially:

Every tick based on real ticks

I need to be able to backtest different:

  • Grid distances
  • Lot configurations
  • Basket TP values
  • Maximum grid levels

without changing the source code.

12. Delivery

I require:

  • EX5 compiled EA
  • Full editable MQ5 source code.  

The final EA should have clean and clearly named Inputs.

Additional Requirements – WE MOVE SAFELY Control Panel & News Filter


I also need a professional on-chart control panel branded WE MOVE SAFELY.


The panel should allow me to:


- START / STOP the EA.

- Enable/disable Stop After Basket TP.

- If Stop After Basket TP = OFF, the EA should close the completed basket and immediately start a new basket.

- If Stop After Basket TP = ON, the EA should close the entire basket at TP, delete all pending orders, and remain stopped until I manually press START again.

- Display current basket P/L, Buy/Sell positions, total Buy/Sell lots, Grid Distance, Basket TP, EA status and News Filter status.


I also want to be able to open manual BUY or SELL trades directly from the panel, with an adjustable lot size.


Trades opened from this panel must automatically become part of the current EA basket and be managed by the EA, including the Basket TP.


Please also add:


- BUY button

- SELL button

- Adjustable manual lot size

- Close Buy

- Close Sell

- Close All


The EA must NEVER manage or close unrelated manual trades or trades belonging to another EA.


NEWS FILTER:


Please include an optional News Filter with:


- ON/OFF

- High Impact ON/OFF

- Medium Impact ON/OFF

- Low Impact ON/OFF

- Adjustable minutes before news

- Adjustable minutes after news

- Currency filtering


For XAUUSD, I need the ability to filter relevant USD news.


During the news protection period, the EA should not start a new basket or place new grid orders. Existing positions should continue to be safely managed, and if Basket TP is reached, the basket must still close immediately.


The panel should clearly show when the NEWS FILTER is ACTIVE and when the EA is SAFE TO TRADE.


IMPORTANT STOP BEHAVIOR:


If I manually press STOP while a basket is already open, the EA should stop opening new orders/levels but continue managing the existing basket until it is safely closed.


All trades created by the EA or manually through its panel must be correctly identified using the EA's Magic Number.


The panel should have a clean, professional WE MOVE SAFELY design and should be compact, preferably movable/minimizable.


These requirements should be included together with all the original grid/basket specifications.


I require both the EX5 file and full editable MQ5 source code.The main requirement is flexibility. The developer is building the grid/basket management system only. I will decide the trading strategy, lot sizes, distances, and TP settings myself through the Inputs.

Please apply only if you have experience developing MT5 Grid / Hedging EAs.


Responded

1
Developer 1
Rating
(634)
Projects
741
34%
Arbitration
49
53% / 39%
Overdue
14
2%
Working
2
Developer 2
Rating
(402)
Projects
520
24%
Arbitration
61
57% / 25%
Overdue
60
12%
Loaded
3
Developer 3
Rating
(438)
Projects
649
53%
Arbitration
35
63% / 20%
Overdue
7
1%
Working
4
Developer 4
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
5
Developer 5
Rating
(185)
Projects
199
47%
Arbitration
4
50% / 25%
Overdue
1
1%
Working
6
Developer 6
Rating
(34)
Projects
35
40%
Arbitration
0
Overdue
3
9%
Free
7
Developer 7
Rating
(3)
Projects
4
0%
Arbitration
1
100% / 0%
Overdue
1
25%
Free
8
Developer 8
Rating
(1)
Projects
2
0%
Arbitration
1
0% / 0%
Overdue
0
Free
Published: 3 articles
9
Developer 9
Rating
(83)
Projects
97
32%
Arbitration
9
22% / 56%
Overdue
5
5%
Working
10
Developer 10
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 3 codes
11
Developer 11
Rating
(10)
Projects
12
33%
Arbitration
0
Overdue
2
17%
Working
Published: 1 code
12
Developer 12
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
(369)
Projects
459
55%
Arbitration
24
58% / 17%
Overdue
31
7%
Working
14
Developer 14
Rating
(6)
Projects
8
38%
Arbitration
2
50% / 50%
Overdue
2
25%
Free
15
Developer 15
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(14)
Projects
21
24%
Arbitration
0
Overdue
2
10%
Free
Published: 3 codes
17
Developer 17
Rating
(40)
Projects
39
46%
Arbitration
12
17% / 50%
Overdue
2
5%
Free
18
Developer 18
Rating
(1)
Projects
2
50%
Arbitration
0
Overdue
1
50%
Working
19
Developer 19
Rating
(560)
Projects
855
61%
Arbitration
33
27% / 45%
Overdue
24
3%
Free
Published: 1 code
20
Developer 20
Rating
(54)
Projects
67
42%
Arbitration
15
27% / 60%
Overdue
1
1%
Loaded
21
Developer 21
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 2 codes
22
Developer 22
Rating
(22)
Projects
28
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
23
Developer 23
Rating
(20)
Projects
26
38%
Arbitration
6
33% / 50%
Overdue
0
Free
24
Developer 24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
27
Developer 27
Rating
(213)
Projects
277
21%
Arbitration
26
54% / 15%
Overdue
0
Loaded
28
Developer 28
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 10 codes
29
Developer 29
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 11 codes
30
Developer 30
Rating
(13)
Projects
21
38%
Arbitration
0
Overdue
1
5%
Working
31
Developer 31
Rating
(29)
Projects
36
39%
Arbitration
0
Overdue
2
6%
Free
32
Developer 32
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
33
Developer 33
Rating
(45)
Projects
53
57%
Arbitration
2
100% / 0%
Overdue
1
2%
Free
Published: 5 codes
34
Developer 34
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
35
Developer 35
Rating
(31)
Projects
38
53%
Arbitration
2
50% / 50%
Overdue
3
8%
Free
36
Developer 36
Rating
(16)
Projects
30
40%
Arbitration
3
33% / 67%
Overdue
7
23%
Working
37
Developer 37
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
38
Developer 38
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
39
Developer 39
Rating
(3)
Projects
9
67%
Arbitration
0
Overdue
0
Working
40
Developer 40
Rating
(258)
Projects
269
29%
Arbitration
2
50% / 0%
Overdue
3
1%
Working
Published: 2 codes
41
Developer 41
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
42
Developer 42
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
Similar orders
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell
I have three indicators that operate independently. I want to combine them into one indicator with custom expert programming that automatically enters trades when a signal is generated by one of the indicators. I will pay for this service Thanks you
Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction
Espert 30+ USD
I want to create a robot with 10 indicators.All to take a trade and all in stop folowing. Thanks to put in THE PARAMETERS Yes/No for the indicators to entry in position AND to the stop A trade with 2 takes profit and a breakeaven at the first TP. The goal is to be able to try the multiple combinations with these indicators
Hello International Developer, I need LIFETIME MT5 EA for XAUUSD Gold. REQUIREMENTS: 1. Lifetime bot - No expiry date, unlimited accounts, unlimited installations 2. Must include source code .mq5 file - This makes it lifetime 3. Every trade MUST have Stop Loss 300 points and Take Profit 600 points 4. No martingale, No grid, No averaging - Clean safe strategy 5. Auto lot size = 1% risk per trade for good margin growth
Expert advisor 150+ USD
Hiring: Forex Strategist & MQL5 Developer for Long-Term EA Development I am looking for an experienced Forex Strategist and MT5 (MQL5) Developer to work with me on an ongoing project to develop, test, improve, and optimize a profitable Forex Expert Advisor (EA). My Message to the Developer My budget is $150 . However, this is not intended to be a one-time payment for a finished product. I want an ongoing working
فيما يخص المتداولين من سلطان التداول وحتى المبتدى والضائع في أكبر سوق عالمي في التداول ااوكد لكم ان الاستشاره البسيطه من من يملك الاستراتيجيه المثلى في التداول والخبره الطويله في مجال التداول قد تغير مستقبلك
Hello developers,I am looking for an experienced MQL5 developer to create an EA based on Moving Average retest strategy with advanced recovery system.The concept is simple: Entry is based on MA close and retest. Initial trade has small TP and no SL.If price goes against the initial position, the EA should manage it using:Opposite hedge tradePending limit grid systemBasket take profitMartingale lot multiplier after
Hi gentlemen, I want MT5 market orders placed (open and close orders) on MEXC trading through web browser. MEXC doesnt allow algo trading. - Need source code budget: USD 50 (quote me your price and delivery time) I need this at the earliest and this job is only for mexc.com, not binance or any other exchange I look forward to your price offer and your suggestions. Appreciate
https://www.youtube.com/watch?v=xMNx8f-aGQE&amp ;t=56s risk 1% per trade watch the video carefully and automate the trade setups in XAUUSD i prefer picking the least drawdown and good return expert advisor do not use overfitting(Strict) account type : hedging

Project information

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