StockFetcher Forums · View by Author: (587 messages)  [ Display By: Date / Subject ]<< 1 ... 4 5 6 7 8 ... 59 >> 
Filter Exchange · Bottom Filter
msg #147623
4/30/2019 5:23:05 PM

Fetcher[dow 30

set{v1, count(IFT(5,9) < -0.99,1)}
set{v2, close 21 day high-low}
set{v3, v2/close 21 day high}
set{v4, v3*100}
set{v5, 2*cstddev(v4,20)}
set{v6, cma(v4,20) + v5}
set{v7, count(v4 > v6,1)}
add column v7

Mind you, I am running this on the Dow 30 just to have a smaller universe of stocks.
I get the same 4 stocks from the previous version. They are INTC,MMM,AAPL,CSCO.


Filter Exchange · Bottom Filter
msg #147619
4/30/2019 2:55:15 PM

MMM comes in with a low score of -92.77 on WR%20.

If you followed the steps correctly you should have gotten INTC,MMM,AAPL,CSCO.


Filter Exchange · Bottom Filter
msg #147618
4/30/2019 2:47:28 PM

Sandjco Put the following code in the Global Box as describe above and hit Save.

set{v2, close 21 day high-low}
set{v3, v2/close 21 day high}
set{vixfix, v3*100}

Using the "vixfix" from Global Filter code reduces the amount code used in the second filter.
Any more code and the second filter will not run.

Take the number 1's which are the V7s. Take those symbols only and place them in
either in a symlist() or a watchlist. Now run part 2 on those symbols in your Symlist.
Run part 2 only after you have entered the "vixfix" code in the Global Filter, you only
need to do this once. Now run both filters daily or however many times you choose.

Do not try to Draw Bottom as that is too much code for Part 2 to run as well.

Hope this helps, any more questions just ask.

Filter Exchange · Bottom Filter
msg #147600
4/29/2019 12:17:07 PM

Pa247 look right above the box where you input your filter you will see Global Filter off to on.
Your filter will be run automatically. If you have content in My Filters you want to include in
any filter always turn Global Filter to on. It is by default off.


Filter Exchange · Looking for more hits with this pattern please?
msg #147594
4/28/2019 7:55:49 PM

Here is what you might be looking for. TRO wrote this for me way back when.


set{E513b,days(ma(5) is above ma(13),100)}
set{E513a,days(ma(5) is below ma(13),100)}
set{M1X, E513a - E513b}

set{E534b,days(ma(5) is above ma(34),100)}
set{E534a,days(ma(5) is below ma(34),100)}
set{M2X, E534a - E534b}

set{E1334b,days(ma(13) is above ma(34),100)}
set{E1334a,days(ma(13) is below ma(34),100)}
set{M3X, E1334a - E1334b}

set{diff1, abs(ma(5) minus ma(13) )}
set{diff2, abs(ma(13) minus ma(34) )}
set{diff3, abs(ma(5) minus ma(34) )}

add column diff1
add column diff2
add column diff3
add column pctdiff

add column SEPARATOR

add column M1X
add column M2X
add column M3X

/* change .21 to whatever you want */

diff1 below .21
diff2 below .21
diff3 below .21


close above 20
volume above 1000000

sort column 5 ascending

Public Filter List · Where is the Market Part II
msg #147588
4/28/2019 10:07:13 AM

Steve, regarding the SPY when riskon = 1 and macd = 1 it is safe to be long. Regarding the SPY
when riskon = 0 and macd = 0 be out of the market or short.


Public Filter List · Where is the Market Part II
msg #147581
4/27/2019 5:14:48 PM

set{vxxc, ind(vxxb,close)}
set{vixc, ind(^vix,close)}
set{vxvc, ind(vxv,close)}
set{spyc, ind(spy,close)}
set{spxl, ind(spxl,close)}
set{vix3, ind(^VIX3M,close)}

set{vxvvix, vxvc / vixc}
set{vixavg, cema(vxvvix,5)}
set{vxvvxx, vxvc / vxxc}
set{vxxavg, cema(vxvvxx,5)}

set{riskon, count(vxvvxx > or = to vxxavg,1)}
set{riskof, count(vxvvxx < or = to vxxavg,1)}

set{risk_on, count(vxvvxx crossed above vxxavg,1)}
set{risk_of, count(vxvvxx crossed below vxxavg,1)}
set{macd3, count(macd(3,5,3) above 0,1)}

draw ma(8)

draw vxvvxx on plot vxxavg
draw riskon
draw riskof
draw macd3
draw macd(3,6,3)

add column risk_on
add column riskon{riskon=long_spy or short_vxx}
add column separator
add column risk_of
add column riskof{riskof=long_vxx or short_spy}

chart-length 6 months

Filter Exchange · Bottom Filter
msg #147573
4/26/2019 6:09:28 PM

No Prob. All is GOOD. This is the poor man's version. You run 1 filter to get results, I have to run 2
and do all kinds of mechanization. You certainly know how to pick those shorts!


Filter Exchange · Bottom Filter
msg #147551
4/25/2019 7:52:29 PM

Check TQQQ on the 2nd filter back on December 24 2018. A reading well below -96. That low is in the
same time span that shows on your .png


Filter Exchange · Bottom Filter
msg #147538
4/25/2019 2:58:25 PM

OK, Here is my solution to this dilemma. I have broken this filter into 2 parts. Part 1 runs from v2 thru v7.
I left out v1 as it is not needed until the 2nd part of the filter.

First part is as follows:

Fetcher[dow 30

set{v1, count(IFT(5,9) < -0.8,1)}
set{v2, close 21 day high-low}
set{v3, v2/close 21 day high}
set{v4, v3*100}
set{v5, 2*cstddev(v4,20)}
set{v6, cma(v4,20) + v5}
set{v7, count(v4 > v6,1)}
add column v7

I ran it on the Dow to have a limited amount of symbols to work with. I sorted on v7 and made a symlist
on the symbols marked 1.


Now for part 2. v4 is the code for Williams Vixfix some of you may be familiar with it.
Copy the code for v4 exactly as it is coded and go to "Account" in the top right hand corner.
click on settings. Once you are in settings click on my filters and paste the code for v4 in the box.
Make sure there is no other code previously added inside my Filters. Now press save and close that
window. I am pretty sure you have to close your browser for the change to take effect, I could be mistaken about this . Do not try to run part 2 from this post as it will not run until you have made the
change to My Filter. Also this filter will not run with "draw bottom" or "add column bottom" In place
of "bottom I elected to use Williams %r(20) and sorted it ascending.

I added v1 to part 2 as it is only need to run part 2.


set{v1, count(IFT(5,9) < -0.8,1)}
set{v8, vixfix 50 day high}

set{v9, v8 *0.85}
set{v10, count(vixfix > v9,1)}
set{v11, v7*v10}
set{v12, count(v11 > 0,1)}
set{bottom, count(v13 > 0,1)*100}
draw Williams %R(20)
add column Williams %R(20)
sort column 5 ascending

Well that is it. The dirty version of KSK8's Bottom Filter. KSK8 run you filter on the Dow and tell
us if it is close to the results you get with the original. When there is a will there is a way, at least
that is what I am told.


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

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