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
3
Desarrollador 3
Evaluación
(185)
Proyectos
327
32%
Arbitraje
33
42% / 27%
Caducado
98
30%
Trabaja
4
Desarrollador 4
Evaluación
(769)
Proyectos
1033
44%
Arbitraje
50
8% / 50%
Caducado
117
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
(549)
Proyectos
826
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
(2428)
Proyectos
3057
66%
Arbitraje
77
48% / 14%
Caducado
340
11%
Trabaja
10
Desarrollador 10
Evaluación
(202)
Proyectos
206
27%
Arbitraje
0
Caducado
3
1%
Libre
11
Desarrollador 11
Evaluación
(251)
Proyectos
400
54%
Arbitraje
9
67% / 22%
Caducado
36
9%
Libre
12
Desarrollador 12
Evaluación
(87)
Proyectos
114
26%
Arbitraje
7
29% / 57%
Caducado
5
4%
Libre
Solicitudes similares
This is not an EA that actually opens/closes trades. Instead this project involves creating a dashboard where the user can create a grid trade scenario with initial entry and scale trade pip distances, lot sizes for each trade, and draw down amount. It then calculates the break-even + profit level where all trades would close. For each new scale trade the BE+ point is recalculated which is then displayed on the
Hi I have the code in pinescript for an indicator that I need done in Ninja Trader, I wanted this indicator in NT bcs I chart in NT, and if the indicator could also have been an automated strategy even better. Please confirm that it will be an indicator and Automated Trading Strategy
Hello potential Freelancers I’m very new to trading so please bear with me as I try to explain what ‘m looking for. I'm currently getting signals ( XAUUSD )sent to me and I’m looking to find a person who can look at the data either watch account live, or I send the trade history. The bot my provider is using makes 100’s of trades a day and does very well on average. I’m also looking to have the following features
function (A) Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one Leave in extern (false) or (true) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: function (B) Add the function (false) or (true) INTO THE EXISTING FUNCTION: TradeSize = 0.01; (true) Function (C)
Hi guys I would like to k ow if someone has experience with machine learning models? I would like to train a model to identify if there is a range market or trendy market based on several parameters like EMA and ATR for example. If we use for example a 20 and 50 EMA and we measure the distance between both lines the algo should oearn if the trend is strong or weak. If it‘s steong it keeps trending and if it‘s weak
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hello I need a very simple indicator This indicator should show the highest floating or history drawdown of the account It means that it can display the highest number that the account drawdown to be displayed on the chart in this format max drawdown account(xxxx$$) ...date(00/00/00)time:(00:00) max drawdown currency ..( currency name with max drwadown) . (xxxx$$) date(00/00/00)time:(00:00) thanks
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA. THREE TYPES OF ENTRIES 1: AGGRESSIVE 2: DIVERGENCE 3
I want to create an EA that can take bids according to information of a logic I have developed to give indication of a BUY or SELL opportunity. The EA will then be able to activate the BUY at the lowest possible position once the indicator clears it for a BUY and take bid upwards or identify the highest point and clears it for a SELL and take bids downwards. As you can see from example of JULY 2024 data to see how
Hello, I‘m interested in an indicator to predict the next candles probability (bullish or bearish). But honestly I have no idea how to do this. Would be interested in your opinion how we can create such an indicator. Please let me know if you‘ve done similar work

Información sobre el proyecto

Presupuesto
100+ USD
Para el ejecutor
90 USD