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 : Technical Analysis - Beginners

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: CatLady who wrote (10132)4/27/1999 8:37:00 AM
From: mikeman  Read Replies (2) of 12039
 
I came up with the following scan which yielded about 240 stocks with 100+ day uptrends across a variety of industry groups. This was a real adventure since I don't write code.

If emovavg(0,5,cl)>emovavg(0,34,cl) and
emovavg(0,5,cl)>emovavg(-10,34,cl) and
emovavg(-10,5,cl)>emovavg(-20,34,cl) and
emovavg(-20,5,cl)>emovavg(-30,34,cl) and
emovavg(-30,5,cl)>emovavg(-40,34,cl) and
emovavg(-40,5,cl)>emovavg(-50,34,cl) and
emovavg(-50,5,cl)>emovavg(-60,34,cl) and
emovavg(-60,5,cl)>emovavg(-70,34,cl) and
emovavg(-70,5,cl)>emovavg(-80,34,cl) and
emovavg(-80,5,cl)>emovavg(-90,34,cl) and
emovavg(-90,5,cl)>emovavg(-100,34,cl) and
emovavg(-100,5,cl)>emovavg(-110,34,cl) and
emovavg(-110,5,cl)>emovavg(-120,34,cl) and
emovavg(-120,5,cl)>emovavg(-130,34,cl) then
println symbol;
endif;

Now I'm trying to come up with a scan for stocks that are in a TRADING RANGE. I figured to use closing prices +/- 15% working back 100 to 125 days but I can't find a way to write this.

Any suggestions would be GREATLY appreciated.
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext