You can't do this in Quotes Plus. Although you can use variables in your
scans the variables have very limited capability.  When running a scan
when you store data in a variable for say stock A when Quotes Plus looks
at the next stock in your list, Quotes Plus overwrites the stock A data
with data from the next stock in your list.  This means you can't for
example count the number of new highs, new lows or stocks rising more
than 5% with a Quotes Plus scan.  

Another way, besides using Excel, around this limitation of Quotes Plus
is to use a programming language like Python to calculate the statistics
you are interested in on the results of your scans.  Python is free and
is very easy to use for routine tasks. 

Howard


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Rick
Sent: Friday, April 07, 2006 6:21 AM
To: [email protected]
Subject: [quotes-plus] Counting hits on scans

I'm not sure how to do this, or even if it's possible in QP2.  I want 
to generate a number of hits for a given scan and output that number to 
a println, something like this:

println "Number of AMEX stocks hitting new lows =", "x";
println "Number of NASDAQ stocks with P/E < 10 =", "y";

Any ideas on how to do this?  I've been casually kicking it around for 
a year or so but I can't come up with an elegant solution.

Thanks!








 
Yahoo! Groups Links



 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
GFT Forex Trading Accounts As low as $250 with up to 400:1 Leverage. Free Demo.
http://us.click.yahoo.com/lpv1TA/jlQNAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

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

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

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



Reply via email to