StockFetcher Forums · General Discussion · MA(50 difference<< >>Post Follow-up
sohailmithani
192 posts
msg #105579
Ignore sohailmithani
3/21/2012 10:23:39 AM

Hi all,

I am trying to create an input for my filter which calculates ma(50) 10 days ago vs ma(50) today and shows me the % increase or decrease so that I know if ma(50) has been increasing or is in a down slope now.

Thanks

duke56468
683 posts
msg #105582
Ignore duke56468
3/21/2012 12:01:34 PM

Maybe this will work

Fetcher[
market is S&P 500

set{a,ma(50) 10 days ago}
set{b,ma(50)}
set{dif,a-b}
set{dif1,dif/a}
set{pct,dif1*100}
add column pct
sort on column 5 descending
]



sohailmithani
192 posts
msg #105584
Ignore sohailmithani
3/21/2012 12:23:39 PM

yes it does.

Thanks

StockFetcher Forums · General Discussion · MA(50 difference<< >>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.