StockFetcher Forums · General Discussion · How Do You Code This?<< >>Post Follow-up
TheRumpledOne
6,411 posts
msg #42469
Ignore TheRumpledOne
3/25/2006 11:29:41 AM

What exactly do you mean by "closed within average daily range"?

By definition, a stock ALWAYS closes within its daily range.

Do you mean today's range is less than the average daily range?

Can you provide an example of a stock that meets this criteria?




turners63
8 posts
msg #42466
Ignore turners63
modified
3/25/2006 12:00:18 PM

How can I make a filter that will pick stocks that closed within the average daily volatility above the MA(20)? (i.e. The close is within the distance from 0 to the volatility or that stock above the MA(20), so if the trading range of a stock was $1, I would want it chosen only if the close was within $1 from the MA(20)) I tried:
Show stocks where close was within average daily range aboveMA(20)
It didn't work?






turners63
8 posts
msg #42474
Ignore turners63
3/25/2006 1:39:40 PM

The average daily range is a variable that has a value. (i.e. XYZ may have an average daily range of $1.32) I would like to know if the close of that stock was between the MA(20) and the MA(20)+ $1.32.


TheRumpledOne
6,411 posts
msg #42479
Ignore TheRumpledOne
modified
3/25/2006 2:04:21 PM

Fetcher[
set{UpperLim20, average day range(20) + ma(20) }

close above ma(20)

close below UpperLim20

add column ma(20)
add column UpperLim20

close above 20
volume above 1000000
]



HTH.




turners63
8 posts
msg #42481
Ignore turners63
3/25/2006 2:38:09 PM

Thanks TheRumbledOne. I'm new and didn't know how to set the variables. I used your example and changed it a little using the average true range and it worked fine. Thanks again.


TheRumpledOne
6,411 posts
msg #42494
Ignore TheRumpledOne
3/25/2006 7:39:25 PM

Post your filter... let's see it!


turners63
8 posts
msg #42521
Ignore turners63
3/26/2006 1:09:55 PM

This is what I came up with:
set{UpperLimit, average true range(35) + ma(35)}
close above ma(35)
close below UpperLimit



StockFetcher Forums · General Discussion · How Do You Code This?<< >>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.