StockFetcher Forums · View by Author: (196 messages)  [ Display By: Date / Subject ]<< 1 ... 14 15 16 17 18 ... 20 >> 
Filter Exchange · Need help with simple filter.
xarlor
msg #149016
8/29/2019 4:48:31 PM

John, your filters are written in a syntax that SF does not parse. Take the lines below. You can see that it returns results that it shouldn't.

Fetcher[
price has been above MA(300) for at least 18 months
]



Fetcher[
weekly EMA(9) has been above MA (300) for more than 18 months
]



Filter Exchange · Need help with simple filter.
xarlor
msg #149015
8/29/2019 4:40:18 PM

four, I'm not sure that's right. I use MONTHS in several filters. It works, as well as YEARS. Here are some tests that check out.

Fetcher[
price 3 months ago between 10 and 10.50
]



Fetcher[
chart-time is 2 years
price 1.5 years ago between 10 and 10.50
]



Fetcher[
chart-time is 1 year
weekly ema(9) > ma(300) for last 6 months
weekly ema(9) < ma(300) 7 months ago
]



Filter Exchange · Need help with simple filter.
xarlor
msg #149011
8/29/2019 2:53:02 PM

John, these 2 lines always return 0 results. They're too extreme.

Fetcher[
weekly ema(9) > ma(300) for last 18 months
close > ma(300) for last 18 months
]



Even halving that to 9 months was only showing a few results per year. I went with 6 months just to get something on the filter. You may have to tweak your parameters.

Fetcher[
market not otcbb
market not etf
optionable

set{var1, ma(375) / price}
set{var2,1 - var1}
var2 > 0.05

draw ma(375)
add column var2

volume > 1000000
close between 15 and 1000

/* Using 18 months in either of the next 2 lines returns 0 results */

weekly ema(9) > ma(300) for last 6 months
close > ma(300) for last 6 months

set{Hi1,high 8 week high}
set{Lo1,low 8 week low}
set{HiLo,Lo1 / Hi1}
set{Range1,1 - HiLo}
add column Range1

Range1 < 0.10
]



General Discussion · COG(10,2) and also Closing Prices getting narrower over a period of time
xarlor
msg #148980
8/22/2019 7:52:02 PM

dleather25, just remove the entire line as commented below. This will stop SF from filtering based on the narrowing pattern you asked originally.

As for graft's addition, I believe it is sorting the results by (least to greater) amount of variation in the COG during the last 30 days.

Fetcher[
chart-time is 1 year
average volume(30) > 1234567
close < .01

set{var1,abs(cog(10,2))}

/* Remove this line to not filter by a narrowing COG pattern.
126 day slope var1 < -0.0005
*/

draw cog(10,2)
/*************my additions ***********/
set{x, stddev(var1, 30)}
draw x
draw cma(x, 126)
add column cma(x, 126)
sort on column 5 ascending
/************************************/
/* exclude IPOs in the last year */
volume 1 year ago > 0

-
ADX(14) is between 15 and 40
draw Williams Accumulation Distribution
draw Accumulation Distribution
draw Williams Accumulation Distribution 10 week low
set{52wh, close 52 week high}
add column 52wh
set{52wl, close 52 week low}
add column 52wl
]



General Discussion · COG(10,2) and also Closing Prices getting narrower over a period of time
xarlor
msg #148970
8/21/2019 2:09:00 PM

This is a start. Hopefully, someone can add to it and refine.

Fetcher[
chart-time is 1 year
average volume(30) > 1234567
close > 10

set{var1,abs(cog(10,2))}
126 day slope var1 < -0.0005

draw cog(10,2)
do not draw var1
do not draw 126-day slope of var1

/* exclude IPOs in the last year */
volume 1 year ago > 0
]



General Discussion · Should be so simple
xarlor
msg #148955
8/19/2019 11:33:13 PM

Something simple to get you started

Fetcher[
ma(4) 5 days ago crossed above ma(9) 5 days ago
close > ma(4) for the last 4 days
]



General Discussion · Stan Weinstein's Secrets For Profiting in Bull and Bear Markets
xarlor
msg #148854
8/9/2019 6:29:59 PM

If you use wma(150) on daily chart, you have to use wma(30) on weekly chart (not ma(30)). Weinstein uses weighted moving average, which is wma.

Below are the daily and weekly charts of SPY. Notice the wma lines are identical and cross the candles at the same price points on both charts.

Daily SPY with wma(150):


Weekly SPY with wma(30)


General Discussion · RSI Shading
xarlor
msg #148797
8/5/2019 6:58:43 PM

It's just the width is too narrow for a fill-in when using the default size charts. If you click the chart to view it in its own window, you will see those sections that were previously not shaded in are now shaded in.

General Discussion · Need Help Creating Filter Based on These Parameters
xarlor
msg #148795
8/5/2019 5:54:09 PM

As I understood request, this is what I came up with. Let me know if I misunderstood something, as I tend to infer things incorrectly.

Fetcher[
Beta > 0.75
add column beta

volume > 100000

set{market_cap, shares outstanding * close}
market_cap > 2000
add column market_cap

draw Upper Bollinger Band(20,2)
draw Lower Bollinger Band(20,2)
Bollinger Width(20,2.0) < .04
add column Bollinger Width(20,2.0)

set{1YH,high 1 year high}
set{var1,close / 1YH}
set{1YH2close,1 - var1}
1YH2close < .10
add column 1YH2close
draw high 1 year high

set{var2,MA(8) / EMA(8)}
set{var3,1 - var2}
var3 > 0.001
add column var3

set{var4,EMA(34) / MA(34)}
set{var5,1 - var4}
var5 > 0.001
add column var5

do not draw market_cap
do not draw Bollinger Width(20,2.0)
do not draw 1yh2close
do not draw var3
do not draw var5
]



Stock Picks and Trading · Weinstein Strategy Picks
xarlor
msg #148783
modified
8/4/2019 8:36:52 PM

graft, it looks like a good opportunity to buy a Stage 2 on the pullback. The only ingredient missing is that the transportation sector is below the market average and on a general downtrend since January. Still, this past month, Transportation is making a strong rally toward clearing above the market average.

All that said I'm going to watch KNX for either a bounce or it breaking its weekly wma 30 before buying.


Fetcher[
chart-time is 1 year
symlist(xtn,knx)
add column sector
draw wma(150)

draw Relative Strength(^SPX,150)
draw 30-day slope of Relative Strength(^SPX,150)
]



StockFetcher Forums ·  · << 1 ... 14 15 16 17 18 ... 20 >>

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