Table of Contents
Affiliate Disclosure
Affiliate Disclosure DailyForex.com adheres to strict guidelines to preserve editorial integrity to help you make decisions with confidence. Some of the reviews and content we feature on this site are supported by affiliate partnerships from which this website may receive money. This may impact how, where and which companies / services we review and write about. Our team of experts work to continually re-evaluate the reviews and information we provide on all the top Forex / CFD brokerages featured here. Our research focuses heavily on the broker’s custody of client deposits and the breadth of its client offering. Safety is evaluated by quality and length of the broker's track record, plus the scope of regulatory standing. Major factors in determining the quality of a broker’s offer include the cost of trading, the range of instruments available to trade, and general ease of use regarding execution and market information.

Filtering Trends with Linear Regression Analysis – Part II

Linear RegressionYesterday I wrote about how you can use a simple indicator, linear regression, to identify and measure trends. Trading with the trend is the most simple and enduring edge that new traders have available to exploit, and it can be done without great difficulty. I performed a back test on 16 years of historical daily EUR/USD data to show that an edge can be found using this tool on trends as short as 20 days. Today I’m going to look at weekly data, as longer-term trends tend to produce more positive results for trend-following strategies.

This back test looks at the previous 20 weeks and compares two metrics to determine the trend:

  1. If the price is higher than it was 20 weeks ago; a long trade is entered and held for a week. If the price is lower than it was 20 weeks ago, a short trade is entered and held for a week.

  2. If the slope of the linear regression is at a certain minimum positive level, a long trade is entered and held for a week, and vice versa for a short trade.

  3. We then filter 2. by applying a minimum R Squared value.

Here are the results for EUR/USD over the same period used yesterday, but using 20 weeks instead of 20 days:

EURUSD

The results using linear regression indicators are very slightly better than just using the price itself looking back 20 weeks. Let’s look at another major currency pair, the USD/JPY:

USDJPY

The results are dramatically better here, although using R Squared as a filter significantly worsens the results. It does seem that overall, using a Linear Regression with a minimum slope as an indicator to determine the trend produces better results than a simple price look back.

Adam Lemon
About Adam Lemon

Adam Lemon began his role at DailyForex in 2013 when he was brought in as an in-house Chief Analyst. Adam trades Forex, stocks and other instruments in his own account. Adam believes that it is very possible for retail traders/investors to secure a positive return over time provided they limit their risks, follow trends, and persevere through short-term losing streaks – provided only reputable brokerages are used. He has previously worked within financial markets over a 12-year period, including 6 years with Merrill Lynch.

 

Most Visited Forex Broker Reviews