General Discussion · Filter OUT biotech stocks
|
sunspore msg #151059 |
3/3/2020 1:09:01 PM
Anyone know how to filter out biotech stocks? I've used
market is not Industry(Medical - Biomedical)
market is not Industry(Medical - Drugs)
market is not Industry(Medical - Generic Drugs)
and this does get rid of a lot of them, but a bunch still sneak in consistently. I suspect it's that the list of stocks/industries is not updated regularly on this site, but I just want to make sure I'm not missing anything.
|
General Discussion · confounding??
|
sunspore msg #149836 |
12/8/2019 5:17:14 PM
Thank you, that makes a lot of sense.
|
General Discussion · confounding??
|
sunspore msg #149834 |
12/8/2019 3:17:24 PM
I have created a filter that returns incorrect values for 2 of the user-created variables, but then somehow returns the correct final number, which uses the 2 erroneous values in the calculation. The only thing I can figure is that the program has the correct number on the back end, but is displaying an incorrect value on the graphic. The code:
Show stocks where market is not etf
and market is not otc
and the average volume(50) > 250000
and the close is between 5 and 20
and beta is above 1
set{nearest,roc(20)}
set{r1,nearest*10}
set{mid,roc(90)}
set{r2,mid*1.5}
set{r3,roc(125)}
set{r4,roc(250)}
set{ind1,r1+r2}
set{ind2,ind1+r3}
set{ind3,ind2+r4}
set{roc_index,ind3/4}
add column roc_index
add column nearest
add column r1
add column r2
add column r3
add column r4
and roc(90) > 0
and market cap is > 200
and market cap is below 10000
Notice that the output for columns r1 and r2 are incorrect. Yet the roc_index column is correct, which would be impossible if it used the r1 and r2 values it displays in the roc_index formula.
I made a replica of this script that does display the correct r1 and r2 values, the only difference being that i used 3-character names for the variables. But this wouldn't explain why the r2 and r3 columns were correct, or why the roc_index output was correct.
|
General Discussion · long-term vs short-term trading
|
sunspore msg #149631 |
11/17/2019 7:10:38 PM
Very informative. I guess you could use this for long or short term.
|
General Discussion · long-term vs short-term trading
|
sunspore msg #149625 |
11/17/2019 5:06:52 PM
We are all on a journey to find the best trading/investing strategy that both fits our personality type and makes the most profit.
I currently swing trade mid-cap stocks, with the aim of finding stocks whose pump is primed and are ready to make a move.
In doing so, I hope to only be in the market during higher probability times, without having to sit through pullbacks and loss of profits. My average trade is roughly 3-6 days.
The down sides of this approach are that it takes a lot of time and work, and the timing of trades has to be pretty darn accurate. Not to mention more commissions.
However, I continue to be drawn to the idea of not being in the market during pullbacks. In theory I won't catch any giant fish this way, but I won't lose my shirt either.
Just curious to hear from anyone who has tried longer term trading strategies vs. shorter term strategies, and which ultimately worked out better.
|
General Discussion · functions and other mysterious keywords
|
sunspore msg #149605 |
11/15/2019 10:03:02 AM
Thanks so much @xarlor!
|
General Discussion · functions and other mysterious keywords
|
sunspore msg #149598 |
11/14/2019 8:10:38 PM
I've been browsing through the forums and have noticed a bunch of phrases, keywords, and/or functions that don't appear in the usage guide or filter phrases tools documentation. For instance, symlist(), ind(), and many others. Is there a list of available functions and the other stuff that I'm missing?
|
General Discussion · faulty ROC filter returns?
|
sunspore msg #149234 |
9/25/2019 8:21:47 AM
Thanks all. Makes sense on the reverse splits, but I didn't see them listed in my tradingview platform either, so just wanted to make sure.
I created the custom_roc indicator just to make sure I was accounting for all the math/logic correctly before posting.
|
General Discussion · faulty ROC filter returns?
|
sunspore msg #149221 |
9/24/2019 7:48:43 AM
Hi, I am experimenting with the price ROC indicator. I am getting some stocks in the returns that don't make sense to me. In my code below I am requesting stocks with ROC above 150 over the last 250 days. This would be roughly a year ago in trading days. But I'm getting a bunch of stocks that are clearly much lower than that over that period.
For instance SPI. About a year ago the stock was trading between 2.50 and 3.40. The most recent close was 3.27, yet the custom_roc column reports an increase of 941.4% There are tons of other examples. What gives?
show stocks that stock type is not etf
and stock type is not otc
and market cap is below 10000
and close is above 3.00
and the RSI(14) < 70
and average volume(25) is above 200000
set{ind_change, close - close 250 days ago}
set{ind_ratio, ind_change / close 250 days ago}
set{custom_roc, ind_ratio * 100.0}
show stocks where custom_roc is above 150.0
and add column custom_roc
|
General Discussion · stock type
|
sunspore msg #144952 |
10/14/2018 1:03:33 PM
I have seen the 'stock type' filter, I use it to screen out otc and etf issues. But I don't see it listed as an official filter. I want to also screen out ADR/ADS stocks. Why don't I see this filter in the filter list, is there an updated list? Does anyone know all the acceptable values for this filter?
|