StockFetcher Forums · View by Author: (235 messages)  [ Display By: Date / Subject ]<< 1 ... 2 3 4 5 6 ... 24 >> 
General Discussion · Filter puzzler
cegis
msg #34409
12/17/2004 1:58:22 PM

Wnehever I'm looking for functionality, I look in the Announcements Forum FIRST. That's where functionality is documented first... The User's Manual is quite out of date.

Also, yepher has developed a good web site that has good descriptions of SF functionality - including some thread posts that are helpful. I don't have the url handy, but you can search on yepher.com, and you should be able to find it quickly.

HTH,

C


General Discussion · Heres something weird
cegis
msg #34408
12/17/2004 1:53:25 PM

SurfnDestiny,

Do you mean "200 day slope of close < -1", which is MUCH different than "slope of close < -1 for the last 200 days". The first takes the slope over 200 days, where the second checks the slope on EACH of the past 200 days.

HTH,

C


General Discussion · Historical Testing of Filters Between Date Ranges
cegis
msg #34353
12/13/2004 1:31:14 PM

Jeff,

I did a post a while back, titled something like "Technique: Calc your own returns", that showed how you can do this. Try searching on "cegis technique"...

HTH,

C


Filter Exchange · Weekly count problems...
cegis
msg #34342
12/12/2004 6:44:06 PM

siliconhippy,

I'm not sure "weekly count()" is valid, but even removing the "weekly" portion didn't help. Also, I thought "period" may be a "reserved word" (used internally by SF, so you can't use it), but changing it tp "per" also didn't help.

This looks like one for SF support...

HTH,

C


Filter Exchange · Counting 2 events simultaneously...
cegis
msg #34341
12/12/2004 6:34:19 PM

siliconhippy,

VERY CLOSE!

What you need is the count() function in the set commands:

Fetcher[ set{v, count(volume above volume 1 day ago,1)}
set{p, count(close above close 1 day ago,1)}
set{pv, p*v}

show stocks where ema(10) crossed above ema(50) within the past 30 days
and count(pv equals 1,10) is above 6
]



The count() makes the values of p and v zero (false) or one (true), so pv will now be zero (either/both false) or one (both true).

HTH,

C


Filter Exchange · filter phrase- "non-decreasing" ...
cegis
msg #34290
12/9/2004 11:19:03 AM

The RumpledOne's suggestion does not give the 3% range, tho.

Maybe this will do it:

Fetcher[
set{d0, ema(10) minus ema(50)}
set{d1, ema(10) 1 day ago minus ema(50) 1 day ago}
set{d0b, d0 * 1.03}

set{cnt,count(d0b minus d1 is greater than 0,45)}

cnt is equal to 45

add column d1 {Diff Yesterday}
add column d0 {Diff Today}
add column cnt {trend days}
]



The first line calculates the ema difference today.
The second line calculates it for yesterday.
The third line adds 3% to today's ema difference.

Within the count() function, the subtraction calculates the day-to-day change in the difference, but adding the extra 3%. If this number is consistently above zero, then you have a positive trend, within the 3%. The count() function, then, is seeing how many times over the past 45 days the calculation is above zero. Then, the comparison of the count() to 45 means that ALL 45 days have to be in the positive trend. (In this case, you could also use days(), but you'd have to look for days(d0b minus d1 is less than 0,45) to see when it was last below zero.) You could "loosen" your criteria by looking for cnt > 40, say.

HTH,

C

P.S., Didn't mean to show you up, Avery :-)


Filter Exchange · Finding difference between MAs
cegis
msg #34289
12/9/2004 10:56:58 AM

no arguement there!

Hey, yepher. How 'bout adding it to your documentation??

C


General Discussion · Logic system and set commamd question
cegis
msg #34274
12/8/2004 8:20:11 PM

woofys,

Search the forums for "TheRumpledOne logic system" (or maybe more generally "logic"), and "yepher.com". The first will find TheRumpledOne's post describing the SF logic system, and the second will get the URL of Yepher's manual, which I believe has a WHOLE LOT of information on SF, including some of the better posts in these forums.

I have posted a lot about logic within SF as well, so I suppose a search on "cegis logic" would find stuff, too.

HTH,

C


Filter Exchange · Finding difference between MAs
cegis
msg #34269
12/8/2004 3:56:25 PM

siliconhippy,

Not sure I'd call it a bug... It is pretty much "standard practice" with computers to use a space to delimit (separate) individual "words with meaning". By using space, it allows you to use variable names with a dash. I don't know if SF allows it, but you might be able to do something like set{my-vol, volume 30 day low}. Here, I wouldn't want to subtract...

HTH


Filter Exchange · Finding difference between MAs
cegis
msg #34251
12/7/2004 3:18:09 PM

siliconhippy,

Just as another thought (which may help in the futire), you may need spaces around your minus sign. It doesn't look like there are any.

HTH,

C


StockFetcher Forums ·  · << 1 ... 2 3 4 5 6 ... 24 >>

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2018 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus