PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>Glenn,
to
count all the stocks in your watchlist add the line
......
<FONT face=Arial color=#0000ff
size=2>
<FONT
face="Courier New">Adv=C>Ref(C,-1);AddToComposite(Adv,"~Adv","C");<FONT
face=Arial color=#0000ff size=2>addtocomposite (1,"~adv","V");
<FONT face=Arial color=#0000ff
size=2>
this
will store the value 1 for each stock stored to the volume field. That number
can then be used for your calculation....
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: Glenn
[mailto:glennokb@xxxxxxxxxxxx]Sent: Saturday, January 17, 2004 2:35
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]
Percentage Advancers?Hi,I'd like to setup a
composite of the % advancers (& decliners later) ...any idea how
please? ie:% advancers = advancers / total (active) stocks x
100For
starters:Adv=C>Ref(C,-1);AddToComposite(Adv,"~Adv","C");I
need to add to the above the total stocks. Is there a way to count them,
would you need to run another scan first to get the total stock or could it
be done within one scan?Cheers GlennSend BUG
REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
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
Yahoo! Groups Links
To visit your group on the web, go to:<A
href="">http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:<A
href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the <A
href="">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 the Yahoo! Terms of Service.
|