StockFetcher Forums · Filter Exchange · My goal is to backtest Stan Weinstein method(s) one step at a time<< 1 2 >>Post Follow-up
roca1018
113 posts
msg #149901
Ignore roca1018
12/17/2019 7:19:35 AM

Ed,

Is there a way to modify this filter so that people with a basic subscription can run it?

Thanks

Rich

nibor100
424 posts
msg #149903
Ignore nibor100
12/17/2019 11:31:22 AM

@roca1018,

I'm not certain which filter you are referring to, can you please clarify?

Thanks,
Ed S.

roca1018
113 posts
msg #149927
Ignore roca1018
12/19/2019 6:58:59 AM

Thanks Ed. You posted the filter on this thread on 12/4/19. It requires a higher subscription.

Rich

nibor100
424 posts
msg #149931
Ignore nibor100
12/19/2019 1:08:49 PM

@roca1018,

Try the version below with a modification that Cheese implemented:

Thanks,
Ed S.

Fetcher[
market is not etf
optionable
average volume(30) > 500000
low > 5

/* 1-2: General assumptions about price and volume*/
close > open
close 1 day ago > open 1 day ago
volume > volume 1 day ago

/* 3: 30-week MA */
/* setting true or false variables for the above and below ma(150) conditions*/
set{cl1,count(close 1 day ago > MA(150),1)}
set{cl2,count(close 2 days ago < MA(150),1)}

/*multiplying those 2 variables together for true when both are 1 or false when 0*/
set{comb1,cl1*cl2}

draw ma(150)

/*setting variable for next day Close-Open Percent Gain*/
set{var2, opcl / open}
set{var3, var2 * 100}

/*Testing the gain variable for 1 day gain or loss*/
set{var4, count( var3 is between 0 and 100, 1)}
set{var6, count( var3 is between -100 and 0, 1)}

/*Only want days filter is true for past year times gain is true or times loss is true*/
set{Tru12, comb1*var4 }
set{var5, count(tru12 > 0 ,252)} and add column var5 {next day winners }
set{Tru13, comb1*var6 }
set{var8, count(tru13 > 0 ,252)} and add column var8 {next day losers }
set{var20, var5 + var8} add column var20 {total hits }
and sort column 7 descending


/*set variables to draw gains and loss days when true in past year*/
set{var7, Tru12*var3 } draw var7
set{var9, Tru13*var3 } draw var9
chart-time is 252 days
]



roca1018
113 posts
msg #149983
Ignore roca1018
12/23/2019 5:41:11 AM

Ed,

There are 306 stocks listed for the close on 12/20/19. Is it best to choose stocks based on their historical
winning % ?

Thanks

Rich

nibor100
424 posts
msg #150015
Ignore nibor100
12/25/2019 10:35:24 AM

@Rich,

1. I have not tested whether or not it is best to choose stocks based on their historical winning % for this filter's results so I can't really answer your question.

2. Please remember that this filter is the first in a series of Weinstein exploratory filters I'm planning on trying out, when I get around to it. This filter is only testing the 30 week/150 day moving avg crossover and none of the other Weinstein key criteria.

3. Also, the Xarlor filter I started with has some criteria which may or may not be applicable to pure Weinstein theory.such as the section on general assumptions about price and volume.

Thanks,
Ed S.



sandjco
454 posts
msg #150016
Ignore sandjco
12/25/2019 10:48:06 AM

Not sure if this applies..

Adding this line
Fetcher[
set{wr, var5/var20}
set{wr%, wr * 100}
add column wr%
]



my eye test on sorting wr%...100% wr wasn't conclusive i.e. a 100% wr ended having higher gains vs lower wr.

roca1018
113 posts
msg #150022
Ignore roca1018
12/26/2019 6:41:44 AM

Thanks Ed

StockFetcher Forums · Filter Exchange · My goal is to backtest Stan Weinstein method(s) one step at a time<< 1 2 >>Post Follow-up

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