StockFetcher Forums · Filter Exchange · Retrace Filter/Display<< >>Post Follow-up
TheRumpledOne
6,407 posts
msg #37652
Ignore TheRumpledOne
8/26/2005 11:14:08 AM

Fetcher[
/* Retrace Filter/Display */

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

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

/* enter your retrace percent criteria default is 67% */
set{xMult, 1 - .67}

set{LimDiff, UpperLim minus LowerLim}
set{xpct, LimDiff * xMult}
set{retrace, LowerLim + xpct}

/* display all columns for example */
add column UpperLim
add column LowerLim
add column retrace
add column LimDiff
add column xMult

volume above 100000

/* select stocks that retraced */
price crossed below retrace

/* enter you price/volume criteria */
price above 20
volume above 100000

]



Some people like to trade stocks after they have retraced off the highs.

This filter displays stocks that have retraced 67% off their 52 week high.

I set it up so you can easily change the Upper/Lower limits and the retrace percentage.

You can take out the crossover criteria and just have the display part.

MAY ALL YOUR FILLS BE COMPLETE.



TheRumpledOne
6,407 posts
msg #37659
Ignore TheRumpledOne
8/26/2005 4:50:28 PM

More than one way to skin a cat...

Fetcher[
/* Retrace Filter with Trend and Volume Display */

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

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


set{LimDiff, UpperLim minus LowerLim}
set{PBDiff, UpperLim minus Close}
set{PBDiv, PBDiff / LimDiff}
set{PBPct, PBDiv * 100}


set{Trend10, sign(10 day slope of the close)}
set{Trend10Sum, Trend10 plus Trend10 1 day ago}
set{Trend10Abs, abs(Trend10Sum)}
set{trcalc1, days(Trend10abs is below 2,100)}
set{tr10days, trcalc1 + 1}

set{Trend60, sign(60 day slope of the close)}
set{Trend60Sum, Trend60 plus Trend60 1 day ago}
set{Trend60Abs, abs(Trend60Sum)}
set{trcalc4, days(Trend60abs is below 2, 100)}
set{tr60days, trcalc4 + 1}

set{Trend200, sign(200 day slope of the close)}
set{Trend200Sum, Trend200 plus Trend200 1 day ago}
set{Trend200Abs, abs(Trend200Sum)}
set{trcalc2, days(Trend200abs is below 2, 100)}
set{tr200days, trcalc2 + 1}

set{v, volume 1 day ago}
set{volinc, volume - v}
set{volpc, volinc / v}
set{volpct, volpc * 100}

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

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

/* display all columns for example */

add column PBPct
add column UpperLim
add column LowerLim
add column LimDiff
add column PBDiff

add column tr10days
add column Trend10
add column Trend10SUM

add column tr60days
add column Trend60
add column Trend60SUM

add column tr200days
add column Trend200
add column Trend200SUM

and add column VolCnt
and add column Vdbl
and add column volpct

add column industry

draw 10 day slope of the close
draw 60 day slope of the close
draw 200 day slope of the close


/* enter you price/volume criteria */
price above 20
volume above 100000

sort column 5 descending
]



This filter display shows the Pullback percentage of all the stocks displayed in the PBPCT column.

You can add a line like:

PBPCT above 50

and you will get all stocks that pullback at least 50% or more from the high of the UpperLim.

This seems to be more flexible than the previous version.

As is, the stocks that pulled back the most pop to the top when you run this filter..

MAY ALL YOUR FILLS BE COMPLETE.




TheRumpledOne
6,407 posts
msg #37666
Ignore TheRumpledOne
8/26/2005 7:46:40 PM

Another way of looking at things...

Fetcher[
/* PRICE POSITION PERCENT DISPLAY */

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

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


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


set{Trend10, sign(10 day slope of the close)}
set{Trend10Sum, Trend10 plus Trend10 1 day ago}
set{Trend10Abs, abs(Trend10Sum)}
set{trcalc1, days(Trend10abs is below 2,100)}
set{tr10days, trcalc1 + 1}

set{Trend60, sign(60 day slope of the close)}
set{Trend60Sum, Trend60 plus Trend60 1 day ago}
set{Trend60Abs, abs(Trend60Sum)}
set{trcalc4, days(Trend60abs is below 2, 100)}
set{tr60days, trcalc4 + 1}

set{Trend200, sign(200 day slope of the close)}
set{Trend200Sum, Trend200 plus Trend200 1 day ago}
set{Trend200Abs, abs(Trend200Sum)}
set{trcalc2, days(Trend200abs is below 2, 100)}
set{tr200days, trcalc2 + 1}

set{v, volume 1 day ago}
set{volinc, volume - v}
set{volpc, volinc / v}
set{volpct, volpc * 100}

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

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

/* display all columns for example */

add column PPP
add column UpperLim
add column LowerLim
add column LimDiff
add column PPDiff

add column tr10days
add column Trend10
add column Trend10SUM

add column tr60days
add column Trend60
add column Trend60SUM

add column tr200days
add column Trend200
add column Trend200SUM

and add column VolCnt
and add column Vdbl
and add column volpct

add column industry

draw 10 day slope of the close
draw 60 day slope of the close
draw 200 day slope of the close


/* enter you price/volume criteria */
price above 20
volume above 100000

sort column 5 descending
]



This filter tells you the position of the stock within it's trading range for the period.

PPP = 100 means stock at the top, PPP = 0 means stock at the bottom.

PPP = 33 would indicate the stock is 1/3 the distance away from the bottom and 2/3 the distance away from the top.

You can add a line like:

PPP below 10

to get stocks in the bottom 10% of the trading range.

MAY ALL YOUR FILLS BE COMPLETE.



StockFetcher Forums · Filter Exchange · Retrace Filter/Display<< >>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.