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


To: Alain Joaris who wrote (5994)8/12/1998 6:04:00 PM
From: Bob Jagow  Respond to of 11149
 
AMC has undefined everything, Alain ;)
Sure would have flunked a vol pre-screen.
Most scans here and on Brooke's site either have a vol test or an input file name that hints of volume.
30 and 300K avgvol filters seem common -- I use 30K or a PrVol
equivalent e.g. [with utterly unnecessary embellishments :)] -Bob
--------------
IssueType Common;
float MinPrVol, MaxPrVol, maPr, maVol, prVol;
integer bar, prLen, volLen;
bar:= 0;
prLen := 10;
volLen := 30;
MinPrVol := 10; // Set M here ************
output = "10M+PrVol.lst"; // Rename to match
MinPrVol := 1000000*MinPrVol;
Daystoload = 2200; // For count
DaysRequired = 100 -bar;
maPr := MovAvg(bar,prLen,cl); // Store Pr
if maPr > 1 then
maVol := Movavg(bar,volLen,vol);
if maVol > 30000 then // lowish
prVol := maPr*maVol;
if prVol > MinPrVol then
Println symbol,",",PrVol/1000000:8:3,",",maVol/1000:8:3,",",
DaysLoaded;
endif; endif; endif;



To: Alain Joaris who wrote (5994)8/12/1998 7:22:00 PM
From: bdog  Respond to of 11149
 
Yo Alain. I'm a dumba when it comes to this stuff but persistent. Bob has a good point to prescan. If you still want to run your scan you can add the line

daysrequired=69; // since amc has 68

but that is impractical so you could also prequalify the stoch values with a variable. ie

integer d,mtest; // add mtest variable

d:=-20;

// FIRST BUY INDICATION

mtest:=StochasticPctK(d);
if mtest >0 and mtest <100 then //don't forget the endif!

if StochasticPctK(d) <=20 then

it works past amc but the smart guys are going to have to explain why, also note that a >= and <= will not work

bdog