[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why am I getting a divide-by-zero error?



PureBytes Links

Trading Reference Links

The short answer seems to be not much. I've encountered dbz errors where no
division was employed and I've encountered dbz errors in Omega's own
functions - one assumes they know enough to build zero checks into their own
functions which employ division. After performing some lengthily and
detailed examinations of several such occurrences and even building some
test functions, I concluded that dbz is one of several standard error
messages which Omega software uses when it craps outs.

Earl

-----Original Message-----
From: Owen Davies <owen@xxxxxxxxxxxxx>
To: omega-list@xxxxxxxxxx <omega-list@xxxxxxxxxx>
Date: Monday, April 12, 1999 7:33 PM
Subject: Why am I getting a divide-by-zero error?


>I haven't paid much attention to the Chande Momentum Oscillator,
>so when someone mentioned it here the other day, I decided to
>take a look at it.  In one "system" I made to study its behavior,
>I tried to do a simple comparison: CMO(n) > CMO(n)[1].  For
>no reason I can begin to understand, SC4 came up with a
>divide-by-zero error.  Does anyone know what causes this,
>and what can be done to get around it?
>
>Many thanks.
>
>Owen Davies
>