Welcome to the Traders Laboratory Forums.
Automated Trading Black box systems, strategy automation, algorithmic trading, etc...

Reply
Old 11-04-2010, 07:38 AM   #1

Jeff65's Avatar

Join Date: Apr 2010
Location: Gurnee
Posts: 24
Ignore this user

Thanks: 13
Thanked 13 Times in 6 Posts

Market Club's Perfect R Portfolio

The Perfect R Portfolio

I was recently watching a short video hosted by Market Club. This particular video was a presentation on their “Perfect R Portfolio”. The Perfect R Portfolio is a portfolio of four ETFs (SPY, USO, GLD, and FXE) that are traded based upon Market Club’s “Trade Triangles” technology. The system rules are simple and clear. For each trade you dedicate 25% of your trading capital. Go long when you see a green Trade Triangle and close the position on the red Trade Triangle. These green and red signals are actually price levels that allow you to place your buy stop and sell stop orders and wait for the market to fill your orders. These values are updated weekly. It does not get any easier than that. Such a simple greenlight/redlight system can be very appealing. In short, the Perfect R Portfolio is a complete trading system that provides you exact entry and exit levels.

Because the portfolio contains ETFs, does not trade very often and only takes long positions (there is no shorting in the Perfect Portfolio) it seems suitable for trading in retirement accounts such as a 401K. In fact, I do believe this is what the creators had in mind when developing the system.

How Do They Do It?

I enjoy attempting to figure out what is going on when I see a trading system demonstrated on-line. It’s a challenge and great fun to reverse engineer signals. Market Club’s Trade Triangles were no exception. Don’t get me wrong, I have nothing against Market Club and I do believe they provide a valuable service. However, how they generate signals became an interest for me and in the end, the concept they are using is well known, simple and totally free. Market Club does provide a nice looking chart where buy/sell signals (Trade Triangles) are nicely displayed on-screen.

When I examined the entry and exit signals over time I came to the conclusion that the Trade Triangles are nothing more than a classic breakout indicator. That is, they simply take the highest high over the past N days to determine when to go long and then determine the lowest low over the past N days to determine when to close that same long position. More specifically in the case for the Perfect R Portfolio they use a three month channel of price extremes to determine market direction (trend) and use a three week channel to determine entry/exit price levels. Trend trading based upon price channels is well documented and continues to be a valid trading method.

Trend: Three month price extreme.
Signal: Three week price extreme.


The trend component of the system is used to filter out bearish market conditions since the system only goes long. So, during bearish times we are in cash or cash equivalents waiting for a trend change to bullish.

For example, given an ETF we first determine the overall trend. This is done by determining the price extremes based on a monthly chart of the last three bars. Price touching these extreme levels on a daily chart would determine the trend either bullish or bearish.

Once the trend is determined a three bar price extreme based on a weekly chart is used to determine when to exit and when to initiate new trades. When the trend changes from bullish to bearish all trades are closed and we don’t open new long positions until the trend becomes bullish.

It’s that simple. Below is a trade example.




Cloning The System Logic

But how well has the Perfect R Portfolio done? Well, the portfolio is rather new so they don’t provide much backtesting data. Market Club does provide a short PDF report demonstrating how well the system performed during the 2008 market crash. However, Market Clubs price channel breakout concept can be programmed into tradestation rather easily. TradeStations ability to access several timeframes on a single chart will be required to make this trading system. First, all trades are executed on a daily chart, buy/sell price levels are determined on a weekly chart and trend is determined on a monthly chart. All three of these timeframes can be placed within one chart and accessed by a single tradestation strategy.

Programmer speaking coming up so be warned.

First I’ll create a workspace with a chart of one of the ETFs used in the Perfect R Portfolio. I’ll select GLD. I will want to place trades on a daily chart so I set my GLD chart to daily price data. Next I want to generate buy/sell signals based upon a weekly chart. To do this I create a sub-chart of GLD to hold weekly price data within my chart. I can then access this data programmatically by referencing “data2″ in my Easy Language code. I do the same thing for the monthly timeframe of GLD and can access that data by referencing “data3″.

Data1 = Daily chart
Data2 = Weekly chart
Data3 = Monthly chart

I created a clone of the system and tested the system with the four ETFs over the life of each ETF. Unfortunately tradestation does not have the ability to test a portfolio of ETFs given a single strategy. This weakness is rumored to be fixed in version nine of tradestation. Until then we’ll have to test each ETF individually. So how did it do? Not bad for such a simple system. The results are in the table in the section below. You will see that over the life of the system it is profitable. The life of the system is only from 2004 - October 31, 2010. Most of the ETF data only goes back that far!



Modified R Portfolio With Risk Management

The most obvious drawback I see with the Perfect R Portfolio is the lack of a position sizing algorithm based upon the risk per trade. That is, the dollar amount you’re willing to lose based upon the stop level. I might be inclined to use the Percent Risk Model to calculate the number of shares to purchase based upon a 2% risk-per-trade. This would help normalize risk by reducing the number of shares when the market conditions are volatile and increase the number of shares when volatility is waning. Instead the Perfect R Portfolio uses a fixed percentage (25%) of equity for each new trade regardless of risk.

In a future post I will add a position sizing algorithm to see if we can improve the results. If you can't wait check out this blog post where I already have posted the updated version. There is also a short video that explains the inputs to the system.

Download

I was having trouble uploading the tradestation Workspace to this post but the EasyLanguage code should be attached. You can also download a copy of the Workspace or the EasyLanguage code at my blog. This code is for tradestation 8.8.

If anyone finds an errors in the code or would like to make a suggestion please let me know.

Thanks,
Jeff
Attached Thumbnails
Market Club's Perfect R Portfolio-perfect-r-portfolio-.png   Market Club's Perfect R Portfolio-perfect-r-portfolio-trades-gld.png  
Attached Files
File Type: eld PERFECT_R_PORTFOLIO_CLONE.ELD (15.4 KB, 30 views)
Jeff65 is offline  
Reply With Quote
Old 11-04-2010, 08:35 PM   #2

Jeff65's Avatar

Join Date: Apr 2010
Location: Gurnee
Posts: 24
Ignore this user

Thanks: 13
Thanked 13 Times in 6 Posts

Re: Market Club's Perfect R Portfolio

How closely does the clone match the real deal? Good question.

Market Club just posted an alert in regards to their Perfect R Portfolio going long today in USO. They purchased USO at $37.13. The Perfect R Portfolio Clone with data from tradestation triggered a buy signal today @ $37.31.

Occasionally I've noticed these slight price differences and I would assume they are due to the data being supplied from different vendors.
Jeff65 is offline  
Reply With Quote
Old 12-24-2010, 08:14 AM   #3

Join Date: Oct 2010
Posts: 9
Ignore this user

Thanks: 1
Thanked 0 Times in 0 Posts

Re: Market Club's Perfect R Portfolio

Hi Jeff thanks for your post.....i am using on forex as per market club ......looks very good......here tha chart daily on EURUSD......do you see all correct ?
Thanks
Attached Thumbnails
Market Club's Perfect R Portfolio-eurusd.png  
Dirk is offline  
Reply With Quote
Old 12-24-2010, 09:39 AM   #4

Jeff65's Avatar

Join Date: Apr 2010
Location: Gurnee
Posts: 24
Ignore this user

Thanks: 13
Thanked 13 Times in 6 Posts

Re: Market Club's Perfect R Portfolio

Quote:
Originally Posted by Dirk »
Hi Jeff thanks for your post.....i am using on forex as per market club ......looks very good......here tha chart daily on EURUSD......do you see all correct ?
Thanks
Looks good Dirk. Never thought to try it on forex.
Jeff65 is offline  
Reply With Quote
Old 12-24-2010, 09:58 AM   #5

Join Date: Oct 2010
Posts: 9
Ignore this user

Thanks: 1
Thanked 0 Times in 0 Posts

Re: Market Club's Perfect R Portfolio

Quote:
Originally Posted by Jeff65 »
Looks good Dirk. Never thought to try it on forex.
thanks Jeff......in any case the signals must be filtered ...in market club there is a score and they suggest to take the trade at + 70 for long or - 70 for short.......
Dirk is offline  
Reply With Quote
Old 12-24-2010, 01:16 PM   #6

Jeff65's Avatar

Join Date: Apr 2010
Location: Gurnee
Posts: 24
Ignore this user

Thanks: 13
Thanked 13 Times in 6 Posts

Re: Market Club's Perfect R Portfolio

Quote:
Originally Posted by Dirk »
thanks Jeff......in any case the signals must be filtered ...in market club there is a score and they suggest to take the trade at + 70 for long or - 70 for short.......

How do you compute a 70 or a -70?
Jeff65 is offline  
Reply With Quote
Old 12-25-2010, 02:05 AM   #7

Join Date: Oct 2010
Posts: 9
Ignore this user

Thanks: 1
Thanked 0 Times in 0 Posts

Re: Market Club's Perfect R Portfolio

Hi Jeff , this is an example of the score......i don't have idea how to calculate....
Attached Thumbnails
Market Club's Perfect R Portfolio-score.png  
Dirk is offline  
Reply With Quote
Old 01-04-2011, 09:11 PM   #8

Jeff65's Avatar

Join Date: Apr 2010
Location: Gurnee
Posts: 24
Ignore this user

Thanks: 13
Thanked 13 Times in 6 Posts

Re: Market Club's Perfect R Portfolio

Quote:
Originally Posted by Dirk »
Hi Jeff , this is an example of the score......i don't have idea how to calculate....
I believe the score is a numerical representation of the trading rules. The code posted above does use a trend filter to filter trades.
Jeff65 is offline  
Reply With Quote

Reply

Tags
easylanguage, etf, market club, perfect r portfolio, tradestation

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
VSA Official Summary Part 2 Soultrader Volume Spread Analysis 8 12-25-2010 03:36 PM
CouldaWouldaShoulda (The Wyckoff Forum) DbPhoenix The Wyckoff Forum 59 11-02-2009 11:51 AM
Trading with Market Profile ant Market Profile 88 09-05-2009 12:31 PM
Mark Douglas Notes from IDaxtrader idaxtrader Trading Psychology 4 03-16-2008 12:32 PM
[Essay] Market Depth & Order Flow hanz Trading Articles 1 10-13-2007 07:14 PM

All times are GMT -4. The time now is 11:21 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.