StockFetcher Forums · General Discussion · Fixed Constant-Indicators?<< >>Post Follow-up
heathcliffsr
7 posts
msg #105138
Ignore heathcliffsr
2/26/2012 1:23:56 PM

Hello,

Is there a way to fetch stocks only when Moving Average of MSFT is above 30? How do you write the script?

Thanks!
Cliff

Kevin_in_GA
4,599 posts
msg #105139
Ignore Kevin_in_GA
2/26/2012 1:38:56 PM

Add the following lines to your filter ...

Fetcher[

set{msft, ind(msft,close)}
set{msft_ma30, cma(msft,30)}
msft above msft_ma30
]



That should do it.

heathcliffsr
7 posts
msg #105161
Ignore heathcliffsr
2/27/2012 9:59:28 PM

Thank you very much Kevin!

StockFetcher Forums · General Discussion · Fixed Constant-Indicators?<< >>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.