StockFetcher Forums · Filter Exchange · ^spx close as a Percentage Difference from ^spx ma(10)<< >>Post Follow-up
jbesr1230
28 posts
msg #44116
Ignore jbesr1230
5/24/2006 12:36:49 AM

Hello,
How can I get the ^spx close as a Percentage Difference from ^spx ma(10)

Iíve tried:
set{spx10,ind(^spx,MA(10))}
set{spxc,ind(^spx,close)}
set{spxd,spx10-spx)
set{spxdpcnt spxd/spx10}

and it doesnít work.

Thanks



heyen
124 posts
msg #44133
Ignore heyen
modified
5/24/2006 8:58:44 AM

As far as i know SF only filters stocks, no indices, no futures.

Maybe using an index tracking stock could help you out?

Fetcher[
set{spx10,ind(spy,MA(10))}
set{spxc,ind(spy,close)}
set{spxd,spx10 - spxc}
set{spxrat,spxd / spx10}
set{spxpcnt,spxrat * 100}
close equal ind(spy,close)
volume equal ind(spy,volume)
add column spxpcnt {MA10 offset}
Draw MA(10)
]





StockFetcher Forums · Filter Exchange · ^spx close as a Percentage Difference from ^spx ma(10)<< >>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