PureBytes Links
Trading Reference Links
|
More on the divide-by-zero error.
Thanks to all who have tried to solve this problem for me,
but so far none of the suggestions is going to do it for me.
The oscillator does indeed have a division, but I've already
trapped the divide-by-zero problem in it; there are quite
a few contracts in which it bombed before I did the
"If divisor <> 0 ... else ..." routine. The MROs are doing
MRO(Osc > 80, 50, 1) and MRO(Osc < 20, 50, 1). I can't
see anything odd about the way the oscillator is called, and
I can plot the oscillator on the same charts where the MRO
bombs -- that is, every chart I've tried so far. It doesn't come
as any surprise that there's no division in MRO itself; couldn't
see what one would be doing there. But it's still a mystery
to me why the oscillator plots and the MRO(oscillator...)
blows up in my face.
Does this give anyone the crucial hint?
Owen Davies
|