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

Trabajo finalizado

Plazo de ejecución 12 días

Tarea técnica

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.


Han respondido

1
Desarrollador 1
Evaluación
(3)
Proyectos
6
17%
Arbitraje
0
Caducado
1
17%
Libre
Ha publicado: 3 ejemplos
2
Desarrollador 2
Evaluación
(108)
Proyectos
178
25%
Arbitraje
24
17% / 75%
Caducado
16
9%
Trabaja
3
Desarrollador 3
Evaluación
(12)
Proyectos
24
50%
Arbitraje
1
100% / 0%
Caducado
6
25%
Libre
4
Desarrollador 4
Evaluación
Proyectos
0
0%
Arbitraje
1
0% / 0%
Caducado
0
Trabaja
5
Desarrollador 5
Evaluación
(20)
Proyectos
28
4%
Arbitraje
4
0% / 100%
Caducado
5
18%
Trabaja
6
Desarrollador 6
Evaluación
(252)
Proyectos
462
26%
Arbitraje
139
20% / 60%
Caducado
100
22%
Libre
7
Desarrollador 7
Evaluación
(1)
Proyectos
3
0%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(2)
Proyectos
0
0%
Arbitraje
5
0% / 60%
Caducado
0
Libre
9
Desarrollador 9
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(13)
Proyectos
22
41%
Arbitraje
8
0% / 50%
Caducado
3
14%
Libre
11
Desarrollador 11
Evaluación
(510)
Proyectos
977
74%
Arbitraje
27
19% / 67%
Caducado
100
10%
Libre
Ha publicado: 1 artículo, 6 ejemplos
12
Desarrollador 12
Evaluación
(7)
Proyectos
6
33%
Arbitraje
7
0% / 71%
Caducado
0
Libre
13
Desarrollador 13
Evaluación
(17)
Proyectos
21
14%
Arbitraje
8
38% / 38%
Caducado
3
14%
Trabajando
14
Desarrollador 14
Evaluación
(75)
Proyectos
80
6%
Arbitraje
46
11% / 54%
Caducado
7
9%
Trabaja
15
Desarrollador 15
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
16
Desarrollador 16
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
17
Desarrollador 17
Evaluación
(298)
Proyectos
478
40%
Arbitraje
105
40% / 24%
Caducado
82
17%
Trabajando
Ha publicado: 2 ejemplos
Solicitudes similares
Bonjour, je recherche un développeur MQL5 expérimenté pour créer un Expert Advisor pour MetaTrader 5 basé sur une stratégie de trading intégrant des principes de gestion des risques rigoureux et d'intelligence financière. Le robot doit être capable de gérer plusieurs paires de devises et d'optimiser automatiquement les entrées et sorties en fonction de conditions de marché prédéfinies."
MT4/MT5 HFT EA us30 30 - 3000 USD
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the
I'm looking for an experienced NinjaTrader 8 (C#) developer to build a fully automated futures trading strategy. Please apply only if you have proven experience developing and testing NinjaTrader strategies. Project Overview Develop a fully automated NinjaTrader 8 strategy. Designed for Apex funded and evaluation accounts. Primary instruments: NQ/MNQ Futures (with flexibility to support other futures later). Trading
Code An Loss Rate 90-100% MT5 EA , that can blow a 100 USD account a day ,with fixed TP of 3000 points and SL of 3000 For better Rate Calculations get an strategy that can lead to so
I need a professional MT5 Expert Advisor (MQL5) for XAU/USD (Gold) only. Requirements: - Symbol: XAU/USD only - Timeframe: H1 trend, M5 entry - Smart Money Concept (SMC) - Liquidity Sweep - Break of Structure (BOS) - Order Block Retest - Confirmation Candle (Engulfing or Pin Bar) - ATR-based Stop Loss - Risk:Reward = 1:3 (adjustable) - Auto Lot (1% risk) - Break Even - Trailing Stop - Maximum 2 trades per day - One
Hello, I am looking for an existing, fully backtestable MT5 Expert Advisor or EA portfolio designed specifically for passing an FTMO-style prop-firm evaluation. I am not looking for unrealistic profit claims or a visually perfect backtest. My priority is a statistically defensible probability of passing the challenge while respecting all risk limits. Primary objective The system should be designed for the current
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell at 50% of the FVG 7. SL: 10 pips above sweep wick 8. TP: 2R
Hello looking for someone to convert an indicator from tradingview to Thinkorswim I have attached the codes from trading view Also, I like make it trigger (alert) a one-time alert when the trend changes, and can also create a custom watchlist column that flags symbols currently in a new trend so you can scan multiple stocks easily. And like the watchlist to show only fresh trend changes or the current trend direction
I want to build a fundamental news trading bot that trade off economic news data, as we know every economic news data released always have effect on the asset associated with it, so this bot will take a trade instantly based on the news data released either to buy or sell, it will come with good money management and also SL and TP target based on price and pips value

Información sobre el proyecto

Presupuesto
60+ USD