Cesar Alvarez

Author Archives: Cesar Alvarez

May 31, 2017

Can A Simple Market Timing Indicator Be Beat?

As long time readers of my blog know, I often use a market timing indicator in my strategies. My favorite one, and a simple one, is using the 200 day moving average on either the SPY or S&P 500 Index. I recently ran into these posts, Using Market Breadth To Gauge Market Health (Part 5) and Matt’s Breadth Indicator. Matt’s Breadth Indicator (MBI) intrigued me because I had not seen something like this and conceptually it is simple. I also liked that it was not “easy” to test or optimize on. Therefore hopefully not many people would be using this indicator and I could potentially find better values.

Continue reading

March 27, 2017

CORRECTION: Simple ConnorsRSI Strategy

While doing the research for the next article based on Simple ConnorsRSI Strategy on S&P500 Stocks, I discovered that I had not tested what I wanted. Unfortunately errors are made while doing research and my goal is to catch them before publishing them. I did not in this case. Fortunately the results did not significantly change. The top CAR went from 27.32 to 26.63. As usual the error made the numbers comes down. Why is it that it never happens that they go up? See the post for the corrected numbers. I have also uploaded a new corrected spreadsheet.

Good Quant Trading,

 

Simple ConnorsRSI Strategy on S&P500 Stocks

A frequently asked question is how I pick which variation from an optimization run to trade.  This post will cover a ConnorsRSI strategy on S&P500 stocks. We will use a wide range on the parameters to give us lots choices to be used in the next post. I the next post, I will show how I take the results and narrow it down to one potential variation to trade. And then the final post, I will cover parameter sensitivity to help determine if the results are likely overfit or not.

3/27/2017 CORRECTION: When I originally posted this, the results shown in the tables were not for the rules shown below. The table results are now matching the rules as below. The spreadsheet also has the corrected results.

Continue reading

February 22, 2017

Country ETF Rotation – Reader’s Suggestions

My last post on Country ETF Rotation generated several ideas of what to test to improve the results. See the original post for the list ETFs being traded. One important test I left out from the original post was a baseline case. An idea applied to all the tests was trading more ETFS. For all tests, I will be showing results of trading (2,5,8) ETFs in the spreadsheet. Testing is from 1/1/2007 to 12/31/2016.

Continue reading

January 25, 2017

Country ETF Rotation

My recent research has been focused on finding strategies that are not highly correlated with the S&P500 index. One of my most popular posts is ETF Sector Rotation. The idea for this post is to apply those concepts to a list of country ETFs. Would this produce decent returns that were not highly correlated to the S&P500 index? I would like to see the correlation under .50. What about adding a filter to not enter an ETF when it is highly correlated with the S&P 500?

Continue reading

November 16, 2016

Is synthetic XIV/VXX data safe to use?

I have done several posts about trading XIV & VXX. In these posts (here, here and here) I refer to using synthetic data before these ETFs started trading. I supported the use of the data due to the very high correlation of daily returns during the overlap period. With a correlation of .97, I thought great the data should be good to use for backtesting.

Continue reading