Existing EA |Zero Divide Issues & Initialisation Issues.

Job finished

Execution time 43 minutes
Feedback from employee
Very pleasant and understanding. It was a pleasure working with him.
Feedback from customer
Excellent to work with, quick turn around. Would recommend.

Specification

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.

Responded

1
Developer 1
Rating
(71)
Projects
103
20%
Arbitration
6
0% / 83%
Overdue
3
3%
Free
2
Developer 2
Rating
(298)
Projects
427
26%
Arbitration
18
61% / 33%
Overdue
26
6%
Free
3
Developer 3
Rating
(183)
Projects
325
32%
Arbitration
33
42% / 27%
Overdue
96
30%
Working
4
Developer 4
Rating
(769)
Projects
1033
44%
Arbitration
50
8% / 50%
Overdue
117
11%
Free
5
Developer 5
Rating
(3)
Projects
4
0%
Arbitration
2
0% / 100%
Overdue
1
25%
Free
6
Developer 6
Rating
(7)
Projects
13
0%
Arbitration
5
20% / 60%
Overdue
0
Free
7
Developer 7
Rating
(546)
Projects
823
73%
Arbitration
15
53% / 13%
Overdue
193
23%
Working
8
Developer 8
Rating
(119)
Projects
127
41%
Arbitration
3
33% / 67%
Overdue
0
Free
9
Developer 9
Rating
(2380)
Projects
2991
65%
Arbitration
76
47% / 14%
Overdue
340
11%
Free
10
Developer 10
Rating
(185)
Projects
190
27%
Arbitration
0
Overdue
3
2%
Free
11
Developer 11
Rating
(251)
Projects
399
54%
Arbitration
9
67% / 22%
Overdue
36
9%
Free
12
Developer 12
Rating
(86)
Projects
114
26%
Arbitration
7
29% / 57%
Overdue
5
4%
Free
Similar orders
Hi, I want a custom indicator to be coded based on 2 default Indicators. Add alerts for signals and news filter alerts to be sent through metaquotes id, email and phone. Popup alerts for pc/laptop as well. I would like it to have a display panel that logs the trade history and a buy/sell button with risk % based on balance and equity, fixed lots and some other features
I needed one Simple Following FIFO Rule, No Hedging, with panel box Grid based MT4 EA. only for really good understandable, giving time and high professional good quality Developer. I’ll sent Everything in detail, we can do good conversation through message step by step
Hi I have an indicator that I use within ThinkorSwim that helps me determine when a bullish or bearish trend is reversing and I would like to convert the indicator over to Ninja Trader 8. I've added a text file with the code of the indicator for you to review and provide me with an estimate for the work. I'm looking forward to hearing from you about the statement of work. Kind regards
The basis of the strategy is timeframe m1 and divergences between EURUSD and DXY (dollar index) purchases or sales would be programmed with a certain SL and TP and BE. I have screenshots to better understand and refine the strategy as much as possible. I would like to connect the bot to a FTMO funding account and in the future also to private capital. If you could show me support and problem solving until you find
Hello, My request is as follows: Write an MT4 robot (EA MT4) that automatically adds indicators and updates values in the indicator's input and then runs that indicator. Do not use chart templates. Do not use auto click. Thank! Exemple: MACD
Forex Advanced Risk Management : With the new Fixed Lot and Risk Percentage modes, tailor your trading to align with your risk tolerance. The system now allows you to define your risk down to minute detail, ensuring that each trade is in harmony with your financial strategy. Dynamic Trend Configuration : Version 2.0 comes with a refined algorithm selection that seamlessly adapts to market trends. Whether you choose a
I have Trading View pinescript indicator that I would like converting to an MT4 indicator, and i want it to be working in MT4 exactly the way it works in tradingview must work on any timeframe and without bugs, if you have the knowledge of the platform programming language and can make the conversion possible please kindly bid for the job. Sorry, forgot to add I need an alert added to the indicator when price reaches
I would like to find a freelancer who can create an indicator or expert advisor about COT reports. I want it to automatically get the results and added to the indicator. it should be able to tell me if the banks are buying oir selling more for the week. it should also advise the long and short position for the pairs that i am looking at
Hi, I am looking for a scalping bot, that will have below criteria: 1. Take a position in the direction of the market with 1 STANDARD LOT. 2. Wait for 125 seconds after entering the position. 3. Exit the position when the position shows $10 profit. 4. Scan multiple leading currencies for such setups. 5. More than 5 positions should not be open at a time. 6. Exit the position if the floating loss exceeds $100. 7
Hello I am looking for a developer to help me do modification on my custom ninjatrader 8 strategy and also backtest it in other to work perfectly your expertise is highly needed for this project Kindly reach out to me and let get started on the project Thanks

Project information

Budget
100+ USD
For the developer
90 USD