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

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Jurgen who wrote (5916)8/10/1998 3:23:00 AM
From: bdog  Read Replies (1) 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
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext