StockFetcher Forums · Filter Exchange · Does anyone out there no how to create the the below Metastock syntax into SF<< >>Post Follow-up
davesaint86
725 posts
msg #57051
Ignore davesaint86
11/27/2007 1:32:24 PM

Does anyone out there no how to create the the below Metastock syntax into SF.

ROC(Mov((C/P) ,26,S),1, %)

Davesaint

nikoschopen
2,824 posts
msg #57061
Ignore nikoschopen
11/27/2007 5:02:08 PM

This just simply mean by how much, in terms of %, did 26-period simple moving average of the close move in 1 day?

Fetcher[
set{diff, ma(26) - ma(26) 1 day ago}
set{diff2, diff / ma(26) 1 day ago}
set{ratio, diff2 * 100}
add column ratio
]



davesaint86
725 posts
msg #57067
Ignore davesaint86
11/27/2007 8:54:57 PM

Thanks Niko! Basically I read that this can be used to determine the relative strenght for example for ETFs. I entered the syntax in Google and this is what came up. From the blog the numbers that were coming up were to select ETF's that a a reading of 80 or above. Sorry for the explaning this before. I do not know if you have ever visited this ETF site http://www.etfscreen.com/rsftrends.php. They use Relative Strenght to rate their ETFs.

ROC(MOV((C/P),13,S),1,%)

This formula calculates the rate of change, as a percentage, in the relative strength of the sectors against the base index over a 13 week period. It may seem complex but let`s break it down into manageable parts, beginning with the inner-most brackets first:

C/P is the relative strength (or RSC component) of the tested sectors vs. the base security.

The way it`s calculated is by dividing the closing price of the sector, by `P`, where `P` is the base index that you highlighted before creating this exploration.

(MOV((C/P),13,S) calculates the moving average of the RSC over a 13 week period.

ROC(MOV((C/P),13,S),1,%)calculates the rate of change of the moving average of the RSC, in other words, the amount the sector has moved up or down as a percentage.



StockFetcher Forums · Filter Exchange · Does anyone out there no how to create the the below Metastock syntax into SF<< >>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.