SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : TA-Quotes Plus -- Ignore unavailable to you. Want to Upgrade?


To: Jurgen who wrote (5916)8/9/1998 10:48:00 PM
From: Bob Jagow  Read Replies (1) | Respond to of 11149
 
Sure ;)
Impossible. Tack one of your choice onto the output list if you need a reminder [or want to import the list to a DB or SS].



To: Jurgen who wrote (5916)8/10/1998 3:23:00 AM
From: bdog  Read Replies (1) | Respond to of 11149
 
Jurgen,
Bob said it. Impossible. I have tried. It seems that Q+ runs from the top for each stock so that you can't pass a variable that has changed, ie a stop counter.

But you can make a header for each stock such as this one which lists the closes for each stock for the last 5 days.

output="closes.lst";
daystoload=500;
daysrequired=500;

integer mday,mday2,mlookback;

for mday = 0 to 0 step 1
do
println "Symbol":-8,"Date":-12,"Close":-8;
mlookback:=mday-5; //set the lookback from place in scan
for mday2 = mlookback to mday step 1
do
println symbol:-8,date(mday2):-12,close(mday2):-12:3;
next mday2;
println;
next mday;

output looks like this...

Symbol Date Close
ATW 07/31/1998 30.625
ATW 08/03/1998 28.750
ATW 08/04/1998 26.438
ATW 08/05/1998 26.375
ATW 08/06/1998 27.250
ATW 08/07/1998 28.688

Symbol Date Close
CDG 07/31/1998 20.562
CDG 08/03/1998 19.938
CDG 08/04/1998 19.125
CDG 08/05/1998 18.125
CDG 08/06/1998 19.438
CDG 08/07/1998 20.250


bdog



To: Jurgen who wrote (5916)8/10/1998 5:39:00 PM
From: Sean W. Smith  Read Replies (2) | Respond to of 11149
 
You are responding to this message from Jurgen on Aug 9 1998 9:48PM EST

I'm trying to figure out how to create a header line in a scan result, something like ticker desc close change vol volchg% abc abc company 24.5 2.25 1000 200 def def company 24.5 2.25 1000 200 ... any ideas ? jurgen



This is very simple from an automation program like dos batch. Just put the header in a separate file and then concatenate them together with a line like the following....

cat header.txt scan.txt > results.txt

Sean