StockFetcher Forums · Filter Exchange · Filter results only when market is above ma(200)<< >>Post Follow-up
judgetrade
107 posts
msg #40051
Ignore judgetrade
1/8/2006 7:40:04 AM


"if qqqq > ma (200) then....
Filter criteria"

so the filter would only give results if the QQQQ is above the ma(200).

is something like this possible?




guru_trader
485 posts
msg #40168
Ignore guru_trader
1/11/2006 7:22:20 PM

Try this:

Fetcher[
ma(200) is above ind(QQQQ,ma(200))
]




TheRumpledOne
6,359 posts
msg #40173
Ignore TheRumpledOne
1/11/2006 11:45:35 PM

Fetcher[
/* QQQQ close is above the QQQQ ma(200) */

ind(qqqq, close) above ind(qqqq,ma(200))

/* nasdaq stocks only */

market is nasdaq

/* additional selection criteria */

rsi(2) below 1

/* column display */

add column ind(qqqq, close)

add column ind(qqqq,ma(200))

/* 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 }

add column wrval
add column adval
add column rsval
add column moval

/* DRAW THE MP RSIWLR CHART */

and draw wrval
and draw adval on plot wrval
and draw moval on plot wrval
and draw rsval on plot wrval

]



This filter will only produce results when the close of the QQQQ is above its ma(200). I assumed you only wanted NASDAQ STOCKS.

I threw in the rsi(2) < 1 selection and WARM display.

HTH.

MAY ALL YOUR FILLS BE COMPLETE.


nikoschopen
2,824 posts
msg #40178
Ignore nikoschopen
1/12/2006 6:04:24 AM

While the following filter should work in theory by substituting the "filter criteria" for your own, it could get messy in practice depending on how elaborate your filter may be.

set{if,count(ind(QQQQ,close) above ind(QQQQ,MA(200)),1)}
set{then,if * "filter criteria"}

Hence if I'm looking for a stock with the closing price above EMA(50) only when QQQQ is above MA(200)...

Fetcher[
set{if,count(ind(QQQQ,close) above ind(QQQQ,MA(200)),1)}
set{then,if * close}
then is above EMA(50)
]




TheRumpledOne
6,359 posts
msg #40194
Ignore TheRumpledOne
1/12/2006 3:36:31 PM

"While the following filter should work in theory by substituting the "filter criteria" for your own, it could get messy in practice depending on how elaborate your filter may be.

set{if,count(ind(QQQQ,close) above ind(QQQQ,MA(200)),1)}
set{then,if * "filter criteria"}

Hence if I'm looking for a stock with the closing price above EMA(50) only when QQQQ is above MA(200)...




Fetcher[
set{if,count(ind(QQQQ,close) above ind(QQQQ,MA(200)),1)}
set{then,if * close}
then is above EMA(50)
]

"

KEEP IT SIMPLE...

Fetcher[
set{QQQQtest, count(ind(QQQQ,close) above ind(QQQQ,MA(200)),1) }

/* IS THE CLOSE OF THE QQQQ ABOVE THE MA(200) */

QQQQtest equal 1

/* IS THE CLOSE OF THE STOCK BEING TESTED ABOVE THE EMA(50) */

close > EMA(50)

/* the rest of your filter criteria goes below this line */
]



No need to use set statements unless you have to.

MAY ALL YOUR FILLS BE COMPLETE.


judgetrade
107 posts
msg #40202
Ignore judgetrade
1/12/2006 6:21:25 PM

Thank you all!!! Very much!!!


StockFetcher Forums · Filter Exchange · Filter results only when market is above ma(200)<< >>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