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

Re: [amibroker] Percent - Math 101?



PureBytes Links

Trading Reference Links

hmm Percent Change = (b-a) / a*100
7-5/5=.4 X 100 = 40
14-10/10 x100 =40

look like 40 % diference to me ?

----- Original Message -----
From: "Tom Presley" <tpresley@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, March 08, 2001 10:30 AM
Subject: RE: [amibroker] Percent - Math 101?


> This still assumes you know which value is larger. In this case, the below
> formula does not work:
>
> a=5
> b=7
>
> (7-5) / 5 = .4 (incorrect)
>
>
> >If a is the start value and b is the end value then you could use
> >
> >Percent Change = (b-a) / a
> >
> >If the change is a decrease the answer is negative. If the change is an
> >increase the answer is positive.
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>