StockFetcher Forums · Filter Exchange · Need help writing a filter for stocks like ford,nmgc<< >>Post Follow-up
morteza471
125 posts
msg #42347
Ignore morteza471
modified
3/22/2006 10:52:01 PM

Need help writing a filter for stocks like (ford,nmgc) if you look at the carts of these two stocks they are same,both reach the bottom and there low lows were same for there days and went up. filter for those three or four days befor went up thank you




TheRumpledOne
6,359 posts
msg #42350
Ignore TheRumpledOne
modified
3/23/2006 12:10:01 AM

First let's see what FORD and NMGC looks like:


Fetcher[
/* PRICE POSITION PERCENT DISPLAY */

/* enter your Upper Limit criteria */
set{UpperLim, High 13 day High}

/* enter your Lower Limit criteria */
set{LowerLim, Low 13 day Low}

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

set{LowDays, count( BallOn < 23, 5 ) }

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 LowDays
add column BallOn
add column UpperLim {Resist}
add column LowerLim {Support}

/* PLOTS */

draw UpperLim on plot price
draw LowerLim on plot price

and add column clxcl
and add column VlXvl
and add column Vdbl


/* Selection Criteria */

SET{xFORD , count(volume equal ind(FORD,volume),1) * count(close equal ind(FORD,close), 1) }

SET{xNMGC , count(volume equal ind(NMGC,volume),1) * count(close equal ind(NMGC,close), 1) }

SET{Found, xFORD + xNMGC }

Found above 0

add column industry

Sort column 1 ascending
]



Now we set the criteria:

Fetcher[
/* PRICE POSITION PERCENT DISPLAY */

/* enter your Upper Limit criteria */
set{UpperLim, High 13 day High}

/* enter your Lower Limit criteria */
set{LowerLim, Low 13 day Low}

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

set{LowDays, count( BallOn < 15 , 5 ) }

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 LowDays
add column BallOn
add column UpperLim {Resist}
add column LowerLim {Support}

/* PLOTS */

draw UpperLim on plot price
draw LowerLim on plot price

and add column clxcl
and add column VlXvl
and add column Vdbl


/* Selection Criteria */

LowDays above 3
ClxCl below -1
close above 1
ballon below 10
LowerLim equal LowerLim 1 day ago
LowerLim 1 day ago equal LowerLim 2 days ago


avg vol(5) above 100000
avg vol(30) above 100000

add column industry

Sort column 1 ascending
]



This should get you in the ballpark.

HTH.

MAY ALL YOUR FILLS BE COMPLETE.








morteza471
125 posts
msg #42356
Ignore morteza471
3/23/2006 1:56:47 AM

thanks good filter


morteza471
125 posts
msg #42379
Ignore morteza471
3/23/2006 1:57:24 PM

hi TheRumpledOne i want to ask you a question in the first filter you had this 2 lines add column UpperLim {Resist}
add column LowerLim {Support} is the any way to add these 2 line to any filter and how, i tried it it did not work thanks


TheRumpledOne
6,359 posts
msg #42387
Ignore TheRumpledOne
3/23/2006 4:03:06 PM

You need to DEFINE those variables first!

/* enter your Upper Limit criteria */
set{UpperLim, High 13 day High}

/* enter your Lower Limit criteria */
set{LowerLim, Low 13 day Low}

After you define a variable, then you can use add column.

HTH.



morteza471
125 posts
msg #42428
Ignore morteza471
3/24/2006 6:06:57 PM

hi TheRumpledOne your are the best filter writer.
i love the first filter but i only get(ford and nmgc)first filter on candle charts falls under bullish patterns(bullish ladder bottom and bullish breakaway) can you please write this filter for stocks for this pattern that shows after first pop like on ford on 22-mar-06 or nmce on 21-mar-06
thanks


TheRumpledOne
6,359 posts
msg #42437
Ignore TheRumpledOne
3/24/2006 7:41:45 PM

LOL...

The first filter was meant to only display those two stocks so I could see what they looked liked (meaning the column values).

The second filter is the one to use to find similiar stocks!

Guess I didn't explain myself well enough.




StockFetcher Forums · Filter Exchange · Need help writing a filter for stocks like ford,nmgc<< >>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 2016 - 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