StockFetcher Forums · View by Author: (188 messages)  [ Display By: Date / Subject ]<< 1 2 3 4 5 ... 19 >> 
Filter Exchange · Using this for potential runners
compound_gains
msg #153791
8/29/2020 7:29:04 AM

5-day backtest using three possible entry points. Lots of rockets. You could likely build a nice system just trading the highest scoring stock each day.

Fetcher[
not otcbb
show stocks where the ma(9) 5 days ago is within 10 percent of ma(34) 5 days ago
draw ma(9) on plot price
draw ma(34) on plot price
price 5 days ago > lri(40) 5 days ago
price 5 days ago between .5 and 70

average volume (40) 5 days ago > 100000
set{myOSCillator, EMA(4) - EMA(23)}
draw myoscillator
set{var1, ema(10) - ema (3)}
draw var1 on plot myoscillator
draw lri (100)
Set{myosc20,CMA(myoscillator,20)}
set{SD,cstddev(myoscillator,20)}
set{SD20,2 * SD}
set{BOLU,myosc20 + SD20}
set{BOLD,myosc20 - SD20}
set{VBW,BOLU - BOLD}
set{myosc2, myoscillator}
set{diff, myoscillator - var1}
draw myosc2
draw bolu on plot myosc2
draw bold on plot myosc2
set{buyosc, myoscillator crossed above var1}
draw buyosc


set{z%, close/ ema(20)}



set{alpha, relative strength(SPY,20) + relative strength(SPY,63)}
set{alphaAV, cema(alpha, 17)}
DRAW ALPHA
draw alphaAV on plot alpha

draw rsi(2)
Set{Prsi9,CMA(RSI(2),9)}
draw prsi9 on plot rsi(2)



set{H, high 12 weeks ago - low 12 weeks ago}
set{C, close 12 week ago}
set{m4,H * 1.1}
set{m4a, m4 / 2}
set{H4, m4a + C}
set{m3,H * 1.1}
set{m3a, m3 / 4}
set{H3, m3a + C}
set{m2,H * 1.1}
set{m2a, m2 / 6}
set{H2, m2a + C}
set{m1,H * 1.1}
set{m1a, m1 / 12}
set{H1, m3a + C}
set{n1, H * 1.1}
set{n1a, n1 / 12}
set{L1, C - n1a}
set{n2, H * 1.1}
set{n2a, n1 / 6}
set{L2, C - n2a}
set{n3, H * 1.1}
set{n3a, n1 / 4}
set{L3, C - n3a}
set{n4, H * 1.1}
set{n4a, n1 / 2}
set{L4, C - n4a}
draw price line at H4
draw price line at H3
draw price line at H2
draw price line at H1
draw price line at L1
draw price line at L2
draw price line at L3
draw price line at L4

set{H10, high 24 weeks ago - low 24 weeks ago}
set{C10, close 24 week ago}
set{m41,H10 * 1.1}
set{m4a1, m41 / 2}
set{H41, m4a1 + C10}
set{m31,H10 * 1.1}
set{m3a1, m31 / 4}
set{H31, m3a1 + C10}
set{m21,H10 * 1.1}
set{m2a1, m21 / 6}
set{H21, m2a1 + C10}
set{m11,H10 * 1.1}
set{m1a1, m11 / 12}
set{H11, m3a1 + C10}
set{n11, H10 * 1.1}
set{n1a1, n11 / 12}
set{L11, C10 - n1a1}
set{n21, H10 * 1.1}
set{n2a1, n11 / 6}
set{L21, C10 - n2a1}
set{n31, H10 * 1.1}
set{n3a1, n11 / 4}
set{L31, C10 - n3a1}
set{n41, H10 * 1.1}
set{n4a1, n11 / 2}
set{L41, C10 - n4a1}
draw price line at H41
draw price line at H31
draw price line at H21
draw price line at H11
draw price line at L11
draw price line at L21
draw price line at L31
draw price line at L41



set{X, high}
set{Y, low }
set{Z, close}
set{a, X + Y}
set{J, a + z}
set{piv, j / 3}


set{pma3, cema(piv, 3)}
set{pma9, cema(piv, 9)}
set{my_macd, pma3 - pma9}
set{MACMA, cema(my_macd, 6)}
set{signal, cema(my_macd,1)}
set{zero, 0}
draw my_macd
draw signal on plot my_macd
draw MACMA on plot my_macd
draw zero on plot my_macd
set{PMA6, cma(piv, 6)}
set{PMA22, cma(piv, 22)}
draw PMA6 on plot price
draw pma22 on plot price

set{Xpma22, count(price crossed above pma22 from below, 1 )}


set{AD1, close - low}
set{AD2, High - close}
set{AD3, High - low}
set{EQ1, AD1 - AD2}
set{EQ2, EQ1 / AD3}
set{EQ3, EQ2 * volume}
set{ACDST, sum(EQ3(22),22) / 22}
set{ACUMDISTAV, cema(ACDST, 6)}
draw acdst
draw acumdistav on plot acdst


set{sum1, buyosc + z%}
set{sum2, sum1 + alpha}
set{SCORE, sum2 + xpma22}
add column SCORE 5 days ago
set{hgh, high 5 day high / open 4 days ago}
add column hgh
set{cl, close / open 4 days ago}
add column cl
add column separator
chart-length is 3 months
set{z1, count(high 4 days ago above high 5 days ago, 1)}
set{z2, count(low 4 days ago below high 5 days ago, 1)}
set{z3, z1 + z2}
set{hit, count(z3 equals 2, 1)}
add column hit
set{ent, high 5 days ago}
set{hgh2, high 5 day high / ent}
add column hgh2
add column separator
set{a1, high - open}
set{a2, open - low}
set{a3, abs(a1 - a2)}
set{a4, a1 + a2}
set{a5, a4 - a3}
set{a6, a5 / 2}
set{a7, cma(a6, 10)}
set{a8, a7 5 days ago}
set{ent2, open 4 days ago + a8}
set{hit2, count(high 4 days ago above ent2, 1)}
add column hit2
set{hgh3, high 5 day high / ent2}
add column hgh3
sort column 5 descending
draw price line at ent2 on plot price
]



Filter Exchange · This is where it gets frustrating
compound_gains
msg #150203
1/9/2020 10:26:44 AM

It is not a fix. All my filter does is show you the hits for each condition set and highlights that your down candle condition very rarely hits, which means that your requirement for all three conditions to hit will very rarely be met.

Filter Exchange · This is where it gets frustrating
compound_gains
msg #150200
1/9/2020 9:25:58 AM

Your filter is too restrictive and it looks like your down candle condition is the biggest choking point.

Fetcher[
/* DOWN TREND */
set{x1, count(close 4 days ago below open 4 days ago, 1)}
set{x2, count(close 4 days ago above close 3 days ago, 1)}
set{x3, x1 + x2}
set{dtrend, count(x3 equals 2, 1)}

/* DOWN CANDLE */
set{x4, count(close 3 days ago more than 5% below open 3 days ago, 1)}
set{x5, count(low 3 days ago above high 2 days ago, 1)}
set{x6, x4 + x5}
set{dcndle, count(x6 equals 2, 1)}

/* FIND THE DOJI */
set{x7, count(close 2 days ago equals open 2 days ago, 1)}
set{x8, count(high 2 days ago above close 2 days ago, 1)}
set{x9, count(low 2 days ago below close 2 days ago, 1)}
set{x10, x7 + x8}
set{x11, x10 + x9}
set{ftdoji, count(x11 equals 3, 1)}

set{tot1, dtrend + dcndle}
set{tot, tot1 + ftdoji}

add column dtrend
add column dcndle
add column ftdoji
add column tot

sort column 8 descending
]



Filter Exchange · Filter tweak
compound_gains
msg #150030
12/27/2019 10:06:28 PM

Nice indeed! I made some serious money with this filter
===================================================
In one day?? This has to be bull-sheet near its finest because the timing wouldn't even work for being just lucky.


Filter Exchange · Filter tweak
compound_gains
msg #150024
12/26/2019 11:11:55 AM

Don't know if this is what you're looking for...
Fetcher[
not otcbb
high reached new 20 day high
close above .25
average volume(30) above 500000
count(high reached new 20 day high, 90) 1 day ago equals 0
set{20dhigh, high 20 day high}
add column 20dhigh
draw 20dhigh on plot price
chart-length is 3 months
]



General Discussion · confounding??
compound_gains
msg #149835
12/8/2019 5:11:36 PM

I believe you'll find that r1 and r2 in an add column are interpreted as pivot point resistance-1 and resistance-2. Same would happen if you used s1 and s2. Use something other than r1 and r2.

Fetcher[
not etf
not otc
average volume(50) > 250000

close between 5 and 20
beta above 1

set{nearest,roc(20)}
set{x1,nearest*10}
set{mid,roc(90)}
set{x2,mid*1.5}
set{x3,roc(125)}
set{x4,roc(250)}
set{ind1,x1+x2}
set{ind2,ind1+x3}
set{ind3,ind2+x4}
set{roc_index,ind3/4}
add column roc_index
add column nearest
add column x1
add column x2
add column x3
add column x4

roc(90) > 0

market cap above 200
market cap below 10000
]



Filter Exchange · Swing trading filters
compound_gains
msg #149654
11/21/2019 1:47:54 PM

You folks are too nice. I was teed off that he/she couldn't/wouldn't do a basic search first before asking so I didn't bother to respond. Obviously you have more class (or sympathy) than I do!

Filter Exchange · Need help to write a combined list of stocks
compound_gains
msg #149566
11/10/2019 3:07:05 PM

Fetcher[
/*1. Group 1 criteria:
a. Market Cap > 300
b. Average volume(30) > 600000
c. Day change > 4.5%*/
set{mcap, shares outstanding * close}
set{g11, count(mcap above 300,1)}
set{g12, count(average volume(30) above 600000, 1)}
set{g13, count(day change above 4.5, 1)}
set{g14, g11 + g12}
set{g15, g14 + g13}
set{group1, count(g15 equals 3, 1)}
add column group1

/*2. Group 2 criteria:
a. Market is S&P 500
b. Day change > 3.5%*/
set{g21, count(market is s&p500, 1)}
set{g22, count(day change above 3.5, 1)}
set{g23, g21 + g22}
set{group2, count(g23 equals 2, 1)}
add column group2

/*3. Group 3 criteria:
a. Market is Nasdaq 100
b. Day change > 2.5% (so if a ticker belongs to both S&P 500 and Nasdaq 100 with a day change of 3.0% should be picked up here, because it failed to meet the Group 2 criteria)
*/
set{g31, count(market is nasdaq 100, 1)}
set{g32, count(day change above 2.5, 1)}
set{g33, g31 + g32}
set{group3, count(g33 equals 2, 1)}
add column group3

/*4. Group 4 criteria:
a. Market is Dow 30
b. Day change > 1.5% (Dow 30 stocks are also part of S&P 500 and Nasdaq 100, but their average day change is typically smaller since they are Blue Chip stocks, so any day change > 1.5% would be picked up right here.)*/
set{g41, count(market is dow 30, 1)}
set{g42, count(day change above 1.5, 1)}
set{g43, g41 + g42}
set{group4, count(g43 equals 2, 1)}
add column group4

set{t1, group1 + group2}
set{t2, t1 + group3}
set{tot, t2 + group4}
tot above 0
]



General Discussion · Need help with what I think should be a simple filter
compound_gains
msg #148434
7/9/2019 7:14:58 PM

PPO(10,50) was at least 4% below EMA(17) within the last 15 days and price is above EMA(17) and exchange is not OTCBB and exchange is not ETF and exchange is not AMEX and average volume is above 1,000,000 and price is between 15 and 1000 and optionable and the Historical Volatility(100,1) is above 20 and optionable and RSI (14) is below 69

Fetcher[
count(ppo(10,50) more than 3.99% below ema(17), 15) above 0
close above ema(17)
not otcbb
not etf
not amex
average volume(30) above 1000000
close between 15 and 1000
optionable
historical volatility(100) above 20
rsi(14) below 69
]



General Discussion · How to eliminate Medical-Biomedical?
compound_gains
msg #148428
modified
7/8/2019 6:21:49 PM

Author = TheRumpledOne
https://www.stockfetcher.com/forums/General-Discussion/Filter-out-industry-groups/49768/-1/49808

Fetcher[
/* Industry and Sector Numbers Display Filter */
set{Indnum, industry}
set{Secnum, sector}

add column industry
add column Indnum
add column sector
add column secnum

set{exclude, count(indnum equals 36, 1)}
exclude equals 0

Indnum above -1
]



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

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