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: TechTrader42 who wrote (3829)4/5/1998 5:05:00 PM
From: Bob Jagow  Read Replies (1) of 11149
 
Yep, Brooke. 24 is wrong, should be 26.

In case someone is trying to compare the R1 and R2 scans,
----------
maup:=0;
for i = 0 to -60 step -5 do
ma50:=movavg(i,50,Cl); //use it twice
if movavg(i,10,Cl)> ma50 and
ma50 > movavg(i-5,50,Cl)then
maup:=maup + 2;
endif;
next i;
-----------
doesn't exactly match the 'marto' scan because it compares the
50-day MA for an additional week, -65.
To duplicate his exactly would require messier code, such as
--------------
maup:=0;
for i = 0 to -60 step -5 do
ma50:=movavg(i,50,Cl); //use it twice
if movavg(i,10,Cl)> ma50 then
maup:=maup + 1; // 13 max
endif;
if ma50 > movavg(i-5,50,Cl)
and i != -60 then
maup:=maup + 1; // 12 max, sum = 25
endif;
next i;
--------
Ran these two scans and got 83 hits for maup = 26 and 94
for this mod (with maup = 25).
His current scan
ccnet.com
has 90 hits, but I haven't compared the contents of the 3.

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