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 (5974)8/11/1998 6:24:00 PM
From: Monty Lenard  Read Replies (2) of 11149
 
Hi Bob, rather that letting Sean hog all the questions I thought I
would share one with you. :-)

I just ran the following scan and got some unexpected results
the date(bar) gave me different dates within the same scan.

input="nyse.lst";
output="2 NYSE Over 20 DMA.lst";
daystoload=1000;
integer bar;
bar:= -202;
if Close(bar)> movavg(bar,20,cl)
then
println symbol,",",date(bar);
endif;

Partial Sample of Results:
AFM ,10/20/1997
AFS ,10/20/1997
AGC ,10/20/1997
AGF ,10/20/1997
AGI ,10/20/1997
AGL ,10/20/1997
AGP ,10/17/1997
AHC ,10/20/1997
AHE ,10/20/1997
AHG ,10/20/1997

Notice that day -202 is 10/20/97 but I had several drop out with 10/17/97

Am I doing something wrong?

Thanks
Monty
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext