StockFetcher Forums · Filter Exchange · Help with EMA(3) cross EMA(39)<< >>Post Follow-up
ammcusa
2 posts
msg #44892
Ignore ammcusa
6/12/2006 9:39:36 AM

I am looking for some help to show/draw a cloumn in estimated number of day or days that EMA(3) is about to or has just crossed EMA(39) from below. Any help would be appreciated.


TheRumpledOne
6,362 posts
msg #44899
Ignore TheRumpledOne
modified
6/12/2006 1:51:55 PM

Fetcher[
/* EMA CROSSOVER CALCULATIONS */
set{E339b,days(ema(3) is above ema(39),100)}
set{E339b1, count(E339b above -1 , 1)}
set{E339b2, E339b * E339b1}
set{E339a,days(ema(3) is below ema(39),100)}
set{E339A1, count(E339A above -1 , 1)}
set{E339A2, E339A * E339A1}
set{E3xE39, E339a2 - E339b2}

and add column E3xE39

sort column 5 descending

/* price, volume criteria below */

close above 20
average volume(30) above 10000000
]



Column E3xE39 shows number of days EMA(3) is above (+) or below (-) EMA(39).

HTH.


]





ammcusa
2 posts
msg #44901
Ignore ammcusa
6/12/2006 3:40:11 PM

This is great. Much appreiated. Thanks


TheRumpledOne
6,362 posts
msg #44908
Ignore TheRumpledOne
6/12/2006 7:47:11 PM

Fetcher[

/* EMA CROSSOVER CALCULATIONS */
set{E339b,days(ema(3) is above ema(39),100)}
set{E339b1, count(E339b above -1 , 1)}
set{E339b2, E339b * E339b1}
set{E339a,days(ema(3) is below ema(39),100)}
set{E339A1, count(E339A above -1 , 1)}
set{E339A2, E339A * E339A1}
set{E3xE39, E339a2 - E339b2}

set{cediff, close - ema(3)}
set{eediff, ema(3) - ema(39)}

add column E3xE39
add column cediff
add column eediff

sort column 5 descending

/* price, volume criteria below */

close above 20
average volume(30) above 10000000
]



Added columns cediff and eediff so you can see how close the price is to the ema(3) and how close the ema(3) is to the ema(39)

HTH.


StockFetcher Forums · Filter Exchange · Help with EMA(3) cross EMA(39)<< >>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