When you are reading about an indicator in
Amibroker HELP, this is the page that comes up when I click on SEE
UPDATED/EXTENDED VERSION ONLINE. I don't recall ever seeing anything more
than what is already in the help manual. I am assuming that the average
Amibroker user is not allowed to add any further explanations to this
UPDATED/EXTENDED VERSION ONLINE.
IMHO, select volunteer Amibroker Gurus should be
allowed to post additional content to this UPDATED/EXTENDED VERSION ONLINE so
that when I click on it, I would actually see examples of how to use the
function that I am reading about. It would be of enourmous help to me when
I am trying to learn about a function that I have never used
before.
TJ could allow a group of Amibroker Guru
volunteers, to screen all suggestions for additional "FURTHER
EXPLANATIONS" before thay are posted to the ONLINE VERSION.
The explanation below of CUM() by Graham is an
example of what can be added by Volunteers to the Online Manual in order to
improve it a thousand fold.
Now contrast this with the existing
UPDATED/EXTENDED VERSION ONLINE which I have copied below Grahams excellent
discussion of Cum().
All Amerbrokerians should be allowed to send
suggested explanations to the Gurus for possible addition to the online
manual. Many of us will be able to help clarify some of these
concepts to non-techie users. Ron D
Sum adds up the
last "n" number of bars. It sums whatever you put into thefirst part of the
sum formula.Cum(1) adds 1 to the previous value of Cum, so the first bar is
1 and itjust keeps adding one to the last bar value of cum(1). You can use
Cum toadd anything, like how many times you get rising days in the entire
chartRise = C>O; //this gives results of 0 or 1TotalRise =
Cum(Rise);You could limit this as well to time periods, or any other
conditionExample would bne for total rise days since 1995RecentRise =
C>O and Year()>=1995; //this gives results of 0 or 1TotalRise =
Cum(RecentRise);If you wanted to know how many rising days in the last
12 bars you would useLastRises = Sum(Rise,12);Hope this
helpsCheers,Graham
<FONT
face="Times New Roman">====================================================================
<A
href=""><IMG alt=""
src="gif00076.gif" border=0>
<IMG height=1 alt=""
src="gif00077.gif" width=1 border=0>
<IMG
height=29 alt=Welcome src="gif00078.gif"
width=74 border=0>
<IMG
height=29 alt=Features
src="gif00079.gif" width=71
border=0>
<IMG height=29
alt=News src="gif00080.gif" width=71
border=0>
<IMG
height=29 alt=Download
src="gif00081.gif" width=71
border=0>
<IMG
height=29 alt=Registration
src="gif00082.gif" width=71
border=0>
<IMG
height=29 alt=Support src="gif00083.gif"
width=71 border=0>
<IMG height=29
alt=FAQ src="gif00084.gif" width=71
border=0>
<IMG height=29
alt="Wish list" src="gif00085.gif" width=71
border=0>
<IMG
height=29 alt=Links src="gif00086.gif"
width=74 border=0>
<IMG height=44 alt=""
src="gif00087.gif" width=115
border=0>
<IMG height=19 alt=""
src="gif00088.gif" width=530 border=0>
<FONT face="Verdana, Arial, Helvetica, sans-serif"
size=2><FONT
face="Arial, Helvetica, sans-serif">Advanced stock charting and
analysis program
<A
href="">A-Z
Index | <A
href="">Category
Index |
CUM- cumulative sum
Moving averages, summation
SYNTAX
cum( ARRAY )
RETURNS
ARRAY
FUNCTION
Calculates a cumulative sum of the ARRAY from the
first period in the chart.
EXAMPLE
The formula cum( 1) calculates an indicator that
rises one point for each day since the beginning of the chart - this
is an equivalent of bar number - especially useful if you want to
detect the last bar: ThisIsLastBar = cum( 1 ) == lastvalue( cum( 1 )
);
SEE ALSO
<A
href="">SUM()
function
<IMG height=1
src="gif00089.gif"
width=550>
<A
href="">About | <A
href="">Privacy | <A
href="">Terms of Use | <A
href="">Contact information
Copyright © 2003 AMIBROKER.COM
---Outgoing mail is certified Virus
Free.Checked by AVG anti-virus system (<A
href="">http://www.grisoft.com).Version: 6.0.638 /
Virus Database: 409 - Release Date: 4/6/2004
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
Attachment:
Description: ""
Attachment:
Description: ""
Attachment:
Description: ""
Attachment:
Description: ""
Attachment:
Description: ""
Attachment:
Description: ""
Attachment:
Description: ""
Attachment:
Description: "Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service."
Attachment:
Description: "To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx "
Attachment:
Description: "To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ "
Attachment:
Description: "Yahoo! Groups Links"
Attachment:
Description: ""
Attachment:
Description: ""
Attachment:
Description: ""
|