Search found 60 matches: zero-divide

Searched query: zero-divide

by williamk123
Sun Dec 17, 2023 10:51 pm
Forum: Issue/Bug tracking
Topic: Not connecting with data
Replies: 5
Views: 27339

Re: Not connecting with data

... the data issue sorted and I updated the code to try and solve the zeeo-divide error but now i'm getting thie following from AT when trying to run ... Product version: 0.0.4.45 Details: Length cannot be less than zero. Parameter name: length at System.String.Substring(Int32 startIndex, ...
by tickstory
Thu Dec 14, 2023 9:53 pm
Forum: Issue/Bug tracking
Topic: Not connecting with data
Replies: 5
Views: 27339

Re: Not connecting with data

Hi William, If you are referring to to the "zero-divide" errors you are seeing, these are due to an issue with your EA. According to the error, ...
by tickstory
Wed Aug 03, 2022 1:58 pm
Forum: Issue/Bug tracking
Topic: Modelling Quality N/A and result does not match with the data. (365 days limit error)
Replies: 1
Views: 5305

Re: Modelling Quality N/A and result does not match with the data. (365 days limit error)

... out of range) Critical error (Array out of range) #2 Critical error (Zero divide) Hope this helps.
by TesterThomas
Wed Dec 30, 2020 9:11 pm
Forum: General Discussion
Topic: Can't Export proper data for testing Dow Jones (Update)
Replies: 14
Views: 24968

Re: Can't Export proper data for testing Dow Jones (Update)

... very beginning of the collected data it's going to be looking back to zero based data. Thanks to Zerit0 for going out of their way to create that ... for all I know it could have been correct a few times but this zero divide error was confusing the situation. it's just less than 3 hours away ...
by TesterThomas
Wed Dec 30, 2020 8:38 pm
Forum: General Discussion
Topic: Can't Export proper data for testing Dow Jones (Update)
Replies: 14
Views: 24968

Re: Can't Export proper data for testing Dow Jones (Update)

... got the basic EA's to work, but still my own EA's are still producing a zero divide error. Even though trading in a live environment there is never a problem. On the most ...
by tickstory
Wed Dec 30, 2020 7:38 am
Forum: General Discussion
Topic: Can't Export proper data for testing Dow Jones (Update)
Replies: 14
Views: 24968

Re: Can't Export proper data for testing Dow Jones (Update)

... likely it is already covered in our FAQ or forum). If you are getting zero-divide or similar errors from your EA, just go back to a simple EA such as "MACD Sample" ...
by tickstory
Wed Dec 30, 2020 7:37 am
Forum: General Discussion
Topic: Can't Export proper data for testing Dow Jones (Update)
Replies: 14
Views: 24968

Re: Can't Export proper data for testing Dow Jones (Update)

... likely it is already covered in our FAQ or forum). If you are getting zero-divide or similar errors from your EA, just go back to a simple EA such as "MACD Sample" ...
by TesterThomas
Wed Dec 30, 2020 4:55 am
Forum: General Discussion
Topic: Can't Export proper data for testing Dow Jones (Update)
Replies: 14
Views: 24968

Re: Can't Export proper data for testing Dow Jones (Update)

... 27000 with Bid and Ask present. So I think this is why I'm getting a zero divide error because I tested the parameters of my EA on line 1019 which the error points to ...
by tickstory
Tue Oct 22, 2019 8:44 pm
Forum: General Discussion
Topic: Critical Error EA (zero divide)
Replies: 5
Views: 17721

Re: Critical Error EA (zero divide)

... support we can provide. As a courtesy, what I can gather from the information given so far is that the "ma1_0" variable is coming out as zero. You will need to do some extra debugging to find out the values of the parameters being passed in to iMA (MA_Period, etc). Maybe it's as simple ...
by jimhook_uk1
Tue Oct 22, 2019 8:26 pm
Forum: General Discussion
Topic: Critical Error EA (zero divide)
Replies: 5
Views: 17721

Re: Critical Error EA (zero divide)

Hi,
I'm still not sure why I am getting the error, below are lines 113 and 114 of the EA

double ma1_0=iMA(NULL,0,MA_Period,MA_Shift,MA_Method,MA_ApplyTo,0);
double price_ratio=Bid/ma1_0;


Any ideas?

Thanks
Jim