StockFetcher Forums · General Discussion · Can anyone see what is wrong with this filter please?<< >>Post Follow-up
bikhod
5 posts
msg #75346
Ignore bikhod
6/12/2009 11:13:34 AM

It works if I use c1and c2 OR c1 and c3!

Is there a problem with having three conditions like mine?


set{c1, count(Close > EMA(65), 1) }
set{c2, count(weekly MACD Fast Line(12,26) > weekly MACD Slow Line(12,26) , 1) }
set{c3, count(weekly RSI(14) > 50, 1) }

set{cAll, c1 + c2 + c3}

show stocks where cAll equals 3
and cAll 1 day ago is less than 3

chetron
2,817 posts
msg #75356
Ignore chetron
6/12/2009 2:40:04 PM

your 4th line has 2 math function. you need to break it into 2 set lines


hth

Eman93
4,750 posts
msg #75390
Ignore Eman93
modified
6/13/2009 2:33:51 PM

Fetcher[set{c1, count(Close > EMA(65), 1) }
set{c2, count(weekly MACD Fast Line(12,26) > weekly MACD Slow Line(12,26) , 1) }
set{c3, count(weekly RSI(14) > 50, 1) }

set{cAll1, c1 + c2}
set{cAll, cAll1 + c3}

show stocks where cAll equals 3
and cAll 1 day ago is less than 3
]



mystiq
650 posts
msg #75850
Ignore mystiq
6/28/2009 3:05:23 AM

Can anybody help debug these SET STATEMENTS....I think the logic is correct, but it seems to be wrong somewhere. Please help. Thx





set{s10, sma(10)}

set{e30, ema(30)}

set{guess, s10 minus e30}


i am trying to establish column to show sma(10) over/under ema(30) – positive number indicate TREND UP – negative number indicate TREND DOWN




set{em13, ema(13)}

set{em26, ema(26)}

set{uxover, count(em13 crossed above em26,1)}

set{dxover, count(em13 crossed below em26,1)}

set{fxover, uxover minus dxover}



i am trying to establish column to show ema(13) crossedover/under ema(26) – positive number indicate CROSS UP – negative number indicate CROSS DOWN

(-.-)


chetron
2,817 posts
msg #75856
Ignore chetron
6/28/2009 11:58:42 AM

SMA(10) SHOULD BE MA(10)

HTH

mystiq
650 posts
msg #75901
Ignore mystiq
6/30/2009 1:56:08 AM

Thx chetron (-.-)

chetron
2,817 posts
msg #75905
Ignore chetron
6/30/2009 6:36:28 AM

YOU ARE VERY WELCOME

StockFetcher Forums · General Discussion · Can anyone see what is wrong with this filter please?<< >>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 2022 - 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


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.