StockFetcher Forums · General Discussion · formula language -- is the following correct<< 1 2 >>Post Follow-up
trex232
7 posts
msg #70308
Ignore trex232
1/2/2009 9:09:32 AM

I want to add a line to my filter where the 34ema is 20% higher than the 8ema.

is the following language correct?

"and where {EMA(34)-EMA(8)} is above 20 percent"

thanx trex

chetron
2,817 posts
msg #70309
Ignore chetron
1/2/2009 9:10:20 AM

NO

marine2
963 posts
msg #70350
Ignore marine2
1/3/2009 12:43:28 AM

Lol, explain yourself Chet.

chetron
2,817 posts
msg #70354
Ignore chetron
modified
1/3/2009 9:58:49 AM

the difference is 20 percent above what?

of course i know what, but you have to put it in the code.

hth



chetron
2,817 posts
msg #70355
Ignore chetron
1/3/2009 10:26:33 AM

maybe...

i am not good at "one liners".


Fetcher[

set{var1,ema(34) - ema(8)}
set{var2,var1 * 100}
set{var3,var2 / ema(34)}

var3 above 20

]



heypa
283 posts
msg #70357
Ignore heypa
1/3/2009 1:02:03 PM

Here is a one liner.
Try ema(34) divided by ema(8) is greater than 1.2

chetron
2,817 posts
msg #70366
Ignore chetron
modified
1/3/2009 8:22:24 PM

VERY NICE, HEYPA, BUT NOT QUITE RIGHT.


arby347
87 posts
msg #70379
Ignore arby347
1/4/2009 2:00:32 PM

ema(8) divided by ema(34) is greater than 1.2
is what you should have said heypa

chetron
2,817 posts
msg #70380
Ignore chetron
1/4/2009 2:35:49 PM

actually arby347, your results give an ema(8) above the ema(34) and trex asked for the ema(34) above the ema(8)

fwiw



arby347
87 posts
msg #70381
Ignore arby347
1/4/2009 2:59:49 PM

Yor are right Chetron.O stand corrected

StockFetcher Forums · General Discussion · formula language -- is the following correct<< 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 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.