Results 1 to 10 of 108

Thread: Model discussion

Threaded View

  1. #11
    A few ideas I'll throw out there to encourage more brainstorming (I apologize if they are impractical or don't seem reasonable, but, they are at least worth thinking about - I hope):

    -Instead of taking -70 as the 20DMF oversold level, normalize the 20DMF historical values. In other words, take all the 20DMF historical values and split them into 100 buckets or percentiles. This can be done in Excel using the PercentRank function. Then, test what percentile of 20DMF values works best as an oversold level (could be the 15th percentile of values arranged in descending order, for example). This way, you're not looking at 20DMF values on an absolute basis, but, instead on a normalized / relative basis - which self-adapts to the market as more data is collected and the computer puts the data into the buckets.

    -Consider employing regime-switching. In other words, categorize the market environment into one of six categories, for example:
    -low volatility uptrend
    -high volatility uptrend
    -low volatility downtrend
    -high volatility downtrend
    -low volatility sideways or not trending
    -high volatility sideways or not trending

    Detecting when the market is in one of the above environments is the hard part, but, this can be thought about. For example, to assess the volatility profile of the market, one could use a PercentRank of 21-day historical volatility values for the past year (based on IWM or SPY, for instance). To assess whether the market is trending, one could use something like the ADX indicator or Trend Strength Index (search online for the latter). And so on...

    Once you're able to detect the regime of the market effectively, determine which settings for the 20DMF and Robot are best in each regime - so as to optimize risk-adjusted returns within each regime. An obvious problem here will be the lack of a historical data set to work with for each regime (and in general), as I think 20DMF values have only been available since sometime in 2007 (?).

    -A nice complementary or potentially confirming indicator to the 20DMF in terms of detecting oversold levels may be the S&P Oscillator. I keep track of the S&P Oscillator for the S&P 500 via MarketTells and have found, at least in my experience, that a reading of -6.5 or below (yes, this is an absolute rather than normalized level...I know) normally coincides with an oversold condition in the 20DMF. The last -6.5 or below reading was on Dec. 19, 2011, when the Oscillator just barely triggered oversold by hitting -6.6 (I believe this was the oversold period that the 20DMF just barely missed seeing as "oversold"). A spreadsheet of historical values can be downloaded from the MarketTells website should you wish to look into this further. Also, the S&P Oscillator can be calculated for other indices (NYSE common-stock-only, Nasdaq Composite, etc....even Russell 2000, providing one has the requisite advance/decline and up/down volume data for that index). MarketTells has it calculated for the S&P 500 and NYSE-common stock-only, I believe. I'm most comfortable using the S&P 500 version, as I find the -6.5 threshold on it particularly useful for detecting oversold conditions.

    -Consider keeping track of POMO operations or using Bob's liquidity indicator, so that the 20DMF and/or Robot is able to get an idea if there is a Fed-supported put underneath the market, and thereby perhaps modify how it operates (it may operate more conservatively on the short side and more aggressively on the long side when liquidity is thought to be more than ample, for example). I know this idea has already perhaps been suggested, along with incorporating the $TICK indicator into the Robot somehow. But, I'm repeating it here nonetheless.

    -Consider incorporating seasonality into the 20DMF model and/or Robot. I know seasonality is not thought to be a strong indicator, but, it has stood the test of time in some cases - like the end-of-month / beginning-of-month window dressing (last 4 trading days of month ending and first 2-3 days of month beginning) along with the Oct-Apr or Nov-Apr seasonally strong period - for example. An oversold condition that occurs in the early part of the window dressing period or right before the window dressing period often turns out to be a good at least short-term buying opportunity, for instance. Meanwhile, the biggest drops in the market tend to happen between May-Oct/Nov, I believe. Selloffs that start during these months should typically be taken more seriously than selloffs that start in the remainder of the year.

    -One would think that the top and bottom of the month can happen at anytime in the month, close to equally. But, I think Michael Stokes at MarketSci did some research showing that the top or bottom of the month happens in the first 7 trading days of the month about 80% of the time. Perhaps this fact (although it needs to be confirmed) would be useful to keep in mind in programming the 20DMF and/or Robot. Maybe there is some good way to take advantage of it.

    There is lots more that could be said, but, I must stop here due to time constraints. I hope many more will join in sincerely contributing to this thread.
    Last edited by asomani; 02-09-2012 at 02:04 AM. Reason: spelling

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts