duke56468 683 posts msg #101938 - Ignore duke56468 |
8/2/2011 6:53:19 PM
You can tell the back test to only enter if below close with
set{ep, close yesterday - 0.01}
ep
but there is no way to trail it down like you might try in real life.
|
novacane32000 331 posts msg #101942 - Ignore novacane32000 |
8/2/2011 9:26:41 PM
Mahkoh-Your best bet to get a better price is simply to put in a .5% or 1% limit order at the open . Problem is you will miss out on stocks that take off from the open. My backtest show about 1 in 7 picks will not hit the limit order and will instead take off from the open for a big gain .
Average gain on those stocks is about 5%
|
Eman93 4,750 posts msg #101959 - Ignore Eman93 |
8/3/2011 2:45:34 AM
Duke never buy on a big gap up... most of the time it a fade.
if it is a gap and go .. like RDN today .. you wait for the first 5 min bar then trade long above that with a stop right below the low of that first bar... it has helped me. you have a plan for the open.
Get charts that show premarket data. you want to make sure you break above any overnight of pre market high.
Gap downs are the best to buy the open..
GLT.
|
duke56468 683 posts msg #101962 - Ignore duke56468 |
8/3/2011 9:35:55 AM
I agree.. thanks Eman
|
Kevin_in_GA 4,599 posts msg #102015 - Ignore Kevin_in_GA |
8/5/2011 9:31:56 AM
Been on vacation (still am). After yesterday's 513 point drop I doubt that any long only system looks good right now. Makes me think that this system might benefit from incorporating a market-based metric as well. I'll look into this when i am back. My initial thought will be around adding a rate of change element ( roc(X,Y) above 0) so that you stay out of down periods entirely. might reduce overall return but should add in some protection aginst prolonged drops.
Also, it occurred to me that in using ^SPX in the Z-score calculation instead of SPY, you will always be using YESTERDAY'S ^SPX value until after the market closes (since it is not updated until 5:30 PM or so). Just a caveat for intraday traders ...
|
mahkoh 1,065 posts msg #102039 - Ignore mahkoh modified |
8/6/2011 3:49:23 PM
Thanks for the note on SPY- SPX, Kevin. It does indeed make a difference when checking intraday.
I have, like Duke earlier, been looking at an inverse version for short.
and exit at when zscore is below 1
Like Duke I let go of Williams %R as it did not seem to do this short version any good.
This performs excellent when the market is in selloff mode but horrible otherwise.
In order to formulate "selloff mode" I looked at the 50 SMA of SPY.
In general, when SPY is below the 50 SMA and the slope of this trendline has turned down this short version gives quite remarkable results.
It needs further backtesting for optimization but it might be something worth looking at.
|
cracken 2 posts msg #102072 - Ignore cracken |
8/8/2011 10:26:54 AM
Kevin, I hope you are enjoying your vacation. I did look at adding a filter to keep out of this during a down market...(below 200 dma). As you know the S&P dropped below this last Monday as the carnage began.
set{spx,ind(^SPX, close)}
set{spxMA200, cema(spx,200)}
spx above spxMA200
Another thought is the slope S&P for some shorter timeframe. This could be used to allow for only trading in an uptrend. Just some thoughts.
Now I am trying to decide if I should hold my positions in this selloff or get out of them. I have been putting on 5 to 8% stops but decided not to do that for this system recently. I have a few positions that are down 15-20%...
Long XIV...
Jeff
|
duke56468 683 posts msg #102082 - Ignore duke56468 |
8/8/2011 11:50:13 AM
cracken... The backtests that I did showed that a 10% stop loss did not hurt results much during most tiime frames and does add peace of mind.
|
fortyfour 189 posts msg #102316 - Ignore fortyfour |
8/17/2011 8:06:31 PM
To those using stratasearch ( and possibly new at it like myself)....
I have begun to learn how to set up a search for sector and market tests
that may help kevins strategy in bad markets...
I have a search running on 465 of the sp500 stocks from 1/1/2007 to present
and will focus on the 2008 and APR29 2011 to present for improvement.
Here is how..
Run Kevins strategy then "right click" the results of the run and
select "make trading rule"...and name it "Kevin".
Select "Setup" and select "Autosearch" and "ADD" to create a new autosearch.
Name it "Kevin's entry rules as the only PRIMARY trading rule and Kevins Exit rulses as the only Primary exit rule"
Select the tab for primary trading rules and make all rules "NEVER"
Then scroll down and select the trading rule "Kevin" as "ALWAYS"
Repeat for the Primary exit rule.(setting Kevin to the only allowed primary exit rule)
Set all supporting entry and exit rules to "Random"
Run the autosearch on your target dates and sector....
I allow for 2 supporting entry and exit conditions( 1 is default)
|
jackmack 334 posts msg #102320 - Ignore jackmack |
8/18/2011 8:31:24 AM
Fourtyfour
I am so new to this - any way to make this selectable by adding fetcher?
Thank you
Also - I am waiting to see if Kevin is able to notify us of the most current
"correct" scan (I love his work) since this has gone through many changes.
Let me know
Thank you
jackmack
|