StockFetcher Forums · Filter Exchange · ma's sloping up or down at a 45 degree angle?<< 1 2 >>Post Follow-up
moby
314 posts
msg #69476
Ignore moby
12/2/2008 12:09:09 AM

Hi, I need help please. I don't know how to write a scan where the 8 ema is sloping up or down at a 45 degree angle? If someone could help me I wuld really appreciate it. I'd like to buy stocks in an uptrend on a pullback to the 8ema. If possible the same for the reverse in a downtrend. Thanks very much.

dwiggains
391 posts
msg #69485
Ignore dwiggains
12/2/2008 9:55:33 AM

Hi
I don't know if this is what you want --- it is a start.

Fetcher[
close > 1 and volume > 200,000 and add column slope of ema (8) and sort column 5 descending
]



See ya
David

moby
314 posts
msg #69508
Ignore moby
12/3/2008 12:39:49 AM

Thanks alot dwiggains, that's exactly what I wanted.

acfncp3
59 posts
msg #69535
Ignore acfncp3
12/3/2008 7:54:38 PM

Can someone write the code that looks for this 45 degree angle just when it was beginning to start. Sure would like to have had this at the start of this bear market. So the statement would say happened within the last 5 days this X moving average went into a 45 degree angle either up or down.... is this possible?

moby
314 posts
msg #69570
Ignore moby
12/4/2008 11:50:33 PM

Hi Dwiggains, I'm trying to scan for stocks now with 2 ema's sloping up....how do I modify the one you made so I can filter for both 8 and 15 ema's to be sloping up or down, so I can buy pullbacks to the 8? I tried but I can't get them to filter both sloping up...thanks for your help. Have a nice day.

gpatte
6 posts
msg #69626
Ignore gpatte
12/6/2008 6:06:21 PM

close > 1 and volume > 200,000 and add column slope of ema (8) and sort column 5 descending
ema(8) increasing last 2 days
ema(15) increasing last 2 days

should be able to change number of days increasing to what you wish, or the ema to what you want

TheRumpledOne
6,362 posts
msg #69628
Ignore TheRumpledOne
modified
12/6/2008 7:45:47 PM

Fetcher[

/* TRO SLOT MACHINE FOR MA SLOPE */

30 day slope of ema(8) is above 0
30 day slope of ema(15) is above 0
60 day slope of ema(8) is above 0
60 day slope of ema(15) is above 0
90 day slope of ema(8) is above 0
90 day slope of ema(15) is above 0

close above 1
volume above 200000


add column 30 day slope of ema(8)
add column 60 day slope of ema(8)
add column 90 day slope of ema(8)

add column 30 day slope of ema(15)
add column 60 day slope of ema(15)
add column 90 day slope of ema(15)
]






marine2
829 posts
msg #69662
Ignore marine2
12/7/2008 5:31:31 PM

Nice one Rump. I did revise it to show the downward trend. Plus, I added another line that created a trigger. My backtest showed 96% Wins and ROI = 108%. Very nice results. I can call this my Bear or Bull Market Mini Rally. You can use it either way, for the UP or DOWN Trends. It pops nicely for X amount of days giving one the opportunity to play the Day or Short Term Trading format. Thanks again.

TheRumpledOne
6,362 posts
msg #69667
Ignore TheRumpledOne
12/7/2008 7:14:12 PM

You're welcome.

Now post YOUR filter, so others may benefit.

Thanks.

moby
314 posts
msg #69674
Ignore moby
12/8/2008 12:52:33 AM

Thanks so much Gpatte and Tro...filter looks superb. I can hardly wait to try it. I will keep you posted on how it's working. Marine2, would you please share that line you added... as the trigger, I know it would really help me to make a better entry, and if that line is holding to know if I should stay in it till the next day.
Thanks again for your help. I really appreciate it.

StockFetcher Forums · Filter Exchange · ma's sloping up or down at a 45 degree angle?<< 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