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 -- Ignore unavailable to you. Want to Upgrade?


To: CatLady who wrote (10132)4/27/1999 8:37:00 AM
From: mikeman  Read Replies (2) | Respond to 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.



To: CatLady who wrote (10132)4/27/1999 6:47:00 PM
From: Bob Jagow  Read Replies (1) | Respond to of 12039
 
PDM seems to behave strangely, CL.
Especially weird to me was this ema variant,
daystoload=1200;
if eMovAvg( 0, 250, PDM ) > 30 then