StockFetcher Forums · Filter Exchange · Filter for price-indicator diversion<< >>Post Follow-up
johnnyonspot
4 posts
msg #68893
Ignore johnnyonspot
10/29/2008 10:42:50 PM

Does anyone know how one might build a filter for stocks where the price slop diverges from the slop of an indicator, e.g., an oscillator?

chetron
2,817 posts
msg #68894
Ignore chetron
modified
10/30/2008 6:47:31 AM

maybe....

Fetcher[

8 day slope close increasing last 1 day
8 day slope projection oscillator(2) decreasing last 1 day


]



or even....



Fetcher[

8 day slope close below 0
8 day slope projection oscillator(2) above 0


]






Fetcher[

set{swdiff,fast stochastic fast %k(14,10) - williams %r(10)}
set{var1,count(fast stochastic fast %k(14) below 10,1)}
SET{VAR2,COUNT(VAR1 > .5,21)}


/* NORMALIZE accumulation distribution */

set{adval, INDPOSITION(accumulation distribution, 60) * 100}

/* NORMALIZE momentum(12) */

set{moval, INDPOSITION(momentum(12), 60) * 100 }

/* NORMALIZE rsi(2) */

set{rsval, RSI(2) }

/* NORMALIZE williams %r(10) */

set{wrval, INDPOSITION(williams %r(10), 60) * 100}

/* NORMALIZE PO(2) */

set{poval, INDPOSITION(projection oscillator(2), 60) * 100}


/* CALCULATE 10/60/200 day trend */
set{T10, count(10 day slope of the close above 0,1)}
set{T60, count(60 day slope of the close above 0,1)}
set{T200, count(200 day slope of the close above 0,1)}

Set{u1, T200 * 1}
Set{u2, T60 * 10}
Set{u3, T10 * 100}

Set{uu, u1 + u2}
Set{TREND, uu + u3}

add column rsi(2)
add column fast stochastic fast %k(14,10)
add column williams %r(10)
add column swdiff

add column trend
add column wrval
add column adval
add column rsval
add column moval
ADD COLUMN VAR2

draw macd(4,8)
draw var1

draw adval on plot wrval
draw rsval on plot wrval
draw moval on plot wrval
draw poval on plot wrval

and volume is above 1000000
and close is between 0.10 and 11.50
rsval increasing last 1 day
wrval increasing last 1 day
poval decreasing last 1 day





]




StockFetcher Forums · Filter Exchange · Filter for price-indicator diversion<< >>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.