StockFetcher Forums · Filter Exchange · DPO in filter<< 1 2 >>Post Follow-up
glgene
613 posts
msg #79994
Ignore glgene
9/24/2009 2:25:22 PM

I am trying to build a script similar to the one shown below:

stock is etf
close is greater than ema(30)
rsi(10) is greater than 50
macd(12,26,9) is greater than 0
crossed above dpo(20)

But when I run it, nothing happens (not even an error msg.).

Want ETFs only, close is greater than ema(30), rsi(10) is above 50, macd(12,26,9) is above 0, and today the stock's price crosses above the 0 line on DPO(20).

Any suggestions? Thanks.

Zack

Kevin_in_GA
4,599 posts
msg #79995
Ignore Kevin_in_GA
9/24/2009 2:36:07 PM

Fetcher[
stock is etf
close is greater than ema(30)
rsi(10) is greater than 50
macd(12,26,9) is greater than 0
crossed above dpo(20)
]



Seems to work - I got 887 hits when I ran it.

glgene
613 posts
msg #79996
Ignore glgene
9/24/2009 2:51:03 PM

I added a line of Draw DPO(20), and your search findings include many that are less than 0. ???

Zack

Kevin_in_GA
4,599 posts
msg #79999
Ignore Kevin_in_GA
modified
9/24/2009 3:18:00 PM

"Crossed above" may be the culprit.

Try "close is above DPO(20)" and add a second line " Close 1 day ago was below DPO(2) 1 day ago". Maybe that will help.

EDIT: Problem is that the DPO(20) is always giving you the same value - -99999997952.00

Edit the filter by adding the line

add column DPO(20)

run the filter, and then you'll see that the numbers all seem to be the same, and all are negative. Therefore, ALL prices are above it.

trendscanner
265 posts
msg #80001
Ignore trendscanner
9/24/2009 3:27:18 PM

I haven't worked with this indicator before but based on your post, the following language may be correct.

Fetcher[
stock is etf
close is greater than ema(30)
rsi(10) is greater than 50
macd(12,26,9) is greater than 0
dpo(20) crossed above 0
draw dpo(20)
]



FWIW, debug says it's fine. It doesn't return any hits - that may mean that no stocks meet these criteria today.

Kevin_in_GA
4,599 posts
msg #80002
Ignore Kevin_in_GA
9/24/2009 3:30:11 PM

The DPO(20) values are all negative - therefore no stocks are returned.

Cacher
121 posts
msg #80003
Ignore Cacher
9/24/2009 3:30:15 PM

I believe there is a bug within SF.... check out the values it is returning for dpo(20).... off the walll !!!

Fetcher[
stock is etf
close is greater than ema(30)
and si(10) is greater than 50
and macd(12,26,9) is greater than 0
and add column dpo(20)
]



trendscanner
265 posts
msg #80010
Ignore trendscanner
9/24/2009 5:36:24 PM

You could be right about it being a software problem. Those dpo values look like a "divide by 0" error.

glgene
613 posts
msg #80103
Ignore glgene
9/25/2009 5:10:16 PM

I sent a msg. to SF help to see if they can debug the programming line re: DPO. Thanks to all for verifying that my thinking wasn't looney about the erroneous results I was getting.

chetron
2,817 posts
msg #80107
Ignore chetron
modified
9/25/2009 6:20:18 PM

the measure is an offset....


Fetcher[

stock is etf
close is greater than ema(30)
rsi(10) is greater than 50
macd(12,26,9) is greater than 0
dpo(20) 34 day ago crossed above 0
draw dpo(20) 34 day ago
add column dpo(20) 34 day ago
]



StockFetcher Forums · Filter Exchange · DPO in filter<< 1 2 >>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.