StockFetcher Forums · General Discussion · Fresh cross trend changes Help!<< >>Post Follow-up
lvainik
52 posts
msg #46754
Ignore lvainik
9/5/2006 3:57:22 PM

How do I show a 3 day ema crossing above a 10 day ema
for the (first) time in 30 days

I am looking for trend changes and not whipsaws...

Thanks!


maxreturn
745 posts
msg #46755
Ignore maxreturn
9/5/2006 5:33:24 PM

Ivainik, I'm assuming prior to the upward cross you want the ema3 to be below the ema10 for the last 30 days. If so, here's a solution:

Fetcher[set{mv, count(ema(3) below ema(10),30)}
show stocks where mv 1 day ago above 29 and ema(3) crossed above ema(10) and average volume(65) above 1000000
]



Regards
Max


nikoschopen
2,824 posts
msg #46756
Ignore nikoschopen
9/5/2006 6:07:47 PM

Max,

I'm not sure "MV 1 day ago" in the second line is valid. Can it really be the same as "set{mv, count(ema(3) 1 day ago below ema(10) 1 day ago,30)}"?


maxreturn
745 posts
msg #46757
Ignore maxreturn
9/5/2006 6:12:42 PM

Niko, you'll get the same result with either solution. Try lowering the volume and using the date offset feature and you'll see what I mean.


nikoschopen
2,824 posts
msg #46759
Ignore nikoschopen
9/5/2006 8:03:53 PM

While it might be syntactically correct, I don't think it's semantically correct. Ure right nonetheless.


maxreturn
745 posts
msg #46761
Ignore maxreturn
9/5/2006 9:44:28 PM

Niko, dere ya go agin usin dem millon doller words!


StockFetcher Forums · General Discussion · Fresh cross trend changes Help!<< >>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