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

[EquisMetaStock Group] Division by zero



PureBytes Links

Trading Reference Links

Hi,

I'm a beginner in metastock. i have this problem with division by 
zero that is hindering my system testing

for e.g, this indicator that says something about the %close of its 
day range:

IF((H-L)<>0, (C-L)/(H-L), 0.0)

although i put a zero check in front, metastock cannot pick this up 
and this will produce a division by zero error wif H=L or H=L=0. 

Any help to turn this around or avoid will be highly appreciated. 
thanks...

regards,
LCH



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com.  Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/BefplB/TM
---------------------------------------------------------------------~->

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/equismetastock/

<*> To unsubscribe from this group, send an email to:
     equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/