Advanced MT4/MT5 Grid Trading Bot Optimization - Fix Backtesting Issues & Add Professional Features

Работа завершена

Время выполнения 12 дней

Техническое задание

I currently have a functioning trading bot that needs these improvements and overall optimization to work flawlessly in backtesting, since currently it mainly works well only in live trading.

Separate Grid Spacing Settings for Long and Short Positions:
• Requirement: It should be possible to set different spacing between grid levels for buy (long) and sell (short) positions. For example, long positions can be opened every 0.02% price drop, while short positions every 0.03% price rise.

Dynamic Grid Adjustment and Flexibility:
• The system must be designed to allow dynamic changes to grid spacing in the future using an external indicator (e.g., volatility indicator like ATR). When the spacing value changes, the bot must automatically update (move or replace) existing pending orders (limit orders). All problems that come with this dynamic adjustment need to be cleared and resolved.

Compatibility with All Financial Instruments:
• Requirement: The bot's logic needs to be fixed to work seamlessly on all financial instruments, including indices (e.g., S&P 500), not just currency pairs. This includes standardizing the calculation of pip/point sizes and nominal values.

Unique "Magic Number":
The bot must assign a unique identification number ("Magic Number") to each of its positions and pending orders, which is specific to each chart it runs on. All bot functions must work exclusively on positions with this specific number, preventing different bots on the same account from interfering with each other's operations (e.g., preventing the EUR/USD bot from accidentally closing positions of the GBP/JPY bot).

Stop Loss and Trailing Stop Loss Enhancement:
• Requirement: The stop loss system needs to be completely redesigned. Currently it's limited only by a global stop loss price that is the same for all positions, which needs to be changed.

  1. Individual Stop Loss in pips/points: Each position must have its own Stop Loss set a specific number of pips away from the entry price (replacing the current global stop loss system).

  2. Trailing Stop Loss Enhancement: The Trailing Stop Loss needs to be fixed - currently it doesn't remain constant at the highest position. A condition in pips for activation needs to be added alongside the grids. The trailing stop should:

    • Only activate after the position moves favorably by a specified number of pips
    • Once activated, properly follow the price movement while maintaining the specified distance in pips from the most favorable price reached
    • Remain constant at the highest favorable position achieved

These optimizations are essential for ensuring the bot performs consistently in both live trading and backtesting environments.


Откликнулись

1
Разработчик 1
Оценка
(3)
Проекты
6
17%
Арбитраж
0
Просрочено
1
17%
Свободен
Опубликовал: 3 примера
2
Разработчик 2
Оценка
(111)
Проекты
183
25%
Арбитраж
24
17% / 75%
Просрочено
16
9%
Свободен
3
Разработчик 3
Оценка
(12)
Проекты
24
50%
Арбитраж
1
100% / 0%
Просрочено
6
25%
Свободен
4
Разработчик 4
Оценка
Проекты
0
0%
Арбитраж
1
0% / 0%
Просрочено
0
Работает
5
Разработчик 5
Оценка
(20)
Проекты
29
3%
Арбитраж
4
0% / 100%
Просрочено
5
17%
Свободен
6
Разработчик 6
Оценка
(252)
Проекты
462
26%
Арбитраж
139
20% / 60%
Просрочено
100
22%
Свободен
7
Разработчик 7
Оценка
(1)
Проекты
3
0%
Арбитраж
0
Просрочено
0
Свободен
8
Разработчик 8
Оценка
(2)
Проекты
0
0%
Арбитраж
5
0% / 60%
Просрочено
0
Свободен
9
Разработчик 9
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
10
Разработчик 10
Оценка
(13)
Проекты
22
41%
Арбитраж
8
0% / 50%
Просрочено
3
14%
Свободен
11
Разработчик 11
Оценка
(510)
Проекты
977
74%
Арбитраж
27
19% / 67%
Просрочено
100
10%
Работает
Опубликовал: 1 статью, 6 примеров
12
Разработчик 12
Оценка
(7)
Проекты
6
33%
Арбитраж
7
0% / 71%
Просрочено
0
Свободен
13
Разработчик 13
Оценка
(18)
Проекты
22
18%
Арбитраж
8
38% / 38%
Просрочено
3
14%
Загружен
Опубликовал: 1 пример
14
Разработчик 14
Оценка
(75)
Проекты
80
6%
Арбитраж
46
11% / 54%
Просрочено
7
9%
Работает
15
Разработчик 15
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
16
Разработчик 16
Оценка
(1)
Проекты
1
0%
Арбитраж
0
Просрочено
0
Свободен
17
Разработчик 17
Оценка
(298)
Проекты
478
40%
Арбитраж
105
40% / 24%
Просрочено
82
17%
Загружен
Опубликовал: 2 примера
Похожие заказы
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
I need an MT5 Expert Advisor for XAUUSD (Gold) running on an Exness account. STRATEGY LOGIC The exact entry and exit rules will be provided in writing before development starts. Please quote for a single rule-based strategy with clearly separated logic, so the rules can be adjusted later without rewriting the whole EA. RISK MANAGEMENT (this is the priority of the project) - Risk per trade as a percentage of account
Modification of Trade_Panel_7 7.05 Objective . I have this utility “Trade_Panel_7 7.05” with which I open and close positions. Please refer to attached “Trade Panel Modification.jpg”. It shows an input parameter “Volume Step”. This parameter has the initial value of 0.02 as shown. This feature needs to be amended. Present Status . Value of lot size is increased by this “Volume Step”. I have built a whole series of
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
please share: Strategy description — entry/exit rules, indicators used, timeframe(s), and instrument(s) (a written explanation, screenshots, or an existing indicator/EA to reference all work) Risk management rules — position sizing method (fixed lot / % risk), stop loss / take profit logic, max drawdown or daily loss limits, and whether martingale/grid/hedging is involved Broker & account details — broker name
I need a unique grid trading system for XAUUSD that combines entry, controlled two-sided grid expansion, DCA (Dollar Cost Averaging) basket profit control, hedging. Unlike traditional grid EAs that only trade against price, this unique grid system should dynamically build positions in both directions based on market movement, allowing flexible adaptation to changing conditions ie the grid needs to dynamically move
I need an experienced MQL5 developer to create a fully automated MT5 Expert Advisor called Ayoub Gold EA , focused exclusively on XAUUSD (Gold) . Main requirements: Platform: MT5 / MQL5. Fully automated BUY and SELL trading on XAUUSD. Must support broker suffixes such as XAUUSD, XAUUSD.f and XAUUSDm. Trading strategy based mainly on Range Breakout with trend confirmation. EMA, ADX and ATR filters. London/New York
Mashiri 50 - 10000 USD
I need a custom MetaTrader 5 indicator designed specifically for XAUUSD gold trading. The indicator should identify potential buy and sell opportunities, display clear entry and exit signals on the chart, provide alerts, and help identify market trends and possible reversals
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize an existing footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – modify my existing footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I already have a working footprint chart, so no
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {

Информация о проекте

Бюджет
60+ USD