PureBytes Links
Trading Reference Links
|
Hi John,
Maybe your problem is your math logic. At least that's what it looks like
from your example. The (L-C) can never be positive (i.e. +2 as your example
states) as C>=L. So why not make it (C-L) and add this to (H-O)? Since
(H-O)>=0, the answer is always >=0 i.e. 2+4=6. If this isn't what you're
trying to do give us a better example and we'll try again to answer your
question.
Regards,
Joe Nemecek
|