StockFetcher Forums · View by Author: xarlor (114 messages) ·  [ Display By: Date / Subject ]<< 1 2 3 4 5 ... 12 >> 
Filter Exchange · ParaBEARic SAR into 52-week low
xarlor
msg #149594
11/14/2019 12:17:10 PM

Built this bearish swing-trade filter a while back and have had good success with it. Take profits early and don't be greedy with this one. You run a high risk of a bounce the longer you hold.

Fetcher[

/* Short or buy puts. Don't hold more than 30 days */

optionable
average volume(30) > 1234567
chart-time is 1 year
market not etf

close < wma(150) for last 30 days
Relative Strength(^SPX,150) < 1.0
30-day slope of Relative Strength(^SPX,150) < 0

parabolic sar 1 day ago < close 1 day ago
parabolic sar > close

close < low 52 week low 1 day ago
close < open

draw parabolic sar
draw low 2-year low
draw low 3-year low

add column parabolic sar
add column sector
]



General Discussion · Newbie Needs Help With How to Code Screener
xarlor
msg #149583
11/12/2019 8:03:46 PM

Don't forget to share your filter if it turns out to be interesting!

Fetcher[
set{WkR,high 1 week high - low 1 week low}
set{SMAx,ma(14) 1 week ago * 1.25}
WkR > SMAx

set{WkCL,close - low 1 week low}
set{var1,WkCL / WkR}
var1 < 0.25


/* Debugging */

add column high 1 week high
add column low 1 week low
add column WkR
add column SMAx
add column WkCL
add column var1

draw price line at high 1 week high
draw price line at low 1 week low
draw MA(14)
]



General Discussion · The Rumpled One crock pot filter
xarlor
msg #149575
11/11/2019 3:14:36 PM

Hi kossvet! To make things easier, can you post the specific filter you're working off?

Stock Picks and Trading · Weinstein Filters
xarlor
msg #149560
11/8/2019 2:57:03 PM

Welp, MM shook me out. My trailing stop triggered and I exited my position. I'm not going to complain though, Weinstein filter worked for me this time for a 430% gain.

I do want to incorporate Guppy into my trading as well. No reason we can't have both!

Options: Win big, lose even bigger!

BUY ABR 100 17 JAN 20 12.5 CALL @.50 LMT on 08/12/19
SELL ABR 100 17 JAN 20 12.5 CALL @2.65 LMT on 11/08/19

Fetcher[
chart-time is 3 months
optionable
market not etf

symlist(ABR)

draw wma(150)
add column sector
draw Relative Strength(^SPX,150)
draw 30-day slope of Relative Strength(^SPX,150)

add column var1
add column var2

draw high 3-year high
draw high 2-year high
draw high 1-year high
add column high 1-year high
add column high 2-year high
add column high 3-year high
]



Filter Exchange · Need some help calculating
xarlor
msg #149547
11/6/2019 8:30:22 PM

Ah, that does help. Here you go.

Fetcher[
/* KSK8: Attempting to find stocks that have a day range (high-low) that is in between 70 - 90 percent of the 13-week range. */

/* The big candle */

set{13wl,low 13 week low}
set{13wh,high 13 week high}
set{13wr,13wh - 13wl}

set{DayRange,high - low}

set{PercentDayRange,dayrange / 13wr}

PercentDayRange > .70
PercentDayRange < .90

/* The setup, edit/omit this part to find your setup */

average volume(30) > 123456
close > open
close > high 30-day high 1 day ago

do not draw percentdayrange
/* Debugging */

add column 13wl
add column 13wh
add column 13wr
add column DayRange
add column PercentDayRange
]



Filter Exchange · Need some help calculating
xarlor
msg #149545
11/6/2019 6:50:20 PM

When you say 13-week range do you mean [13 week high - 13 week low] or the average true range for the past 13 weeks: ATR(65)? These are two very different numbers. Here I'm using ATR(65):

Fetcher[
/* KSK8: Attempting to find stocks that have a day range (high-low) that is in between 70 - 90 percent of the 13-week range.
Assuming this means 13-week average true range. */

set{lo,ATR(65) * .70}
set{hi,ATR(65) * .90}
set{DayRange,high - low}

DayRange > lo
DayRange < hi

set{PercentDayRange,dayrange / ATR(65)}

add column ATR(65)
add column lo
add column hi
add column DayRange
add column PercentDayRange
]





Filter Exchange · Question for day traders
xarlor
msg #149544
11/6/2019 6:28:05 PM

Graft, ThinkorSwim (TDA) does it easy for the signal.



If you want it to filter the signal and the confirmation it gets a tad more involved since they don't occur at the same time. Still, it is doable with the platform.

Filter Exchange · Can't get filter to produce the right results
xarlor
msg #149529
11/3/2019 10:01:23 PM

Dunno what is wrong with your statements, but I just put them into their own lines and removed all the extraneous wording (and's, the's, etc).

Fetcher[
Price was more than 25 percent below weekly MA(20) within the last year and a half
exchange is not OTCBB
exchange is not ETF
exchange is not AMEX
average volume is above 1,000,000
price is between 10 and 200
Historical Volatility(100,1) is above 20
chart-display is weekly
chart-time is 1 year
]



Filter Exchange · Here is code to place a version of Heikin Ashi on your chart.
xarlor
msg #149505
10/31/2019 5:51:40 PM

This definitely will require Advanced sub, but I made a histogram out of green/red Heikin Ashi candles. A count of 2 is green candle and a count of 1 is red candle. It makes it easier at a glance to see if the trend is bullish, negative, or choppy.

Fetcher[
set{cls1,open + high}
set{cls2,cls1 + low}
set{cls3,cls2 + close}
set{cls,cls3 / 4}

set{op1, open 1 day ago + close 1 day ago}
set{op, op1 / 2}

set{hi1,max(high,op)}
set{hi,max(hi1,cls)}

set{lo1,min(low,op)}
set{lo,min(lo1,cls)}



draw hi
draw lo on plot hi

set{trend,count(cls > op,1) + 1}
draw trend

do not draw cls
do not draw op

set{lri60, lri(60)}
set{lri20, lri(20)}

close > 5
close < 100
average volume(30) > 750000
optionable

draw lri(20)
draw lri(60)

add column RSquared(close, 60)
sort column 5 descending
]



Filter Exchange · Here is code to place a version of Heikin Ashi on your chart.
xarlor
msg #149502
10/31/2019 1:48:45 PM

I see what you're doing.

In your code, me thinks you have hi incorrect. Right now you're asking SF for the max between high, close, and open, which is always going to =high regardless. Likewise with lo, you're asking for the min of open, low, and close which will always =low.

You forgot the cls component too (open+high+low+close)/4. I think you meant:

Fetcher[
set{cls1,open + high}
set{cls2,cls1 + low}
set{cls3,cls2 + close}
set{cls,cls3 / 4}

set{op1, open 1 day ago + close 1 day ago}
set{op, op1 / 2}

set{hi1,max(high,op)}
set{hi,max(hi1,cls)}

set{lo1,min(low,op)}
set{lo,min(lo1,cls)}

add column cls
add column op
add column hi
add column lo
]



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

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