StockFetcher Forums · Filter Exchange · Help for filter coding<< >>Post Follow-up
student
14 posts
msg #93704
Ignore student
6/11/2010 12:54:53 AM

How do I write the following formula for a stock scan ?

(Maximum/high for last 50 days - Minimum/Low for last 50 days) / closing price of stock today > 30 %

Thanks.

Cacher
121 posts
msg #93716
Ignore Cacher
modified
6/11/2010 8:53:28 AM

Here is a start :

Fetcher[
set{HLD,high 50 day high - low 50 day low}
set{result,HLD/close}
result is less then .3
]



Cacher
121 posts
msg #93730
Ignore Cacher
6/11/2010 1:50:35 PM

I changed the "result" to > 30% ...
......Interesting.

Fetcher[
set{HLD,high 50 day high - low 50 day low}
set{result,HLD/close}
result is greater then then .3

add column result

/* Weed out the noise */
and price is between 2 and 25
and average volume(30) is greater then 90000

/* ready for some limited backtest */
and offset 0 days ago
]



student
14 posts
msg #93734
Ignore student
6/11/2010 2:54:10 PM

Thank you, Casher. Appreciate your help.

StockFetcher Forums · Filter Exchange · Help for filter coding<< >>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.