Linear Regression backtesting - Is it possible? - AmiBroker | futures io social day trading
futures io futures trading


Notices

Linear Regression backtesting - Is it possible?
Updated: Views / Replies:1,775 / 2
Created: by emanon Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

 
 
Thread Tools
 

Linear Regression backtesting - Is it possible?

 
Trading Apprentice
los angeles, California, USA
 
Futures Experience: Intermediate
Platform: AMIBroker
Favorite Futures: stocks
 
Posts: 8 since Aug 2014
Thanks: 2 given, 0 received

Linear Regression backtesting - Is it possible?

Does anyone know if it's possible to backtest a strategy that uses Linear Regression with a lookback window of less than the entire chart?

I've played around with a linear regression channel found in the member area on the ami site for a bit, changing the way it's calculated etc, but it seems as if the backtests are not conducted bar by bar. Which would mean the channel does not move along and record buys and sells as it moves forward through the backtest data.

Is there a way to change or create this functionality?

 
 
Trading Apprentice
Asheville, North Carolina
 
Futures Experience: Advanced
Platform: AmiBroker, Dynamic Trader, Metastock, FreeStockCharts, TradingView
Favorite Futures: stocks, options
 
Posts: 24 since Sep 2010
Thanks: 1 given, 15 received

What code are you using? Can you plot the strategy and see buy/sell arrows (not the channel at each bar)? If so, I don't see why backtest would not work. Have you tried starting with a simpler problem of backtesting a linear regression line? Any trouble doing that?

The following user says Thank You to colion for this post:
 
 
Trading Apprentice
los angeles, California, USA
 
Futures Experience: Intermediate
Platform: AMIBroker
Favorite Futures: stocks
 
Posts: 8 since Aug 2014
Thanks: 2 given, 0 received



colion View Post
What code are you using? Can you plot the strategy and see buy/sell arrows (not the channel at each bar)? If so, I don't see why backtest would not work. Have you tried starting with a simpler problem of backtesting a linear regression line? Any trouble doing that?

Sorry about the very dumb question, I wasn't thinking correctly. Of course LR is backtestable, esp when plotted as a curve rather than a line.


 



futures io > > > > Linear Regression backtesting - Is it possible?
Thread Tools



Upcoming Webinars and Events (4:30PM ET unless noted)
 

Fundraiser: Feeding Families in Need

December
 

How to use the Footprint Tool to Execute Trades w/Brannigan Barrett

Elite only
 

Ask Me Anything (Brokers & Platforms) w/Ilan Levy Mayer @ Cannon Trading

Dec 13
 

Battlestations! Show us your trading desks w/GFF Brokers ($750 in Prizes)

January
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linear Regression Alerts brevco The Elite Circle 16 November 26th, 2015 05:35 PM
Linear regression channel Tom Joad Open E Cry 7 January 22nd, 2015 11:38 PM
Linear Regression Reversal Indicator zeller4 NinjaTrader 10 November 18th, 2011 11:08 PM
Painted Linear Regression Indicator essiar NinjaTrader 3 May 3rd, 2011 07:42 PM
Linear Regression Reversal Indicator shodson The Elite Circle 2 September 17th, 2009 12:06 PM


Tags
amibroker, backtest, backtesting, code, data, dow, es, lookback, regression, strategy

All times are GMT -4. The time now is 05:46 AM. (this page content is cached, log in for real-time version)

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2018-12-11 in 0.08 seconds with 14 queries on phoenix