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

Re: [EquisMetaStock Group] Division by zero.



PureBytes Links

Trading Reference Links

Amit,

First I would like to thank you for the help, but in both cases I still get 
problems.

Initializing the variable whith a fixed value (Cum(x) :=1; or Cum(Abs(y)) 
:=1), MS returned:

"Assignment to reserved word, constant, expression or function."

And using an IF to eliminate the first cumulative value 
(IF(Cum(x)/(Cum(x)+Cum(Abs(y)))=0,1,Cum(x)/(Cum(x)+Cum(Abs(y))))), MS still 
get division by zero, but now, twice.


Any other solution ?


Thanks in advance.


Att,

Mormax





----- Original Message ----- 
From: "Athena Research" <athena.investments@xxxxxxxxx>
To: <equismetastock@xxxxxxxxxxxxxxx>
Sent: Friday, February 17, 2006 1:54 AM
Subject: Re: [EquisMetaStock Group] Division by zero.


> Mormax,
>
> Assign initial value 1 either for cum(x) or Cum(Abs(y)) but not both.
>
> Initialize either Cum(x) :=1; or Cum(Abs(y)) :=1; then proceed with your
> code.
>
> Or you can check for the first condition like
>
> IF(Cum(x) = 0 {then} Cum(x) :=1)
>
>
>
>
> Thanks and Regards,
> Amit Trivedi
> Technical Analyst, Professional Trader & Coach
> Athena Investments, Inc.
> www.athenasolutionz.com
> http://athenasolutionz.forumup.in/
>
>
>  ----- Original Message ----- 
>  From: Mormax
>  To: equismetastock@xxxxxxxxxxxxxxx
>  Sent: Friday, February 17, 2006 9:51 AM
>  Subject: [EquisMetaStock Group] Division by zero.
>
>
>  When i write this indicator,
>
>  Cum(x)/(Cum(x)+Cum(Abs(y)))
>
>  it always return division by zero for the first calculation.
>
>  How to eliminate this division by zero ?
>
>
>  Thanks.
>
>  Mormax
>
>  [Non-text portions of this message have been removed]
>
>
>
>
>
>
>  SPONSORED LINKS Business finance course  Business to business finance
> Small business finance
>        Business finance consultant  Business finance magazine  Business
> finance schools
>
>
> ------------------------------------------------------------------------------
>  YAHOO! GROUPS LINKS
>
>    a..  Visit your group "equismetastock" on the web.
>
>    b..  To unsubscribe from this group, send an email to:
>     equismetastock-unsubscribe@xxxxxxxxxxxxxxx
>
>    c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.
>
>
> ------------------------------------------------------------------------------
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
> 


		
_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora!
http://br.acesso.yahoo.com





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/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/