StockFetcher Forums · Filter Exchange · Filter based solely on price - no indicators used<< 1 2 3 >>Post Follow-up
chetron
2,817 posts
msg #83084
Ignore chetron
modified
11/14/2009 9:03:10 PM

I FIXED THE 2ND FILTER SO YOU CAN RUN IT, IT WAS NOT THE NUMBER OF VARIABLES, BUT THAT I DREW ON PLOT OF ANOTHER THAT WAS DEEMED COMPLICATED.

AND NO DO NOT SELL YOUR LONG AT THE VSHORT, BUT SELL YOUR LONG PER YOUR OWN RISK MANGEMENT.

THE VSHORT IS FOR SHORTING AND COVER WHEN YOU DEEM FIT.

Kevin_in_GA
4,599 posts
msg #83085
Ignore Kevin_in_GA
11/14/2009 9:13:52 PM

Got it. Thanks. If I test it, I'll use the same exit time (based on my current price only filter). Kevin

davesaint86
725 posts
msg #83097
Ignore davesaint86
11/15/2009 12:00:42 PM

Kevin,

Could the filter be converted to a weekly filter to be used for example for determining when to get in and out of one's 401K selections? I added the column price_osc but it's still showing the daily price_osc reading not the weekly.



Fetcher[*KEVIN'S PURELY BASED ON PRICE FILTER*/

/*Close must be above the highest 5 day low from three days ago for a BUY signal*/

/*That's it. No indicators used on this one - based solely on two price points*/

/*create threshold as a variable*/
set{var1, high 5 day low}
set{var2, var1 3 days ago}
set{threshold, var2+0.01}

/*close must be above threshold*/
set{BUY, count(close > threshold,1)}
set{SELL, count(close < threshold,1)}

/*create variables for graphical display*/
set{trigger, close}
set{price_osc, trigger - threshold}

/*apply to index surrogates*/
Apply to Symlist
(AGG,SPY,EFA,IWM,IWD,IWB,IWF,CWI,IWW,IWZ,IGM,BA,USO)

and chart-display is weekly
and chart-time 1 year


/*draw threshold and trigger on price plot*/
draw threshold on plot price
draw trigger on plot price
draw price line at threshold

/*draw BUY and SELL signals*/
draw BUY
Draw SELL on plot BUY
draw price_osc line at 0
add column separator

add column price_osc
add column separator
add column BUY
add column separator
add column SELL

do not draw MA(250)
and do not draw MA(50)
and do not draw MA(10)
and do not draw MA(20)
and do not draw MA(200)
]



Kevin_in_GA
4,599 posts
msg #83098
Ignore Kevin_in_GA
11/15/2009 12:38:59 PM

11/15/2009 12:00:42 PM

You just need to add the term WEEKLY in front of the defined variables

Fetcher[

/*WEEKLY PRICE FILTER*/

/*create threshold as a variable*/
set{var1, WEEKLY high 5 WEEK low}
set{var2, var1 3 WEEKS ago}
set{threshold, var2+0.01}

/*close must be above threshold*/
set{BUY, count(close > threshold,1)}
set{SELL, count(close < threshold,1)}

/*create variables for graphical display*/
set{trigger, close}
set{price_osc, trigger - threshold}

/*apply to index surrogates*/
Apply to Symlist
(AGG,SPY,EFA,IWM,IWD,IWB,IWF,CWI,IWW,IWZ,IGM,BA,USO)

and chart-display is weekly
and chart-time 1 year


/*draw threshold and trigger on price plot*/
draw threshold on plot price
draw trigger on plot price
draw price line at threshold

/*draw BUY and SELL signals*/
draw BUY
Draw SELL on plot BUY
draw price_osc line at 0
add column separator

add column price_osc
add column separator
add column BUY
add column separator
add column SELL

]



dk58198
19 posts
msg #83153
Ignore dk58198
11/16/2009 8:24:57 PM

kevin i like this filter a lot can you help me add MACD 8,34,8 and full stoc. 8,5,3 to your filter how would i write it , thanks

davesaint86
725 posts
msg #83154
Ignore davesaint86
11/16/2009 8:33:26 PM

Thanks Kevin - I lowered the weekly thresholds from 5 and 3 to 3 and 1. I have a 15 day waiting period before I can purchase the same fund once I sell it. What would you use? Still the 5 & 3 or would you lower the thresholds if you could make more frequent trades?

Thanks,
Dave

Kevin_in_GA
4,599 posts
msg #83157
Ignore Kevin_in_GA
11/16/2009 9:31:53 PM

kevin i like this filter a lot can you help me add MACD 8,34,8 and full stoc. 8,5,3 to your filter how would i write it , thanks
++++++++++++++++++

Are you using them as a screen, or just want to see them on the chart?

to see them, just add the lines

draw MACD(8,34,8)
draw stochastic(8,5,3) %D
draw stochastic(8,5,3) %K

you may also want to see their values - if so, just replace the "draw" command with "add column"

Kevin_in_GA
4,599 posts
msg #83158
Ignore Kevin_in_GA
11/16/2009 9:41:27 PM

Thanks Kevin - I lowered the weekly thresholds from 5 and 3 to 3 and 1. I have a 15 day waiting period before I can purchase the same fund once I sell it. What would you use? Still the 5 & 3 or would you lower the thresholds if you could make more frequent trades?

Thanks,
Dave
+++++++++++++++++++++++++++

I would suggest comparing the fund performance over the past year based on the entry and exit signals generated by both settings. Equity growth is the only thing that matters, right?

Just an observation - most of your ETFs all trade EXACTLY the same as SPY, regardless of if they are R2K, R1K, value, growth, or anything else. You may want to have some diversification in this portfolio just in case.

Consider GLD, DBA, or SLV as inflation hedges - possibly WIP as well.

dk58198
19 posts
msg #83182
Ignore dk58198
11/17/2009 12:41:26 PM

thank you KEVIN

Kevin_in_GA
4,599 posts
msg #83183
Ignore Kevin_in_GA
11/17/2009 1:07:19 PM

You're welcome. Keep posting and asking questions.

StockFetcher Forums · Filter Exchange · Filter based solely on price - no indicators used<< 1 2 3 >>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.