StockFetcher Forums · View by Author: (556 messages)  [ Display By: Date / Subject ]<< 1 ... 3 4 5 6 7 ... 56 >> 
Filter Exchange · Count feature on ROC indicator
glgene
msg #128102
4/21/2016 9:15:33 PM

Is it possible in SF scripting to "count" how many Up weeks (ROC) selected ETFs have had over the past 4 weeks?

Example (using a Watchlist of some ETFs)

Symb UpWks
XLU .... 3
XLI .... 2
XLK ..... 1
XLF .... 4
SPY ..... 2

If it's doable, could you show me the 3-4 lines of code? Thanks so much.

Gene

General Discussion · Need a similar ETF to "SH"
glgene
msg #127944
4/12/2016 12:50:23 PM

DOG is the -1x inverse of the Dow 30.

SH is the popular -1x inverse of the S&P 500. For a particular reason, I'm looking for an alternate to SH (short the S&P 500). Apparently one doesn't exist. Shoot!

But thanks for the other -1x inverses of the other indexes!

Gene

General Discussion · Need a similar ETF to "SH"
glgene
msg #127924
4/10/2016 8:20:30 PM

I know that SPY = 1x S&P 500 (VOO is a SPY alternate)
I know that SH = -1x S&P 500 (but what is an SH alternate?)

I have a specific reasoning for needing to know if there is an SH "alternative" ETF.

Thanks.


General Discussion · Need a similar ETF to "SH"
glgene
msg #127913
4/9/2016 12:01:25 PM

I can't find a like-ETF to SH (-1x to S&P 500).

I'm not looking for a -2x or -3x. I just need a -1x (just like SH). Does anyone here know if such an ETF exists? If so, what's the ETF?

Gene

Filter Exchange · Ranking -- This week vs. last week
glgene
msg #126726
1/14/2016 1:02:59 PM

Thanks much, Kevin...

The ranking info, incorporated within your script, is precisely what I'm talking about. Great! I need ~4 interval periods, so let me begin work. You have shown me the way. I'll report back with my work-in-progress as I proceed; I'm sure it will need some help along the way. You are the Maestro... I am not.

Gene in FL

Filter Exchange · Ranking -- This week vs. last week
glgene
msg #126721
1/14/2016 5:26:03 AM

Kevin,

Since you are the Maestro here (that's a compliment), is my ranking question in this thread doable with StockFetcher scripting, covering "multiple" time periods, such as...

13 wks. ago... 4 wks. ago...2 wks. ago... Last week (past 5 days)

Gene in FL

Filter Exchange · Ranking -- This week vs. last week
glgene
msg #126610
1/6/2016 5:50:23 AM

Is it possible to do multi-period rankings of stocks in a watchlist?

I'm thinking of tracking the performance of a few primary S&P 500 Sector ETFs, based on a performance sorting routine (ROC 1 week), I would like the output to look something like this:

Lastwk, Thiswk, Sym, ROC(5)%
2 ............... 1 ..... XLK....2.35
1.................2 ..... XLP.....2.28
3................ 3...... XLV......2.20
4.................4...... XLI......1.95
6.................5...... XLU.....0.98

And so on (these are made-up numbers above just to show you my concept). As you can see, I sorted on ROC(5), and I included the corresponding ranking number on the "Thiswk" column. But how to show both the "Thiswk" and "Lastwk" corresponding ranking numbers (1 thru 9, for example)? I put the dots there (.) merely as an alignment feature in this write-up; I know the dots would not be present in the final output.

Is this doable in StockFetcher? Sure hope so!

Gene in FL



Filter Exchange · 2/3 of S&P 500 stocks in 10% correction territory
glgene
msg #124709
8/22/2015 3:10:46 AM

Based on the scripts provided above, here are the end-of-day SF stats for Friday, 8/21/2015:

% of stocks below 10% from 52-week high

S&P 500 ............. 344 of 493 = 70%
Dow 30.................... 22 of 30 = 79%
Nasdaq ......... 2,337 of 2,813 = 83%
Nasdaq 100 ............ 78 of 97 = 80%
Russell 2000.. 1,582 of 1,839 = 86%

Gene in FL

ps: Some of the total stock counts seem low (eg, S&P 500... 493 stocks; Nasdaq 100, 97 stocks). SF probably needs to refresh these lists. But the percentages above pretty much tell the "not pretty" story.

Filter Exchange · 2/3 of S&P 500 stocks in 10% correction territory
glgene
msg #124708
8/21/2015 10:32:13 PM

Thanks! If I want to look at the close of the day number vs. the low of the day number, I would merely replace the word "low" with "close" -- right? I think I would prefer to use the closing price number as the end point. Comments, anyone?

Gene

Filter Exchange · 2/3 of S&P 500 stocks in 10% correction territory
glgene
msg #124704
8/21/2015 2:24:16 PM

I saw this wording today on Yahoo...

"2/3 of S&P 500 component stocks were in correction territory, meaning their session lows were at least 10% below their 52-week highs."

I don't know how to script this in SF. Could someone here show the SF way? Please keep it to the S&P 500. Thanks!

Gene in FL

StockFetcher Forums ·  · << 1 ... 3 4 5 6 7 ... 56 >>

*** 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 2018 - 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