Existing EA |Zero Divide Issues & Initialisation Issues.

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

Время выполнения 43 минуты
Отзыв от исполнителя
Very pleasant and understanding. It was a pleasure working with him.
Отзыв от заказчика
Excellent to work with, quick turn around. Would recommend.

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

Good Morning, afternoon, evening.

Zero Divide Errors

I have an existing EA which is continually giving me the Zero divide error code.

I understand what the "Zero Divide" error message is about, and I know what the culprits are, but I have controls in place to prevent this from happening.

My EA is ignoring these controls. 

Initialisation failures

The second issue is around the failure for the EA to recognise server time. I have an email sent with details surrounding the initialisation status of the EA: specifically around the time window with which the EA is set to place orders. I don't understand as to why my EA is pinging an email stating that my EA will not place trades when the current time is between the specified windows, and vice versa.

We are going to need an expert to find out and solve the following:

  • Find out why the EA is ignoring the controls in place to prevent the EA from undergoing zero divide calculations.
  • Find out and correct why the EA is failing to recognise the correct system time on initialisation of my EA.

Please find the EA below, and the error message pertaining to the currency pairs and the time frames so you can reverse engineer the problem.

Summary.

The EA works on candlestick patterns - specifically bullish or bearish hammers and retracements from those hammers. The BullHammer must not exceed 20% of the BearNail, and the BulScrew candle body must not exceed 50% of the shift one body. Additionally, the Hammer body must not exceed 20% of the wick length as well - this is also being ignored on occasions as well - again, I fail to see why. 

A disgram is included in this so you have a good visual representation

According to the messages, the culprit is

int d = (Transform(PCM,2) < bearHammer) ? 1 : 0;

which is bizarre because this is not even a divisor on this calculation, and 

int c = (OoTMax >= (bullHammer / bearNail)) ? 1 : 0; 

despite the fact that this control is in place to prevent this from happening:

int d = (Transform(PCM,2) < bullHammer) ? 1 : 0;

which means that the minimum body length (PCM = Previous Candlestick Minimum) should be >= 3 pips. This is being ignored.

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

1
Разработчик 1
Оценка
(71)
Проекты
103
20%
Арбитраж
6
0% / 83%
Просрочено
3
3%
Свободен
2
Разработчик 2
Оценка
(298)
Проекты
427
26%
Арбитраж
18
61% / 33%
Просрочено
26
6%
Свободен
Опубликовал: 8 примеров
3
Разработчик 3
Оценка
(217)
Проекты
369
33%
Арбитраж
34
41% / 29%
Просрочено
108
29%
Свободен
Опубликовал: 1 пример
4
Разработчик 4
Оценка
(772)
Проекты
1039
44%
Арбитраж
50
8% / 50%
Просрочено
116
11%
Свободен
5
Разработчик 5
Оценка
(3)
Проекты
4
0%
Арбитраж
2
0% / 100%
Просрочено
1
25%
Свободен
6
Разработчик 6
Оценка
(7)
Проекты
13
0%
Арбитраж
5
20% / 60%
Просрочено
0
Свободен
7
Разработчик 7
Оценка
(564)
Проекты
845
73%
Арбитраж
15
53% / 13%
Просрочено
193
23%
Свободен
8
Разработчик 8
Оценка
(119)
Проекты
127
41%
Арбитраж
3
33% / 67%
Просрочено
0
Свободен
9
Разработчик 9
Оценка
(2675)
Проекты
3414
68%
Арбитраж
77
48% / 14%
Просрочено
342
10%
Свободен
Опубликовал: 1 пример
10
Разработчик 10
Оценка
(258)
Проекты
269
29%
Арбитраж
1
100% / 0%
Просрочено
3
1%
Работает
Опубликовал: 2 примера
11
Разработчик 11
Оценка
(251)
Проекты
400
54%
Арбитраж
9
67% / 22%
Просрочено
36
9%
Свободен
Опубликовал: 2 примера
12
Разработчик 12
Оценка
(87)
Проекты
114
26%
Арбитраж
7
29% / 57%
Просрочено
5
4%
Свободен
Похожие заказы
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 () {

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

Бюджет
100+ USD