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: Alain Joaris who wrote (5994)8/12/1998 7:22:00 PM
From: bdog   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
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext