PureBytes Links
Trading Reference Links
|
Dick,
Here is a excerpt from a scan I run. It should give
you what you need. Just modify the time frames to 1,5,...
Filter = C>0<FONT
size=1>;
AddColumn(<FONT color=#0000ff
size=1>ROC(C,<FONT color=#ff00ff
size=1>5),<FONT color=#ff00ff
size=1>"ROC5",<FONT color=#ff00ff
size=1>2.2);
AddColumn(<FONT color=#0000ff
size=1>ROC(C,<FONT color=#ff00ff
size=1>21),<FONT color=#ff00ff
size=1>"ROC21",<FONT color=#ff00ff
size=1>2.2);
AddColumn(<FONT color=#0000ff
size=1>ROC(C,<FONT color=#ff00ff
size=1>63),<FONT color=#ff00ff
size=1>"ROC63",<FONT color=#ff00ff
size=1>2.2);
AddColumn(<FONT color=#0000ff
size=1>ROC(C,<FONT color=#ff00ff
size=1>126),<FONT color=#ff00ff
size=1>"ROC126",<FONT color=#ff00ff
size=1>2.2);
AddColumn(<FONT color=#0000ff
size=1>ROC(C,<FONT color=#ff00ff
size=1>200),<FONT color=#ff00ff
size=1>"ROC200",<FONT color=#ff00ff
size=1>2.2);
John Pyle
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
drlblast
To: <A title=amibroker@xxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Monday, October 14, 2002 12:18
PM
Subject: [amibroker] Performance
I'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 ona 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.
|