StockFetcher Forums · General Discussion · 52wk Range paramter<< >>Post Follow-up
levamit
101 posts
msg #55075
Ignore levamit
9/23/2007 11:01:03 AM

hello,
i want to build filter with this parameter: " 52wk Range above 6$ " and "52wk Range between 1$ and 7$ "
thanks for help,
amit.


TheRumpledOne
6,411 posts
msg #55076
Ignore TheRumpledOne
modified
9/23/2007 11:10:24 AM

"Stealing" from my NEXT NTRI filter:

Fetcher[
/* FINDING THE NEXT NTRI FILTER - Sept 24, 2007 */

/* enter your Upper Limit criteria */
set{UpperLim, High 52 week High}

/* enter your Lower Limit criteria */
set{LowerLim, Low 52 week Low}

set{ULCL, UpperLim - close}

set{Double, UpperLim * .50 }

set{LimDiff, UpperLim minus LowerLim}
set{PPDiff, CLOSE minus LowerLim}
set{PPDiv, PPDiff / LimDiff}
set{BallOnx, PPDiv * 100}
set{BallOn, round(BallOnx,0)}

set{PCT, LimDiff / LowerLim}

add column LimDiff {52WkRange}
add column BallOn

add column UpperLim {Resist}
add column LowerLim {Support}
add column industry

LimDiff above 6
LimDiff is between 1 and 7

Sort column 5 descending
]



BallOn tells you where the "ball" (price) is on the football field.

If BallOn = 0 then price is at the low (Support) of the range.

If BallOn = 50 then price is at the middle ( 50 yard line) of the range.

If BallOn = 100 then price at the high (Resistance) of the range.

Search for my BASIC FILTER DISPLAY and you'll find more code like this.

HTH.



StockFetcher Forums · General Discussion · 52wk Range paramter<< >>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.