StockFetcher Forums · Filter Exchange · KST long ema<< >>Post Follow-up
milansanremo
12 posts
msg #73748
Ignore milansanremo
4/21/2009 9:02:57 PM

can't get this filter to work


kst long ema crossed above 0 today

I've tried umpteen variations and still can't get it to work.

just looking for stocks where the kst long ema crossed above 0 today.

thanks in advance

chetron
2,817 posts
msg #73751
Ignore chetron
4/21/2009 9:37:31 PM

zzzzzzzzzzzzzzzzzzzzz......

Fetcher[
kst long ema crossed above 0
]



milansanremo
12 posts
msg #73771
Ignore milansanremo
4/22/2009 7:56:40 AM

Try it.....results are bogus...KST long ema .... in most cases is not close to crossing 0 line.....glitch???

chetron
2,817 posts
msg #73777
Ignore chetron
4/22/2009 11:24:51 AM

OK......

ONLY THE SMA WORKS FOR THE DAILY...


Fetcher[
kst long DAILY Sma crossed above 0
]



milansanremo
12 posts
msg #73786
Ignore milansanremo
4/22/2009 8:33:09 PM

thanks for your help but that's a serious issue for Fetcher since the kst long ema is by far the most important and that means no backtesting possible.
The cross above 0 is one deadly cross.... recent...RT,MU,S,F,........and I can go on...but I'm letting the cat outa the bag.......

chetron
2,817 posts
msg #73819
Ignore chetron
4/24/2009 6:41:30 AM

IF YOU DON'T LET THAT CAT OUT OF THE BAG, HE WILL EVENTUALLY PEE IN IT. = )

GLTY



milansanremo
12 posts
msg #73843
Ignore milansanremo
4/24/2009 6:28:28 PM

Love your humor....!!!!!
thanks Chet

chetron
2,817 posts
msg #73845
Ignore chetron
4/24/2009 6:36:56 PM

though i am sure SF support could explain better, the reasoning could be that the timeframe of the indicator won't display correctly on a daily or weekly chart, though the info may still be valid????????????

the daily indicator works fine, long and intermediate, what does that mean??????????????//


the amazing thing i see is a " monthly " indicator????????????


hth

tomm1111
198 posts
msg #73862
Ignore tomm1111
modified
4/26/2009 12:01:51 AM

If only I searched the site for "KST", it would have saved me a lot of grief and time. LOL! I coded this a while ago.
It is 2/3 of Pring's Special K. Works in progress...

I am also amazed at the "monthly" period. If real, it would be the last part of the special K.

Fetcher[
/* Special K - Pring */
/* Enter Long */
/* Short Term - Day */
set {sd101,close / close 9 days ago}
set{sd102,sd101 * 100}
set{sd10,sd102 - 100}
set{sd_10ma,cma(sd10,10)}

set {sd151,close / close 14 days ago}
set{sd152,sd151 * 100}
set{sd15,sd152 - 100}
set{sd_15ma,cma(sd15,10)}

set {sd201,close / close 19 days ago}
set{sd202,sd201 * 100}
set{sd20,sd202 - 100}
set{sd_20ma,cma(sd20,10)}

set {sd301,close / close 29 days ago}
set{sd302,sd301 * 100}
set{sd30,sd302 - 100}
set{sd_30ma,cma(sd30,15)}

set{var,sd_30ma * 4}
set{var1,sd_20ma * 3}
set{var2,sd_15ma * 2}
set{var3,var2 + var1}
set{var4, var + sd_10ma}
set{sd_kst,var3 + var4}

/* Intermediate Term - Week */
set {sw31,close / close 49 days ago}
set{sw32,sw31 * 100}
set{sw3,sw32 - 100}
set{sw3_3ma,cma(sw3,10)}

set {sw41,close / close 64 days ago}
set{sw42,sw41 * 100}
set{sw4,sw42 - 100}
set{sw4_4ma,cma(sw4,13)}

set {sw61,close / close 74 days ago}
set{sw62,sw61 * 100}
set{sw6,sw62 - 100}
set{sw6_6ma,cma(sw6,15)}

set {sw81,close / close 99 days ago}
set{sw82,sw81 * 100}
set{sw8,sw82 - 100}
set{sw8_8ma,cma(sw8,20)}

set{var02,sw8_8ma * 4}
set{var12,sw6_6ma * 3}
set{var22,sw4_4ma * 2}
set{var32,var22 + var12}
set{var42, var02 + sw3_3ma}
set{sw_kst,var32 + var42}

set{sd_ma,cema(sd_kst,5)}
set{sw_ma,cema(sw_kst,5)}

draw sd_kst
draw sd_ma on plot sd_kst
draw sw_kst
draw sw_ma on plot sw_kst

show stocks where close is above 1
and volume is above 100000
and sd_kst is greater than sd_ma
and sd_kst 1 day ago is less than sd_ma 2 days ago
and sw_kst is greater than sw_ma

add column sd_kst
add column sw_kst
]




Fetcher[
/* Special K - Pring */
/* Enter Short */
/* Short Term - Day */
set {sd101,close / close 9 days ago}
set{sd102,sd101 * 100}
set{sd10,sd102 - 100}
set{sd_10ma,cma(sd10,10)}

set {sd151,close / close 14 days ago}
set{sd152,sd151 * 100}
set{sd15,sd152 - 100}
set{sd_15ma,cma(sd15,10)}

set {sd201,close / close 19 days ago}
set{sd202,sd201 * 100}
set{sd20,sd202 - 100}
set{sd_20ma,cma(sd20,10)}

set {sd301,close / close 29 days ago}
set{sd302,sd301 * 100}
set{sd30,sd302 - 100}
set{sd_30ma,cma(sd30,15)}

set{var,sd_30ma * 4}
set{var1,sd_20ma * 3}
set{var2,sd_15ma * 2}
set{var3,var2 + var1}
set{var4, var + sd_10ma}
set{sd_kst,var3 + var4}

/* Intermediate Term - Week */
set {sw31,close / close 49 days ago}
set{sw32,sw31 * 100}
set{sw3,sw32 - 100}
set{sw3_3ma,cma(sw3,10)}

set {sw41,close / close 64 days ago}
set{sw42,sw41 * 100}
set{sw4,sw42 - 100}
set{sw4_4ma,cma(sw4,13)}

set {sw61,close / close 74 days ago}
set{sw62,sw61 * 100}
set{sw6,sw62 - 100}
set{sw6_6ma,cma(sw6,15)}

set {sw81,close / close 99 days ago}
set{sw82,sw81 * 100}
set{sw8,sw82 - 100}
set{sw8_8ma,cma(sw8,20)}

set{var02,sw8_8ma * 4}
set{var12,sw6_6ma * 3}
set{var22,sw4_4ma * 2}
set{var32,var22 + var12}
set{var42, var02 + sw3_3ma}
set{sw_kst,var32 + var42}

set{sd_ma,cema(sd_kst,5)}
set{sw_ma,cema(sw_kst,5)}

draw sd_kst
draw sd_ma on plot sd_kst
draw sw_kst
draw sw_ma on plot sw_kst

show stocks where close is above 1
and volume is above 100000
and sd_kst is less than sd_ma
and sd_kst 1 day ago is greater than sd_ma 2 days ago
and sw_kst is less than sw_ma

add column sd_kst
add column sw_kst
]



StockFetcher Forums · Filter Exchange · KST long ema<< >>Post Follow-up

*** 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 2016 - 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