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: Bob Jagow who wrote (5611)7/26/1998 8:42:00 PM
From: Monty Lenard  Read Replies (1) of 11149
 
Bob, just figured out what you sent and applied it to one scan I am using with success. How would it be used here in place of (0) and (-1)?

input="NASD100.lst";
output="NASD 100 Adv Issues.lst";
daystoload=100;

if Close(0)>Close(-1)

then
println symbol;
endif;

In other words, if I want to look for a trend by backtesting 30 days to see how many advancing issues there were for each day.

Right now in order to do this I would have to run a scan then change the (0) to (-1) and the (-1) to (-2) and run another scan.

Even better, is there a way to come up with 30 days values all with one scan or a list for the last 30 days on a daily basis.

Thanks
Monty

PS Sure you don't want to recommend the book? :-))
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext