Help me fix some difficult bugs and stability errors on my expert

Job finished

Execution time 21 hours
Feedback from customer
Amazing! Boaz was able to achieve a solution and always made an improved version.
Feedback from employee
Very cooperative and patient

Specification

Help me fix some difficult bugs and stability errors on my expert 

Having some errors related with the new mq4l language 

#property strict

Errors list:


Print("Need close BUY " + OrderTicket() + ". Trade Context Busy");

Print("Error Closing SELL Trade : " + OrderTicket());

gi_352 = iTime(NULL, 0, 0);

Print("Need to close SELL trade : " + OrderTicket() + ". Trade Context Busy");

ld_4 = NormalizeDouble(Lots * MathPow(MultiLotsFactor, gi_300), gd_204);

 li_12 = OrderCloseTime();

    ld_4 = NormalizeDouble(OrderLots() * MultiLotsFactor, gd_204);

if (AccountFreeMarginCheck(Symbol(), ai_0, ld_4) <= 0.0) return (-1);

 if (OrderType() == OP_BUY) close = OrderClose(OrderTicket(), OrderLots(), Bid, Slippage, Blue);

 if (OrderType() == OP_SELL) close = OrderClose(OrderTicket(), OrderLots(), Ask, Slippage, Red);

_16 = NormalizeDouble((Bid - ad_8) / Point / gi_420, 0);

li_16 = NormalizeDouble((ad_8 - Ask) / Point / gi_420, 0);

ld_0);

+ "Account Number:             " + AccountNumber() + " (" + gs_live_380 + ")"

 + "TERMINATORS :                         " + DoubleToStr(f0_8(), 0) + " / " + MaxOpenOrders


Responded

1
Developer 1
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
2
Developer 2
Rating
(23)
Projects
45
20%
Arbitration
25
28% / 48%
Overdue
12
27%
Free
3
Developer 3
Rating
(29)
Projects
29
62%
Arbitration
0
Overdue
3
10%
Free
Similar orders
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 () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
Cerco uno sviluppatore MQL5 esperto per sviluppare da zero un Expert Advisor completamente nuovo per XAUUSD su MT5. Non desidero un semplice Expert Advisor basato su indicatori fissi. Desidero un sistema di trading dinamico e adattivo, in grado di adattare il proprio comportamento alle mutevoli condizioni di mercato di XAUUSD. Lo sviluppatore dovrebbe essere libero di combinare qualsiasi tecnica ritenuta opportuna
I am looking for a Senior MQL5 Developer to create a new MetaTrader 5 Expert Advisor from scratch. I will provide a complete Requirements Specification containing objective entry, exit and risk-management rules. This is not a request to copy or decompile an existing product. Project requirements: Clean and modular MQL5 source code. Exact implementation of the supplied strategy. One signal evaluation per configured
Composite robot 30 - 200 USD
Title: Multi-Timeframe Pure Price Action & Elliott Wave Execution Bot for XAUUSD 1. Project Overview I need a robust, automated trading bot (Expert Advisor) for MetaTrader 5 (MT5) to trade XAUUSD (Gold) exclusively. The strategy is built entirely on Top-Down Multi-Timeframe (MTF) market structure, pure price action, and Elliott Wave principles. It does not use traditional lagging technical indicators (like RSI or
Build a fully mechanical EA for XAUUSD on D1 timeframe. Trader spends 5-10 mins per day to run it. No discretion. EA calculates, places orders, and walks away. Timeframe Use the Daily (D1) timeframe . At the close of each completed daily candle, identify: Previous day's High (wick) Previous day's Low (wick) Previous day's Open

Project information

Budget
50+ USD