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

Lavoro terminato

Tempo di esecuzione 12 giorni

Specifiche

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.


Con risposta

1
Sviluppatore 1
Valutazioni
(3)
Progetti
6
17%
Arbitraggio
0
In ritardo
1
17%
Gratuito
Pubblicati: 3 codici
2
Sviluppatore 2
Valutazioni
(103)
Progetti
165
24%
Arbitraggio
23
9% / 78%
In ritardo
16
10%
In elaborazione
3
Sviluppatore 3
Valutazioni
(12)
Progetti
24
50%
Arbitraggio
1
100% / 0%
In ritardo
6
25%
Gratuito
4
Sviluppatore 4
Valutazioni
Progetti
0
0%
Arbitraggio
1
0% / 0%
In ritardo
0
In elaborazione
5
Sviluppatore 5
Valutazioni
(15)
Progetti
24
0%
Arbitraggio
3
0% / 100%
In ritardo
5
21%
In elaborazione
6
Sviluppatore 6
Valutazioni
(250)
Progetti
460
26%
Arbitraggio
140
20% / 59%
In ritardo
100
22%
In elaborazione
7
Sviluppatore 7
Valutazioni
(1)
Progetti
3
0%
Arbitraggio
0
In ritardo
0
Gratuito
8
Sviluppatore 8
Valutazioni
(2)
Progetti
0
0%
Arbitraggio
5
0% / 60%
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
10
Sviluppatore 10
Valutazioni
(10)
Progetti
19
42%
Arbitraggio
6
0% / 50%
In ritardo
3
16%
In elaborazione
11
Sviluppatore 11
Valutazioni
(501)
Progetti
968
74%
Arbitraggio
27
19% / 67%
In ritardo
100
10%
Caricato
Pubblicati: 1 articolo, 6 codici
12
Sviluppatore 12
Valutazioni
(7)
Progetti
6
33%
Arbitraggio
7
0% / 71%
In ritardo
0
Gratuito
13
Sviluppatore 13
Valutazioni
(15)
Progetti
18
6%
Arbitraggio
8
38% / 38%
In ritardo
2
11%
Caricato
14
Sviluppatore 14
Valutazioni
(75)
Progetti
80
6%
Arbitraggio
46
11% / 54%
In ritardo
7
9%
In elaborazione
15
Sviluppatore 15
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
16
Sviluppatore 16
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
17
Sviluppatore 17
Valutazioni
(295)
Progetti
472
40%
Arbitraggio
103
40% / 23%
In ritardo
78
17%
Occupato
Pubblicati: 2 codici
Ordini simili
Would it be possible to connect Futures prop firm with Rithmic or Tradeovate platform to Ninjatrader automated trading ? If anyone can do this for me I will be happy to get started with the person right away
Saya ingin dibuatkan Expert Advisor untuk MetaTrader 5 berbasis strategi EMA 50/200 + Breakout 20 candle dengan sistem risk percentage otomatis. EA harus memiliki fitur ATR stop loss, trailing stop, break even, max spread filter, dan daily loss limit. Dilarang menggunakan martingale, grid, atau averaging. Target RR minimal 1:2 dan drawdown di bawah 20%
I am building a professional-grade survival EA for USDJPY designed to: Repeatedly pass FTMO-style challenges Sustain long-term funded accounts Deploy safely across multiple prop accounts This is not a retail scalper. This is a controlled EMA pullback engine with strict risk governance and anti-correlation logic . All parameters must be configurable. Defaults must match exactly as listed. Core Strategy – EMA Pullback
I’m after someone to make me a forex ex for meta trader 5 it will be trading GBPUSD only but having to align with EURUSD and rules and entry’s based off weekly and daily vwap with 20 EMA
Key Requirements: ​ Zone Detection: The EA must read "Weak Support/Resistance" zones generated by my indicator (I will provide the .mq4/ex4 file). ​ Execution Logic: - Identify the candle with the longest wick within the detected liquidity zone. ​Place a Pending Order (Buy Stop/Sell Stop) 20 points (2 pips) before the breakout level of that wick. ​ Trade Management: ​Fixed SL: 40 points (4 pips). ​Fixed TP: 40 points
I have a open source Tradingview indicator that I want it to be converted to Ninja Trader8. I have attached it. Please let me know, if you can do it and for how muc
GOLF SAFE BOT 30 - 200 USD
#property strict input int FastMA = 20; input int SlowMA = 50; input double LotSize = 0.01; input double StopLoss = 300; // Gold points input double TakeProfit = 600; int fastMA, slowMA; //------------------------------------------------- int OnInit() { fastMA = iMA(_Symbol, PERIOD_M15, FastMA, 0, MODE_EMA, PRICE_CLOSE); slowMA = iMA(_Symbol, PERIOD_M15, SlowMA, 0, MODE_EMA, PRICE_CLOSE);
hello great developer I need to copy trading signals from the Forex Precision app. I receive push notifications with the trades, and I must manually copy them into MetaTrader 4 (MT4), including the entry price, take profit, and stop loss. Is necessary Copy from Forex precision take the type AUD/JPY Copy the entry value and type sell or buy and put this info in mt4 and put the take profitt +10 and stop loss -10
I need help in modifying an amibroker AFL indicator the indicator already works but I need per symbol static variable isolation, parameters persistence per symbol after restart, non declining trailing stop logic, parameter auto restore when switching symbols and a global reset function for static variables. For better understanding As discussed, this is the official offer for restructuring my RAD Chandelier stop loss
I am looking for an experienced MQL5 developer who already has or can provide an advanced grid-style Expert Advisor based on Bollinger Bands, designed for trading multiple forex pairs simultaneously. The EA should use intelligent grid placement logic derived from Bollinger Band levels, with dynamic lot sizing, proper risk management, and optimized trade management to handle ranging and volatile market conditions

Informazioni sul progetto

Budget
60+ USD