starfox182's account talk

starfox182

Member
After these rebounding days, I just IFT'd 100% I. I was 5G/70C/15S/10I and am currently -0.12% with this allocation. I think the I fund is farther away from its historic highs compared to the C and S funds. Thus, if the market crashed downwards, I would be able to B&H and thus get out of the woods faster than if I were in the same situation with being in the C or S funds.
 
Last edited:
After these rebounding days, I just IFT'd 100% I. I was 5G/70C/15S/10I and am currently -0.12% with this allocation. I think the I fund is farther away from its historic highs compared to the C and S funds. Thus, if the market crashed downwards, I would be able to B&H and thus get out of the woods faster than if I were in the same situation with being in the C or S funds.

If you are expecting or planning for a crash, why not go 100% G now while your shares have some value and buy I somewhere near what you think is the bottom of that crash? :blink:
 
I am currently 100% I Fund and am holding. I bought it at 55 since 2 weeks earlier it was at 58. I figured I would make a quick few percent. Now it's at 47.36!!! :worried: Any ideas besides holding?

On another note, how does this strategy sound?

Assume you go 2/3 G and 1/3 risky fund:

If risky fund goes up you take the cash, if risk goes down you go 100% risk and take a loss. However, you then use the 1/3 G to cover the loss of the 1/3 risk and the other part of your 1/3 G is your profit. Example: You buy C at 1090 and it goes down to 1080. You take a small loss then go all in and ride C back up until it is at 1090 thus making a profit.
 
Last edited:
Only you can answer that question SF. Sell out and absorb the loss or hold tight. Painful either way.
Personally I'll stop the bleeding if and when I reach last years gains. But thats just me. I'm a ways out from retirement.
 
I'm a total bear, just look at these charts: (I borrowed one for comparison as a generalization from tsptalks commentary on Apr 21st.) Everyone should be a bear, even if indices rise 25% more they have a much more substantial potential to drop farther. Thus shorting is a much better risk to reward in my opinion.
 
I edited it once to fix a chart...but is seems it won't let me edit again to fix one again. I found a better chart for the Wilshire 5000 (but it's coming up small on here...idk...) and R2K which I added.
 
Last edited:
The brave hoofhearted say go ahead and short this market - you'll end up working even after taphophobia. Your pain could be endless when you short a bull market because there ain't no visible top.
 
StarFox,

So, if you buy everything at an unsustainable .DotCom high then you are in a bear market. Oh my God, I've lost 12% in the last 11 years and 10 days.:(

But, if you start your bear market on September 30, 2002 you gained 70% in the last 8 years and 3 months.;)

And, if you initiate the scary graph on March 2, 2009 you are riding a bear market roller coaster for a gain of 99.5%.:)

Or, use your TSP account and go back to 1/3/2000 and look at the balance. I bet you will be pleasantly surprised. I was. (And, yes I know it includes contributions - but that is part of the deal too. Otherwise, I would have partaked in many more adult libations with nothing to show for it...):D

Watch out for snake oil salesmen that pick market date ranges. Your investment range is forty years - not forty months or forty days.:D
 
http://dshort.com/articles/regression-to-trend.html

My account isn't the greatest. I only started with the fed in 2006 and was in the G Fund for 2 years before catching that nice upswing. I didn't really know about investing, until a coworker shared some of his knowledge with me. I posted the link above which gives 2 possible views:

My question is what changes did the BLS make exactly and which do you folks think is more reliable: The BLS stats on the shadowstats version witch uses the unchanged forumla? Thanks for you help!

"The Bearish View
The peak in 2000 marked an unprecedented 157% overshooting of the trend — about double the overshoot in 1929. The index had been above trend for nearly 18 years. It dipped about 9% below trend briefly in March of 2009, but at the beginning of April 2011 it is 45% above trend. In sharp contrast, the major troughs of the past saw declines in excess of 50% below the trend. If the current S&P 500 were sitting squarely on the regression, it would be hovering around 900. If the index should decline over the next few years to a level comparable to previous major bottoms, it would fall to the low 400s.
The Bullish Alternative
A critical factor for the reliability of a regression analysis of stock prices over many decades is the accuracy of the inflation adjustment. The Bureau of Labor Statistics (BLS) has been actively tracking inflation since 1919 and has estimated inflation rates back to 1913 using data on food prices. In 1982, however, the BLS began incorporating changes to the Consumer Price Index (CPI), which is used to calculate inflation. These changes have resulted in much lower "official" inflation rates than would have been the case if the method of calculation had remained consistent"


The author's opinion:


"My opinion is that the optimum method for calculating consumer prices is probably somewhere between the revised BLS method and the historic method preserved by Williams. Ordinarily for a long-term regression analysis, consistency would be preferable, which may lend some credibility to the alternate CPI chart. However, government policy, the Federal Funds Rate, interest rates in general and decades of major business decisions have been fundamentally driven by the official BLS inflation data, not the alternate CPI. For this reason I think the bullish alternative is misleading."
 
Personally...

Just by living through the era from late seventies onward the adjusted chart (bullish) feels the norm.

The late nineties felt boomy in the stock market. You could feel it. Financial talk radio was all over the place. All weekend long. Multiple channels. Not much on real estate though. That came later.

To me, there seemed to be a huge real estate bubble. I remember a 2006 Thanksgiving dinner with my sister (a real estate agent) and listening to her. Everything was roses and going up. I told her it felt toppy. Told her to save a bit of money for the hard times. Whatever. There were radio shows and tv shows all over the place. Flip this house. Then flop.

To me, 2003 - 2007 seemed to be pretty normal. Not too hot, not too cold. Then folks started investing with their house equity. Yea... Great move, that...

Then, 2007 - early 2009 seemed a correction - you think.

Now, we feel like we are reverting to the mean.



To all...

The bubble right now seems to be gubmint debt and spending.

THAT SPENDING is what will revert to norm.
 
http://dshort.com/articles/Q-Ratio-and-market-valuation.html

The above link offers a good perspective of where the market is at. My TSP loan is finally getting direct deposited into my account today. I took out the max which I'm sending to my brokerage. I do expect the market to crash sooner than later but it could take a while due to numerous factors. Or I could be completely wrong and our market doubles but I highly doubt it. I've been sitting in F for months because of this and I have missed out on some nice profits. However, I totally avoided the entire 2008 drop and bought near the bottom which helped to grow my account.
I plan on taking a portion of my paycheck and a portion of my loan to buy into an index or dividend etf and do that monthly regardless of price. Thus, you can make consistent small gains. However, if a crash happened soon, I would stick all my money at the bottom obviously.
 
For about 2 months I've been a member of stockfetcher and have been trying to code filters that give you a statistical edge. I've had some success but not to the extent which I'd like, but other people post thier filters in the forums there and here is a promising example from kevin in GA:


Well, I haven’t posted any new filters in a while, and it got me thinking about exactly how a filter (in essence, a trading system) should be developed. My personal feeling is that simply designing an entry filter falls far short of the goal. The entry assumes all of the risk – the exit gets all of the reward. Without thinking holistically, all of the effort that you put into a filter is wasted.

So here is something that I did over the Memorial Day weekend. I’ll explain my thinking as we go forward.

First, I believe that a good trading system is inherently understandable - that is, you can look at the rationale for stock selection and understand why it is supposed to work. How many people here use exotic indicators that they really don’t understand? Even the pedestrian ones like the MACD are not really clear as to why they might work – who really understands why the MACD is a good signal? (if it actually is, which I might debate endlessly with some folks here ...)

Ones that pass the test for me are usually based on simple things that have strong statistical underpinnings. I have always looked at Bollinger Bands as a good example of statistics used wisely. Stocks that close more than 2 standard deviations away from their historical mean usually revert back to that mean. I also think that most stocks tend to move in sync with the sector or index of which they are part, and when that usual correlation is disturbed, the stock will also revert back to its normal relationship with the index.

Working from that basic premise, one should be able to develop trading systems based on perturbations from the equilibrium between a stock and its index (e.g., AAPL and the Nasdaq, or WMT and the ^SPX). These short term deviations can be effectively traded long or short using the ratio of a stock and its index as the price that one follows.

I started by simply writing some code that took the ratio of each of the component stocks of the S&P 500, and then determined the historical relationship for the pair and how far from that mean the current close was.

/*FIRST DETERMINE HISTORICAL RATIO OF STOCK TO THE ^SPX*/
SET{PRICERATIO, CLOSE / IND(^SPX,CLOSE)}
SET{RATIOMA, CMA(PRICERATIO,100)}
SET{RATIOSTD100, CSTDDEV(PRICERATIO,100)}
SET{DIFF100, PRICERATIO - RATIOMA}
SET{ZSCORE100, DIFF100 / RATIOSTD100}
SET{THRESHOLD, RATIOSTD100 * 2}

I started by simply picking 100 days as the length, but I knew that other time frames would likely be more profitable. This piece of SF code tells me the number of standard deviations from the 100 day mean for the pair (stock / ^SPX). This is a simple way to get a Bollinger Band for the ratio of two stocks.

Statistics says that only about 5% of the time should any stock be more than 2 SD from its mean, and that this is usually not sustained for long (think of these bands as elastics that want to pull the stock back to its mean – the farther out they are the harder they try to pull back).

So far so good, but I need to determine when an entry is called for, and when to exit. So I need to look at different combinations of moving averages, entry point by Z-score, and exit criteria (should also be by Z-score).

Using StrataSearch, I programmed this in and looked at several hundred combinations for the period 12/31/1999 through 12/31/2009. All S&P500 stocks were included. The result was a profitable set of times around 10-30 days, centered between 15 and 20. The typical number of days in a trade was 5-10, so I added the requirement that all trades are ended after 20 days to weed out losers.

The best times for entry typically were when the ratio crossed beyond 2 SD, then reverted back to close inside of 1 SD. I had thought that it would be a larger move (2 back to the mean, for example) but those larger moves were fewer and the percent win rates were less.

So now the code looked like this:

/*FIRST DETERMINE HISTORICAL RATIO OF SECTOR ETF TO THE SPY*/
SET{PRICERATIO, CLOSE / IND(SPY,CLOSE)}
SET{RATIOMA, CMA(PRICERATIO,20)}
SET{RATIOSTD20, CSTDDEV(PRICERATIO,20)}
SET{DIFF20, PRICERATIO - RATIOMA}
SET{ZSCORE20, DIFF20 / RATIOSTD20}

ENTRY: Z-SCORE BELOW -2
EXIT: Z-SCORE ABOVE -1 OR DAYS HELD >20

This still returned too many stocks, and during market corrections the system took some big hits. So I simply added a criteria that included “close above MA(XX)” for each stock, where XX was 50, 100, 150 or 200 days. This hopefully keeps you out of taking long positions on stocks that are tanking (keeps you “buying the dips”).

This definitely helped, and the system dramatically beat out the ^SPX, but the equity curves were still choppy and the system called for a lot of trades.

I also figured that the ratio could be out of whack but the individual stock should also look like it is oversold as well. So I looked at different settings of the Williams %R (between -70 and -100) and also looked for stocks that closed below their individual Bollinger Bands. I could have used the RSI, or MACD, or any other indicator. I chose the Williams %R because I have seen a good correlation between it and a stock being oversold in the past (and it was easy to code).

So in a single massive optimization, I evaluated all possible combinations of timeframe, Z-score entry and exit, William’s %R and close relative to the Stock’s Bollinger bands. Days were all set to the same (for any daily input, varying from 10 to 30). In the end, the best system by backtesting was as follows:


Fetcher[
S&P500

/*FIRST DETERMINE HISTORICAL RATIO OF S&P STOCK TO THE SPY OVER THE LAST 16 DAYS*/
SET{PRICERATIO, CLOSE / IND(^SPX,CLOSE)}
SET{RATIOMA16, CMA(PRICERATIO,16)}
SET{RATIOSTD16, CSTDDEV(PRICERATIO,16)}
SET{DIFF16, PRICERATIO - RATIOMA16}
SET{ZSCORE16, DIFF16 / RATIOSTD16}
SET{THRESHOLD16, RATIOSTD16 * 2}

/*NEXT, SET CRITERIA NECESSARY TO TRIGGER A PAIR TRADE*/

SET{UPPERBAND16, RATIOMA16 + THRESHOLD16}
SET{LOWERBAND16, RATIOMA16 - THRESHOLD16}

ZSCORE16 BELOW -2
WILLIAMS %R(16) BELOW -94
CLOSE BELOW LOWER BOLLINGER BAND(16,2)
CLOSE ABOVE MA(200)

DRAW LOWERBAND16 ON PLOT PRICERATIO
DRAW UPPERBAND16 ON PLOT PRICERATIO
DRAW BOLLINGER BANDS(16,2)
ADD COLUMN ZSCORE16 {Z-score}
ADD COLUMN WILLIAMS %R(16)

DRAW ZSCORE16 LINE AT -1
DRAW ZSCORE16 LINE AT -2
DRAW ZSCORE16 LINE AT 0

SORT ON COLUMN 5 ASCENDING
CHART-TIME IS 6 MONTHS
]







EXIT: Z-SCORE ABOVE -1 OR DAYS HELD >20


I’ll let the equity curve and stats speak for themselves:






Yes, that little white line at the bottom is the performance of the ^SPX over this 10 year period!









A 900% return on an all long strategy during one of the most turbulent decades in recent history, including not one but two massive recessions that wiped out many people’s lifetime savings.

About 4 trades a week on average, with a CAGR of almost 26% (compared to the ^SPX at -2.74%). You just can't argue with those kind of numbers.

What I like most about this strategy is the Sharpe ratio - StrataSearch uses the monthly ratio, so one must multiply by the square root of 12 (3.46) to annualize it. The ratio is just over 1.7, which is exceptionally high for most trading systems, especially during that period.

Also note that the portfolio size is only 10 trades at any time, and historically your money was only in the market ~46% of the time. The rest sat risk-free in cash.

Why post this? because I think that people can not only take the filter and make money with it, but hopefully learn a little about the types of analysis and thinking that goes into design and validation of a good trading system.

Enjoy!

Kevin
 
So this system would produce winning months 69% of the time? If I did this, I think I'd be lynched..............:blink:

Hey we're a cheap mob, we like to get the most bang for our buck. I'd be more concerned about the -43.08% trade, that's some serious maximum drawdown most investors won't absorb. I find it intersting that the average loss % is higher than the average gain % that tells you the results of this system are weighted incorrectly. The results of this study can be manipulated based on the timeframe.
 
Back
Top