StockFetcher Forums · Filter Exchange · Keeping Score<< 1 2 >>Post Follow-up
TheRumpledOne
6,359 posts
msg #46232
Ignore TheRumpledOne
modified
8/6/2006 4:20:29 PM

"Such a microcosm may encompass both the macro picture, such as where the stock is presently situated in its past 6-month range "

I wrote that display:

Fetcher[

/* PRICE POSITION PERCENT DISPLAY */

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

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

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

set{PCT, LimDiff / LowerLim}

add column BallOn
add column UpperLim
add column LowerLim

close above 20
volume above 20000000
]









TheRumpledOne
6,359 posts
msg #46233
Ignore TheRumpledOne
8/6/2006 4:23:39 PM

"...I would like to see the one final score based on the "whole picture"... "

This would ok for SELECTING stocks to trade.

But how would you add its position in the 6 month range to the other indicators you are testing?






nikoschopen
2,824 posts
msg #46234
Ignore nikoschopen
8/6/2006 5:16:49 PM

It would need to rely on if-then conditionals. Suppose ure a value investor with these entry criteria:

(1) The DJIA is below its 50-day moving average;
(2) price is below 10% of the previous 6-month trading range;
(3) RSI(2) is below 1.

Taking ure "BallOn" example into consideration, I've devised the following ad-hoc filter:

Fetcher[
set{UpperLim, High 26 week High}
set{LowerLim, Low 26 week Low}

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

set{10pct, count(ballon below 10,1) * count(RSI(2) below 1,1)}
set{if, count(ind(^dji,close) below ind(^dji,MA(50)),1)}
set{then,if * 10pct}

then above 0
]

I'm not sure whether my answer adequately addresses ure question but I hope it will lead to the right direction. Of course, this is just one of many ways to play the if-then scenario. As I already mentioned, this is more chanllenging than I previous thought.


StockFetcher Forums · Filter Exchange · Keeping Score<< 1 2 >>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