PureBytes Links
Trading Reference Links
|
<SPAN
class=301210717-14102002>Dick,
the
formula is fairly straight forward. you take today's close - yesterdays close
then divide that number by yesterdays close. You can move the decimal pointby
multiplying the whole thing by 10.
<SPAN
class=301210717-14102002>
in
AFL
<SPAN
class=301210717-14102002>
<SPAN
class=301210717-14102002>x=(c-ref(c,-1))/ref(c,-1)*10;
<SPAN
class=301210717-14102002>
adjust
ref(c, ) for your 5 and 30 day percentages. you could use the addcolumn
function to format your report. A tutorial is in the help files just search
"addcolumn" and then follow "How to create your own
exploration"
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: drlblast
[mailto:hoierman@xxxx]Sent: Monday, October 14, 2002 12:19
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]
PerformanceI'm wondering if anyone out there has
developed a performance type Scan or Exploration that will go through the
database (mine is of 6600 stocks) and calculate their % movement up or down
on a 1 day – 5day and 30 day basis. Results would appear in colums " 1-day,
5-day, and 30-day. If so would appreciate the code for such a
program. Thanks.R.E.(Dick) HoiermanPost
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|