StockFetcher Forums · Filter Exchange · 10% above or below EMA 200<< >>Post Follow-up
056183882
15 posts
msg #89661
Ignore 056183882
3/16/2010 1:00:26 AM


hi

I'm looking for filter that show me stocks that current price is 10% above or below EMA 200

thanks

Yaki

Radiomuse
288 posts
msg #89692
Ignore Radiomuse
modified
3/16/2010 12:00:46 PM

Fetcher[market is nasdaq 100

set{emaplus10,ema(100)*1.1}
set{emaminus10,ema(100)*.9}

price >= emaplus10

add column ema(100)
add column emaplus10 {plus10}
add column emaminus10 {minus10}
]



four
5,087 posts
msg #89745
Ignore four
modified
3/16/2010 11:43:41 PM

Fetcher[

set{A, ema(200) * .90}
set{B, ema(200) * 1.10}

set{Aa, count(close near A, 1)}
set{Bb, count(close near B, 1)}
set{OR1, Aa + Bb} show stocks where OR1 above 0

add column separator
add column ema(200)
add column A {below ema200}
add column B {above ema200}

add column Aa
add column Bb

draw ema(200) on plot close
]



comment:
Thanks to you know who for the OR. ( TRO )

-- edit --

You can add volume and price to reduce the number of stocks returned.


Generically, “near” is determined when the distance between the
two values is less than 2%. [page 10, StockFetcher User Guide]

I did not use "equals" ... too few returns for my liking.

Radiomuse
288 posts
msg #89747
Ignore Radiomuse
3/16/2010 11:57:57 PM

Four - I think we've both screwed it up. But there's enough info there for somebody to get it right!

four
5,087 posts
msg #89752
Ignore four
3/17/2010 12:58:31 AM

http://www.marketwatch.com/story/using-the-200-day-moving-average-2010-03-17

four
5,087 posts
msg #89792
Ignore four
3/17/2010 1:42:31 PM

see post: 3/16/2010 11:43:41 PM by four

Help me improve the filter...
What needs changing?

chetron
2,817 posts
msg #89796
Ignore chetron
3/17/2010 3:11:43 PM

maybe..

Fetcher[


set{A, ema(200) * .90}
set{B, ema(200) * 1.10}

set{Aa, count(close below A, 1)}
set{Bb, count(close above B, 1)}
set{OR1, Aa + Bb}
show stocks where OR1 above 0.5
do not draw or1
add column separator
add column ema(200)
add column A {below ema200}
add column B {above ema200}

add column Aa
add column Bb
draw bb on plot aa

draw ema(200) on plot close

]



StockFetcher Forums · Filter Exchange · 10% above or below EMA 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 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.