StockFetcher Forums · Filter Exchange · Question from beginner<< >>Post Follow-up
Trader250
2 posts
msg #41542
Ignore Trader250
2/24/2006 8:24:20 AM

I would like to screen for stocks that are in the lower 25% of their 52 week range. For example, a stock that has traded between $100 and $200 over the last 52 weeks, and is now trading between $100 and $125. Any help?


nikoschopen
2,824 posts
msg #41545
Ignore nikoschopen
2/24/2006 10:08:48 AM

Fetcher[
set{hi52wk, high 52 week high}
set{lo52wk, low 52 week low}
set{diff, hi52wk - lo52wk}
set{pos, close - lo52wk}
set{%pos, pos / diff}
set{ratio, %pos * 100}
ratio is below 25
]


"price between 100 and 125" can be added if you prefer.




TheRumpledOne
6,407 posts
msg #41546
Ignore TheRumpledOne
2/24/2006 12:06:28 PM

Fetcher[
/* PRICE POSITION PERCENT DISPLAY */

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

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

set{LimDiff, UpperLim minus LowerLim}
set{PPDiff, CLOSE minus LowerLim}
set{PPDiv, PPDiff / LimDiff}
set{BallOn, PPDiv * 100}

set{PCT, LimDiff / LowerLim}

set{HiOp,high - open}
set{OpLo, open - low}

set{CCb,days(close is above close 1 day ago,100)}
set{CCa,days(close is below close 1 day ago,100)}
set{ClxCl, CCa - CCb}

set{HHb,days(High is above High 1 day ago,100)}
set{HHa,days(High is below High 1 day ago,100)}
set{HixHi, HHa - HHb}

set{LLb,days(Low is above Low 1 day ago,100)}
set{LLa,days(Low is below Low 1 day ago,100)}
set{LoxLo, LLa - LLb}


set{VolUp, days(volume is below volume 1 day ago,100)}
set{VolDn, days(volume is above volume 1 day ago,100)}
set{VlXvl, VolUp - VolDn}

set{vck1, volume 1 day ago }
set{vck, volume / vck1 }
set{vdbl, days(vck < 2, 100)}

/* column display */

add column HiOp
add column OpLo

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

/* PLOTS */

draw UpperLim on plot price
draw LowerLim on plot price

/* Trade Planner Filter Display - Simple */

set{ iAccountSize , 25000 }
set{ iPercentRisk, .02}
set{ iMarginMult , 1}
set{ iMaxDrawDownPct, .05}
set{ iEntryPrice , close}

set{ iShares, 0 }
set{ iProtectiveStop , 0}

set{ iTargetPrice , 0}
set{ iRewardRatio , 2}

set{ xMaxDollars, iAccountSize * iMarginMult }


set{ xTradeRisk, xMaxDollars * iPercentRisk }

set{ xShares , xMaxDollars / iEntryPrice }

set{ xShareRisk , xTradeRisk / xShares }


set{ xStop , iEntryPrice - xShareRisk }

set{ xtp, xShareRisk * iRewardRatio }
set{ xTarget , xtp + iEntryPrice }


add column xShares
add column xStop
add column xTarget
add column xTradeRisk

and add column clxcl
and add column VlXvl
and add column Vdbl
add column HixHi
add column LoxLo

/* Selection Criteria */


UpperLim above 1
LowerLim below 1

close below 5

avg vol(5) above 1000000
avg vol(30) above 1000000

add column industry

Sort column 7 ascending
]



The BALLON column will tell you where in the range the stock is positioned.

Adjust the UPPERLIM and LOWERLIM variables to suit your needs.

This also has the TRADE PLANNER display and dynamic support/resistance numbers.

HTH.

MAY ALL YOUR FILLS BE COMPLETE.



Trader250
2 posts
msg #41556
Ignore Trader250
2/24/2006 4:17:26 PM

nikoschopen & TheRumpledOne,

Thanks for the help. You've saved me from a research project in the "User Guide and Reference Manual." Happy trading!


StockFetcher Forums · Filter Exchange · Question from beginner<< >>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.