StockFetcher Forums · Filter Exchange · Strongest Stocks<< >>Post Follow-up
morsan
27 posts
msg #97668
Ignore morsan
11/29/2010 5:46:53 AM

From Stockbee's blog:

Mark Boucher in his book details his Momentum/ Relative Strength based system for trading the world markets, the commodities, and the stocks. At the heart of his equity selection method is momentum. He use a weighted average Rate of Change or ROC to rank stocks. He offers two methods for equity selection based on whether you are long term traders or short term traders.

For Short Term Traders

( (2 * C * 100 / C5) + (2 * C * 100 / C25) + ( C * 100 / C40) ) / 5

He advises focusing on top 20% stocks by this kind of ROC scan.

The code is for trade station I think and I don't know how to translate it for Stockfetcher, maybe someone here knows how to do it.

Many Thanks,
Morsan

reels
29 posts
msg #97673
Ignore reels
11/29/2010 4:21:15 PM

maybe this....


Fetcher[
set {m51,close/close 5 days ago}
set {m5 ,m51*2}

set {m251,close/close 25 days ago}
set {m25 ,m251*2}

set {m40,close/close 40 days ago}

set{opsz1,m5+m25 }
set{opsz2, opsz1+m40}

set{STT, opsz2/5}

/*this for short term*/

draw STT crossed above 1.0



set {m40x ,m40*2}

set {m651,close/close 65 days ago}
set {m65 ,m651*2}

set {m130,close/close 130 days ago}
set {m195,close/close 195 days ago}
set {m260,close/close 260 days ago}



set{opsz11, opsz1 +m40x }
set{opsz21, opsz11+m65 }
set{opsz31, opsz21+m130}
set{opsz41, opsz31+m195}
set{opsz51, opsz41+m260}

set{LTT, opsz51/11}



draw LTT



volume > 10000000
price > 1
offset 20

/* memo
short term trader
( (2 * C * 100 / C5) + (2 * C * 100 / C25) + ( C * 100 / C40) ) / 5

long term trader
( (2 * C * 100 / C5) + (2 * C * 100 / C25) + (2 * C * 100 / C40) + (2 * C * 100 / C65) + (C * 100 / C130) + (C * 100 / C195) + (C * 100 / C260)) / 11
*/

]




morsan
27 posts
msg #97684
Ignore morsan
11/30/2010 11:20:46 AM

Many thanks reels, much appreciated.

Im not the best at coding so forgive me if I ask the obvious. Where do I cut in the filter to get the short term filter "( (2 * C * 100 / C5) + (2 * C * 100 / C25) + ( C * 100 / C40) ) / 5"?

i plan to use it against zacks ranks #1, and I hope that the market will continue to move up, even if it doesn't look so today.

Many Thanks,
Morsan


Kevin_in_GA
4,599 posts
msg #97689
Ignore Kevin_in_GA
11/30/2010 4:23:34 PM

add the following lines:

"add column STT
add column LTT

sort on column 5 descending"

This will sort the stocks from the strongest short-term strength to the weakest.

reels
29 posts
msg #97690
Ignore reels
11/30/2010 4:54:55 PM

Hi, you're welcome Morsan,

this is the "short time" part with place for Wlist or pick tickers to
examine freely with no select coding.
HTH
Reels

Fetcher[


set {m51,close/close 5 days ago}
set {m5 ,m51*2}

set {m251,close/close 25 days ago}
set {m25 ,m251*2}

set {m40,close/close 40 days ago}

set{opsz1,m5+m25 }
set{opsz2, opsz1+m40}

set{STT, opsz2/5}

/*this for short term without selections - plus level lines '1' etc.
or select like.. STT crossing above 1 */

draw STT


draw stt line at 1.2
draw stt line at 1
draw stt line at 0.9

/* if one wlist is present */
/* apply to watchlist( MyWlist-XyZ ) */


/* insert here your zacks picks */
/* apply to symlist(mot,aa,aapl,slv ) */


apply to symlist(mot,aa,aapl,slv )
]



morsan
27 posts
msg #97697
Ignore morsan
12/1/2010 3:42:19 AM

Once again, Many thanks reels and Kevin_in_Ga.

Morsan

jackmack
334 posts
msg #118681
Ignore jackmack
3/20/2014 3:11:50 PM

I am not the best at changing code around and really have a hard time but can someone help me with this and set up the long term version?
Thank you in advance if you are able to help.

miketranz
956 posts
msg #118683
Ignore miketranz
3/20/2014 5:27:15 PM

Look here for strength:/* TACHAKAWA 2 */

set{vmax,max(open,close)}
set{vmin,min(open,close)}

draw price line at vmax 5 day high 55 day ago
draw price line at vmax 5 day high 34 day ago
draw price line at vmax 5 day high 21 day ago
draw price line at vmax 5 day high 13 day ago
draw price line at vmax 5 day high 8 day ago
draw price line at vmin 5 day low 55 day ago
draw price line at vmin 5 day low 34 day ago
draw price line at vmin 5 day low 21 day ago
draw price line at vmin 5 day low 13 day ago
draw price line at vmin 5 day low 8 day ago
PRICE above ma (50)
RSI above 50
price between .15 and 25 volume above 500000

jackmack
334 posts
msg #120241
Ignore jackmack
5/29/2014 2:19:46 PM

reels - nice work on this one.
Do you use Stratasearch?

djones000buck
206 posts
msg #120245
Ignore djones000buck
5/29/2014 10:29:47 PM

Click able

Fetcher[set{vmax,max(open,close)}
set{vmin,min(open,close)}

draw price line at vmax 5 day high 55 day ago
draw price line at vmax 5 day high 34 day ago
draw price line at vmax 5 day high 21 day ago
draw price line at vmax 5 day high 13 day ago
draw price line at vmax 5 day high 8 day ago
draw price line at vmin 5 day low 55 day ago
draw price line at vmin 5 day low 34 day ago
draw price line at vmin 5 day low 21 day ago
draw price line at vmin 5 day low 13 day ago
draw price line at vmin 5 day low 8 day ago
PRICE above ma (50)
RSI above 50
price between .15 and 25 volume above 500000
]



StockFetcher Forums · Filter Exchange · Strongest Stocks<< >>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 2022 - 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.