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: Gary Lyben who wrote (2594)12/1/1997 11:59:00 PM
From: Gary Lyben  Read Replies (1) of 11149
 
New keyword added for the r2 32 beta.

A new keyword for the scans was added - it's DaysLoaded - it
returns the actual number of days that the program loaded. This can
be used to scan every day in the database.

For Example:

// ----------------------------------------------

output="test.lst";

integer i , StartIndex;

DaysToLoad=2200;

StartIndex := (DaysLoaded - 1) * -1;

for i = StartIndex to 0
do
if ( Open(i) > 0 ) and
(close(i) < low(i) or
close(i) > high(i) or
low(i) > high(i) or
open(i) < low(i) or
open(i) > high(i) ) then
println Symbol , "," , Date(i) , "," ,
Open(i) , "," ,
High(i) , "," ,
Low(i) , "," ,
Close(i);
endif;
next i;

// ----------------------------------------------------
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext