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: Magnatizer who wrote (9674)6/21/1999 11:49:00 AM
From: Bob Jagow  Read Replies (1) of 11149
 
We have lots of problems, David :o)
First, my
---
if ( cci(0) > -150 and cci(-1) < -150 )
or ( cci(0) > -150 and cci(-2) < -150 ) then
---
"catches those plus those that happened to be -150 last week." was pure nonsense; it, of course, catches what Michael's did -- last two weeks.
So throw out the 2nd line -- too much of a bother to snare those that happened to be -150 last week.
----
input="spindex.lst";
output = "ccispindex.lst";
set CCI=13;
weekly;
daystoload=1000; daysrequired=550;
if cci(0) > -150 and cci(-1) < -150 then
println symbol,",",description;
endif;
----
This scan will work fine on daily data, but the SP data [your spindex.lst] is weekly! , so you get !SP-MM.

//weekly gives !SP-E, !SP-NB, and !SP-SL, which is what I think you want -- a 13 period CCI on weekly data.

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