StockFetcher Forums · General Discussion · Help with Custom Filter<< >>Post Follow-up
colin49
2 posts
msg #103156
Ignore colin49
10/30/2011 9:47:20 PM

I would like to be able to calculate a ratio based on the close of a stock vs the SPY ETF. I would then like to calculate some moving averages based on this ratio.
Ratio = stock price/spy price
SMA(10) of the Ratio
SMA(30) of the Ratio
Add columns for all 3 and chart all three as well.

Can anyone get me pointed in the right direction?

Thanks.

Kevin_in_GA
4,553 posts
msg #103158
Ignore Kevin_in_GA
10/30/2011 10:06:42 PM

The code you are looking for is here:

http://forums.stockfetcher.com/sfforums/?q=view&fid=1002&tid=101013&qrid=

Kevin

StockFetcher Forums · General Discussion · Help with Custom Filter<< >>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