How to write scan of price greater than 10 day high EMA

How to write scan of price greater than 10 day high EMA - s.c.a.n.
1 of 3
http://scan.stockcharts.com/questions/11954/how-to-write-scan-of-price-...
login
questions
tags
users
badges
unanswered
about
faq
ask a question
search
questions
tags
users
How to write scan of price greater than 10 day high EMA
0
So now that I know Stockcharts can vary the Moving averages used on the charts by using all Highs, Low, Open or
closing price I want to write a scan when price closes above a 10 EMA of the highs. But for some reason I can't get it
to accept the high price designation. Here is what I have written. Any ideas?
and [daily close > EMA(12,h,close)]
Follow this question
By Email:
Once you sign in you will be able to
subscribe for any updates here
By RSS:
Answers
Answers and Comments
moving-averages
asked Jan 16 at 01:38
Windsurf
10.5k ● 1● 98● 158
Tags:
moving-averages
×3
Asked: Jan 16 at 01:38
Seen: 384 times
4 Answers:
Last updated: Jan 16 at 14:49
oldest
newest
most voted
slight edit:
2
Related questions
and [2 days ago close < 2 days ago EMA(12,High)]
Are volume weighted moving
averages avilable on stockcharts
link
answered Jan 16 at 07:14
markd
15.4k ● 15● 23
What are your buy & sell rules when
using moving averages?
Markd that is a good reason why people shouldn't write scans at 4:30AM!! :>) Thanks.
Windsurf (Jan 16 at 10:48)
Yup that fixed it.
Windsurf (Jan 16 at 10:54)
1
Sorry I just read the scan question. It works for me and all the results look fine. I think the answer is "What you think
you asked for is not always what you asked for".
and [daily close > EMA(12,High)]
and [yesterday's close > EMA(12,High)]
and [2 Day's ago close < EMA(12,High)]
Here's a chart with a pretty good example.
6/10/2014 3:28 PM
How to write scan of price greater than 10 day high EMA - s.c.a.n.
2 of 3
http://scan.stockcharts.com/questions/11954/how-to-write-scan-of-price-...
edit: OOPS I see Markd already picked this up.
link
edited Jan 16 at 14:28
answered Jan 16 at 14:22
Gord
18.6k ● 1● 11● 22
Right. I wanted a scan that picks up the closing price 2 days ago to be under the 12 day EMA of highs for 2 days ago so that
I am picking up the price crossing the 12 EMA of highs 2 days prior.
I watched a webinar that the presenter used a moving average channel of highs and lows as a trigger. I thought I would look
at some stocks and see how reliable this trigger is.
And yes Gord, the trick to getting the right results in a scan is to make sure you are asking the question you think you are
asking. :>)
Windsurf (Jan 16 at 14:49)
0
OK after I shut my computer and went to bed the answer popped into my head. the right phrase is [Daily Close >
EMA(12,high)]. Sorry I should have figured it out.
So I wrote this simple scan as a test and interestingly it doesn't quite work. I get mostly the right stocks in the list but I
see that some stocks have the 2 days ago close slightly higher than the 12 EMA High. FITB is one stock that closed
.02 points higher than the listed EMA 12 High 2 days ago on the 13th. (I ran this scan at 4:30AM Eastern Time on the
16th. So the last close was on the 15th and two days prior is the 13th). I assume that it is a rounding error or
something that has a .02 or .03 variable. But does anyone else have an explanation why these stocks are included?
#100B Long Basic Price > EMA High
[type = stock]
AND [group is 'SP500']
and [optionable is true]
AND [Daily SMA(20,Daily Volume) > 300000]
AND [Daily SMA(60,Daily Close) > 10]
AND [daily close > EMA(12,High)]
and [yesterday's close > EMA(12,High)]
and [2 Day's ago close < EMA(12,High)]
link
edited Jan 16 at 05:00
answered Jan 16 at 04:22
Windsurf
10.5k ● 1● 98● 158
Now can someone give me a scan that finds these stocks three days before they move???? :>)
0
6/10/2014 3:28 PM
How to write scan of price greater than 10 day high EMA - s.c.a.n.
3 of 3
link
http://scan.stockcharts.com/questions/11954/how-to-write-scan-of-price-...
answered Jan 16 at 11:02
Windsurf
10.5k ● 1● 98● 158
I usually just scan for something like this.
and [ tomorrows close > yesterdays close * 100 ]
Gord (Jan 16 at 11:33)
:>) LOL that's a good one.
Windsurf (Jan 16 at 12:23)
Your answer
[hide preview]
Login/Signup to Post Your Answer
about | faq | privacy | support | contact
6/10/2014 3:28 PM