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

RE: [amibroker] Re: Sector Trading (Yurconis Approach)



PureBytes Links

Trading Reference Links

--- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:

What I want to do is multiply a sequence of numbers.
like A1*a2*a3*a4..........

What I am trying to do is

1. Find average % change for a group of stocks for each day. (I have 
done that).
2. Start with a value like 100 and then multiply the first % change 
value by 100, then multiply that number by the next % change value 
in sequence and so on.

I used to do this when I did everything with EXCEL. It makes a 
valuable indicator because it makes an unweighted index on a group 
of stocks which can be plotted against the weighted index. e.g. S&P 
500.

Clyde



> Clyde,
> you can Cum() anything...
> 
> you can also sum() anything over a set period of bars
> 
> Regards,
> Jayson
> -----Original Message-----
> From: nb9trade [mailto:clyde@x...]
> Sent: Tuesday, March 30, 2004 11:49 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] AFL Code Question
> 
> 
> Is there a built in function for finding a cumulative product,
> similar to the CUM() functionsthat is used for cumulative sums?
> 
> I didn't see one.
> 
> If not is there a way to do it?
> 
> Clyde
> 
> 
> 
> 
> 
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> 
> 
> 
> -------------------------------------------------------------------
---------
> ----
> Yahoo! Groups Links
> 
>   a.. To visit your group on the web, go to:
>   http://groups.yahoo.com/group/amibroker/
> 
>   b.. To unsubscribe from this group, send an email to:
>   amibroker-unsubscribe@xxxxxxxxxxxxxxx
> 
>   c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.



Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

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

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