StockFetcher Forums · View by Author: (391 messages)  [ Display By: Date / Subject ]<< 1 ... 4 5 6 7 8 ... 40 >> 
Filter Exchange · Can someone assist with a simple filter
xarlor
msg #155033
12/20/2020 6:28:46 PM

If price is above EMA(17) today or yesterday, does it not also follow that it is above the 5% below EMA(17) mark? Meaning that your first statement is always satisfied because of the second statement.

General Discussion · MACD Filter Help please
xarlor
msg #155008
12/18/2020 10:53:00 AM

graftonian included the Keltner bands going up because one of your requirements was "One where the stock is on a upward trend for say 7 to 14 days". By removing that line, you're getting all stock regardless of their general trend.

I added a line at the end to only give you tickers that are trending up, though it may be for a lot longer than 14 days.

Otherwise, the filter looks like it's doing what you want it to.

Fetcher[
market is not otcbb
market is not etf
And average volume(10)>1000000
and price > 1
and MACD Histogram(12,26,9) 2 dayS ago is Decreasing for the last 5 days
/*You need a line to search for the upturn, such as*/
MACD Histogram(12,26,9) increasing for the last 2 days
/*Keltner has to be decreasing not increasing because with it set to increasing, the turn already happened and is continuing*/
and Keltner Band(10) decreasing for last 5 days
count(close > wma(150),100) > 95
]



General Discussion · MACD Filter Help please
xarlor
msg #154975
12/16/2020 5:23:31 PM

Hi mystockid! Have you tried writing a filter for any of the different parts? If so, go ahead and post it so I can help you flesh it out. Feed a man a fish, teach him to fish, and all that.

General Discussion · Is there a way to successfully predict which stocks will have "juice" going forward?
xarlor
msg #154959
12/15/2020 8:48:34 AM

Here is a custom volatility filter I wrote in the past. It compares historical volatility to itself over the last year. This is sorted by those tickers experiencing the highest volatility when comparing to its own baseline over the last year.

I can't say this will work to find your juicy stocks. Perhaps combine it with your other filters and see if it yields good results.

Fetcher[
optionable
not etf

chart-time 1 year
set{cIV,cema(historical volatility(15,1),252)}
set{cIVR, historical volatility(15,1) / civ}
add column cIVR
sort column 5 descending

draw Historical Volatility(15,1)
draw cIV on plot Historical Volatility(15,1)
]



General Discussion · Any good ideas to search for certain patterns like this?
xarlor
msg #154947
12/14/2020 11:08:06 AM

@styliten I am in the I.T. field, though not a programmer. I dabble in coding, though, and am always frustrated by not having the ability of some basic functions on SF, like loops, nested IFs, variable recall of days, and more. Makes for some inventive solutions at times.

I've looked into DMA, tried making some filters, but none of them ever panned out. The problem I have with DMA is it's based off a lagging indicator already. When trying to use positive DMA, you're making it lag even further. When using negative DMA, you're attempting to predict an average off data that is not even current, in other words, data that is already lagging behind. Add in that the value changes day-to-day as the new MA is known and it's just not reliable at all.

But as I often preach, if you find something that works for you and is profitable for you, then keep using it! It's not the filter, it's how you trade.

General Discussion · Scan for Stocks in downtrend for days, weeks, etc.
xarlor
msg #154911
12/11/2020 11:01:31 PM

Fetcher[
not etf
not otcbb
close < wma(150) for last 100 days
]



General Discussion · Any good ideas to search for certain patterns like this?
xarlor
msg #154897
modified
12/11/2020 10:43:10 AM

This is the best approach I could think of, styliten. A bit of explanation is in order.

This attempts to give you a visual of how many times, within the last 3 days, day change was -2.5% or worse.

1of3downdays means only 1 day of the last 3 days was the day change -2.5% or worse.
2of3downdays means 2 of the last 3 days the day change was -2.5% or worse.
3of3downdays means all 3 of the last 3 days the day change was -2.5% or worse.

Looking at all 3 variables above, the combined visual pattern you're looking for is a "V". From there, you can browse to the right and see how many consecutive -2.5% down-days happened. A "U" pattern indicates more than 3 consecutive down-days.

Of note, your examples fail the -2.5% criteria.
YETI's first 2 downdays are -1.73% and -2.38% while the stand-alone downday was -2.61.
DY's first 4 downdays are -3.86%, -2.44%, -1.41%, and -0.02% while the stand-alone downday was -1.20%.

My definition of day change uses the day's open and the day's close. If you want it to be yesterday's close to today's close, replace the pdiff1 with the commented out one. Using that method still doesn't satisfy the criteria for YETI and DY, however.

Lastly, I included only optionable stocks to reduce the universe to "serious" stocks only. YMMV.

Fetcher[
chart-time 30 days
optionable

/* If day change should be calculated using yesterday's close to today's close, replace the pdiff1 line with this one:
set{pdiff1,close / close 1 day ago}
*/
set{pdiff1,close / open}
set{pdiff2,pdiff1 - 1}
set{pdiff,pdiff2 * 100}

pdiff > 3

set{hits,count(pdiff < -2.5,3)}
set{triggers,count(hits > 2,30)}
triggers > 0

set{1of3downdays,count(hits equals 1,1)}
draw 1of3downdays
plottype{1of3downdays,zerobar}

set{2of3downdays,count(hits equals 2,1)}
draw 2of3downdays
plottype{2of3downdays,zerobar}

set{3of3downdays,count(hits equals 3,1)}
draw 3of3downdays
plottype{3of3downdays,zerobar}

add column pdiff
do not draw pdiff
do not draw triggers
]



General Discussion · Keltner Band Help Please!
xarlor
msg #154892
12/10/2020 5:49:49 PM

Fetcher[
close between 3 and 20
volume > 2000000

Upper Keltner Band(10) increasing for last 10 days
price touched Center Keltner Band(10)
open > Center Keltner Band(10)
]



General Discussion · Parabolic SAR Question/Help
xarlor
msg #154881
12/10/2020 11:53:08 AM

Fetcher[
Parabolic SAR(0.02,0.2) 1 day ago decreasing for last 7 days
close 1 day ago < Parabolic SAR(0.02,0.2) 1 day ago
close > Parabolic SAR(0.02,0.2)
]



General Discussion · Filter wont show matching stock
xarlor
msg #154850
12/7/2020 2:31:10 PM

You've fallen victim to the wonky SF syntax.

Here is a filter that accomplishes what you were looking for. For the purposes of this exercise, I converted five months into 100 days (5 trading days per week, 4 weeks per month, 5 * 4 * 5 = 100).

Fetcher[
chart-time 5 months
set{trigger1,count(MA(35) 25 days ago < MA(45) 25 days ago,100)}
set{trigger2,count(MA(35) > MA(45),1)}
set{trigger,trigger1 + trigger2}
trigger equals 101

draw ma(35)
draw ma(45)
do not draw trigger
]



StockFetcher Forums ·  · << 1 ... 4 5 6 7 8 ... 40 >>

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


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.