Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

Recommended Posts

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.

 

attachment.php?attachmentid=22808&stc=1&d=1288869712

 

 

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!

 

attachment.php?attachmentid=22807&stc=1&d=1288869600

 

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

5aa71040ef38c_PerfectRPortfolio.png.1d90217bc3cf9dbd12e30b3b114e6233.png

Perfect-R-Portfolio-Trades-on-GLD.png.6b416059d963a45aa1b29b668d7d43d9.png

PERFECT_R_PORTFOLIO_CLONE.ELD

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

EURUSD.png.71ffc728fd907a9fdb0a3580ff2c264f.png

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.......

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Content

  • Topics

  • Posts

    • Metro Line2 Vaccines: Worldwide already literally thousands dropping dead within hours of taking the vaccines?  What ever happened to “if we can save just one life”? Lockdowns: Listen to the scientists. Unless, of course, the scientists are anti-lockdown. This study, https://onlinelibrary.wiley.com/doi/10.1111/eci.13484 ,  compared less restrictive countries like Sweden and South Korea, to countries which issued strict lockdowns, like England, France, Germany, Iran, and Italy.   It found “no clear, significant beneficial effect” in using strict lockdowns to control the spread of COVID. In fact in some cases, such as France, COVID cases increased in the wake of strict interventions... hello - because at home is where the vast majority of people ‘catch’ the virus...  Looks like governments destroyed your civil liberties and businesses for no reason, since the study concluded: “Similar reductions in case growth may be achievable with less restrictive interventions.”   ... and you are fine with that?   ...   Washington Metro Red Line A fun parable https://blog.nomorefakenews.com/2021/01/22/how-is-joe-biden-like-a-ham-sandwich/ warning:  the store owner sounds a little bit jewish
    • Date : 25th January 2021. Events to Look Out for This Week. A gigantic week is coming with 2 of the FAANGs, Tesla and Microsoft, reporting their Q4 earnings, along with the FOMC conference in focus as it could provide key information on fiscal support talks. Focus will also be on GDP data from the biggest economies in the world, including the US and Europe, but also on UK Job numbers that will show the impact of the original furlough deadline. Monday – 25 January 2021 German IFO (EUR, GMT 09:00) – German IFO business confidence is expected to slip slightly to 90.0 in January after the jump seen in December to 92.1. BoJ Monetary Policy Meeting Minutes (JPY, GMT 23:50) – The BoJ minutes should provide further guidance for 2021. Tuesday – 26 January 2021 Average Earnings Index & ILO rate (GBP, GMT 07:00) – UK Earnings with the bonus-included figure are expected to slow down to 2.3% y/y in the three months to November. UK ILO unemployment is expected higher at 5.1% in the three months to November. Consumer Confidence (USD, GMT 15:00) – The US Consumer confidence is expected to slip to 88.0 from 88.6 in December, versus a 6-year low of 85.7 in April. The confidence measures have shown divergent swings since mid-2020 that have a downward tilt into January, likely due to the surge in virus cases, more stringent lockdowns, and the bizarre political events of recent weeks. We should be seeing some lift from stimulus passage and vaccine distributions, however, which may be more evident in February. Wednesday – 27 January 2021 Consumer Price Index (AUD, GMT 00:30) – Australian inflation data in Q4 is expected to decline at 1.5% q/q while headline remains in line with Q3 at 0.7% y/y. Durable Goods (USD, GMT 12:30) – Durable goods orders are expected to rise 3.0% in December with an 8.3% climb in transportation orders. A defense orders gain is pegged at 3.0%, following a 3.7% November bounce. Boeing orders jumped to 90 in December with the lifting of the 737 MAX grounding, from 27 in November and zero in the two months before that. Durable shipments should rise 1.0%, and inventories should rise 0.5%. Interest Rate Decision and Conference (USD, GMT 19:00) – The FOMC is due to meet (Tuesday, Wednesday) but no changes are expected. The FOMC didn’t make any big changes in its policy stance at the December 16 meeting. However, it did tweak its statement to emphasize its uber-accommodative posture, which was underscored several times by Chair Powell in his press conference. The forecasts indicate that current rates will remain in place through 2023. Thursday – 28 January 2021 Harmonized Index of Consumer Prices (EUR, GMT 13:00) – The German prel. HICP inflation for January is anticipated to be released at -0.6% y/y from -0.7% y/y. Germany’s temporary VAT cut is partly to blame as are base effects from oil prices, but it is also clear that a lack of demand and the closure of the hospitality sector continue to keep a lid on headline inflation numbers. Gross Domestic Product (USD, GMT 12:30) – The prelim. Gross Domestic Product should advance at 4.1% in Q4 and 3.2% in Q1, after 33.4% growth in Q3. We expect a Q4 moderation in consumption growth to 2.2% from 41.0% in Q3 as heightened coronavirus restrictions impacted spending, while government purchases contract at an estimated -5% rate, and nonresidential investment in structures fall at a -9% pace. We saw in Q3 a continued boom in housing activity and equipment spending. Friday – 29 January 2021 Gross Domestic Product (EUR, GMT 09:00) – Eurozone’s GDP contracted -5.0% last year, according to the first estimate for economic activity last year. That compared to a modest rise of 0.6% in 2019 and while it was somewhat better than median expectations, the numbers refer to unadjusted data. Adjusted for calendar effects, GDP was actually down -5.3%. There is no data for the last quarter yet, but it is pretty clear that after the recession in the first quarter and the rebound over the summer, virus developments weighed on growth again in the last quarter of 2020, although less than feared at one point. Personal Income/Consumption (USD, GMT 12:30) – A 0.1% increase in headline rise for personal income in December is anticipated after a -1.1% drop in November, alongside a -0.7% drop in consumption after a -0.4% November decline. Always trade with strict risk management. Your capital is the single most important aspect of your trading business. Please note that times displayed based on local time zone and are from time of writing this report. Click HERE to access the full HotForex Economic calendar. Want to learn to trade and analyse the markets? Join our webinars and get analysis and trading ideas combined with better understanding on how markets work. Click HERE to register for FREE! Click HERE to READ more Market news. Andria Pichidi Market Analyst HotForex Disclaimer: This material is provided as a general marketing communication for information purposes only and does not constitute an independent investment research. Nothing in this communication contains, or should be considered as containing, an investment advice or an investment recommendation or a solicitation for the purpose of buying or selling of any financial instrument. All information provided is gathered from reputable sources and any information containing an indication of past performance is not a guarantee or raeliable indicator of future performance. Users acknowledge that any investment in FX and CFDs products is characterized by a certain degree of uncertainty and that any investment of this nature involves a high level of risk for which the users are solely responsible and liable. We assume no liability for any loss arising from any investment made based on the information provided in this communication. This communication must not be reproduced or further distributed without our prior written permission.
    • its a slow start for 2021, but BTC is having a blast, hitting the 40k mark, will it continue, though its back at 32k++right now
    • a fun perspective on MSM’s role in recent events https://www.hangthecensors.com/490535.html     plus more inauguration day / welcome to north venuazala tidbits ...  2,000 attendees at inauguration — and 25,000 military — just like ‘regimes’ in banana republics ... just sayin'  
    • This is precisely the way MSM would describe it... :snarc: https://internationalman.com/articles/the-coming-new-order/ https://mises.org/wire/what-bidenharris-will-do
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.