StockFetcher Forums · View by Author: xarlor (96 messages) ·  [ Display By: Date / Subject ]<< 1 2 3 4 5 ... 10 >> 
Filter Exchange · 2 standard deviation pull back on prior 10 bars
msg #146925
3/14/2019 2:44:14 PM

You'll have to check the accuracy, but I believe this draws a line 2SD above the current close and 2SD below the current close as calculated over the last 10 days.

The variable "lower" would be your stop loss.

market not otcbb
average volume(30) > 1234567
close > 10
ema(9) > ema(50)

set{2SD,Standard Deviation(10)*2}

draw price line at upper
draw price line at lower

add column 2SD
add column upper
add column lower

Stock Picks and Trading · A Newbie's Journey
msg #147788
5/14/2019 2:40:11 PM

sandjco, this is the best I could do:

set {V, average volume(30) * .50}
and draw V on plot Average Volume(30)

Stock Picks and Trading · A Newbie's Journey
msg #149287
10/5/2019 4:35:22 PM

sandjco, there's probably better ways to find breaking trendlines, but this is what I use in my filters.

Unfortunately, when looking back, the LRC always draws with today's data, instead of however long you're looking back. The filter is still showing correctly, it's just the LRC lines display based on today's data. Go back a month to see what I mean.

Still, it does a reasonable job of showing a breakout of a trend.

/* Breaking downward trend */
close > top linear regression line(38,0.75) 1 day ago
LRS(38) < 0

Stock Picks and Trading · A Newbie's Journey
msg #149290
10/5/2019 6:03:57 PM

Added two lines at the bottom to tighten up the number of results.

market is etf
set{1A_1, count (close > bottom linear regression line(13,0.75) 1 day ago,1)}
set{1A_2, count (LRS(13) < 0,1)}
set{1A, 1A_1 * 1A_2}

set{2A, count(rsi(14) crossed above 40,1)}

set{trigger, 1A * 2A}
add column trigger > 0

add column 1A
add column 2A
add column rsi(14)

average volume(30) > 123456
low > wma(150)

Filter Exchange · Aggregate Risk
msg #149025
8/31/2019 6:57:17 PM

chart-time is 7 months
close 6 months ago < .10
date offset 6 months
sort by column 5

~550 losers
~50 break even
~350 winners

So roughly:

58% losers
5% break even
37% winners

Filter Exchange · Aggregate Risk
msg #149030
9/1/2019 3:22:21 PM

Just did a hypothetical study. Bought any stock that was under 10 cents six months ago. Sort that by performance to this day (6 months later).

On the results page, I have each page list 100 stocks per page. Counted the number of pages that had a negative performance (1 page = 100 stocks). Same for those that had a 0.00% performance and those that had a positive performance. Those are the numbers I listed.

Public Filter List · all time highs
msg #149349
10/15/2019 2:58:58 PM

For the purposes of highs and lows, SF is limited to the last 3 years. With that in mind, I wrote the filter looking for stocks that are within 5% of their 3-year high.

close > 1
average volume(30) > 1234567

set{3YRhi,high 3-year high}
set{var1,close / 3YRhi}
set{PercentFromHi,1 - var1}
PercentFromHi < 0.05

add column 3YRhi
add column close
add column PercentFromHi
sort by column 7 ascending

draw price line at 3YRhi
do not draw percentfromhi

Public Filter List · all time highs
msg #149369
10/17/2019 3:06:24 PM

Thanks to nibor, I was able to extend this filter to 15 years. It looks like that is the cap, it breaks if trying to add more.


close > 1
average volume(30) > 1234567

set{x1,high 3-year high}
set{x2,x1 3 years ago}
set{x3,x2 3 years ago}
set{x4,x3 3 years ago}
set{x5,x4 3 years ago}

set{z1,close / 15YH}
set{PercentFromHi,1 - z1}

PercentFromHi < 0.05

add column x1
add column x2
add column x3
add column x4
add column x5
add column 15YH

add column close
add column PercentFromHi
sort by column 12 ascending

draw price line at 15YH
do not draw percentfromhi
do not draw x5

General Discussion · ALL variables must be true
msg #148227
6/22/2019 2:26:21 AM

Is this what you're looking for?

market is not etf
market is not otcbb
day point range reached a new 7 day low
high 1 day ago < high 7 days ago
set{market_cap, shares outstanding * close}
market_cap > 200
add column market_cap

General Discussion · “Ulcer Index” in StockFetcher?
msg #149377
10/18/2019 5:34:06 PM

I was working off the same post and ya beat me to it. Glad we were thinking along the same lines. I noticed the SF version produces a much smoother Ulcer Index, not sure why though.

StockFetcher Forums ·  · << 1 2 3 4 5 ... 10 >>

*** Disclaimer *** 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. does not recommend particular securities., 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