Existing EA |Zero Divide Issues & Initialisation Issues.

Trabajo finalizado

Plazo de ejecución 43 minutos
Comentario del Ejecutor
Very pleasant and understanding. It was a pleasure working with him.
Comentario del Cliente
Excellent to work with, quick turn around. Would recommend.

Tarea técnica

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.

Han respondido

1
Desarrollador 1
Evaluación
(71)
Proyectos
103
20%
Arbitraje
6
0% / 83%
Caducado
3
3%
Libre
2
Desarrollador 2
Evaluación
(298)
Proyectos
427
26%
Arbitraje
18
61% / 33%
Caducado
26
6%
Libre
Ha publicado: 8 ejemplos
3
Desarrollador 3
Evaluación
(217)
Proyectos
369
33%
Arbitraje
34
41% / 29%
Caducado
108
29%
Libre
Ha publicado: 1 ejemplo
4
Desarrollador 4
Evaluación
(772)
Proyectos
1039
44%
Arbitraje
50
8% / 50%
Caducado
116
11%
Libre
5
Desarrollador 5
Evaluación
(3)
Proyectos
4
0%
Arbitraje
2
0% / 100%
Caducado
1
25%
Libre
6
Desarrollador 6
Evaluación
(7)
Proyectos
13
0%
Arbitraje
5
20% / 60%
Caducado
0
Libre
7
Desarrollador 7
Evaluación
(564)
Proyectos
844
73%
Arbitraje
15
53% / 13%
Caducado
193
23%
Trabaja
8
Desarrollador 8
Evaluación
(119)
Proyectos
127
41%
Arbitraje
3
33% / 67%
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(2667)
Proyectos
3398
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
10
Desarrollador 10
Evaluación
(258)
Proyectos
265
29%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
11
Desarrollador 11
Evaluación
(251)
Proyectos
400
54%
Arbitraje
9
67% / 22%
Caducado
36
9%
Libre
Ha publicado: 2 ejemplos
12
Desarrollador 12
Evaluación
(87)
Proyectos
114
26%
Arbitraje
7
29% / 57%
Caducado
5
4%
Libre
Solicitudes similares
Gold robot 3000+ USD
I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
Gold robot 3000+ USD
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
I am looking for an experienced MT4/MT5 developer to analyze my trading history and replicate the strategy in a new Expert Advisor (EA). The developer must have proven experience in reverse engineering strategies, analyzing trading data, and developing EAs across various trading methodologies. A deep understanding of XAUUDS and BTCUSD behavior, as well as chart analysis, is essential. Please note that we do not have
Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade
Risk management EA 30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
Ea.Mix 30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
A bot takes trades every few seconds until hit the profit with the same lots , i am attaching a picture as well. If anyone can do that please contact me i will give the account details
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit

Información sobre el proyecto

Presupuesto
100+ USD