OmniTrader Professional Forum OmniTrader Professional Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


Only Forum Moderators, Administrators, and the owner of this message may delete it.

 
Jim Dean

Sage
2000100010010010010025
Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: Linear Regression Channel - Example Code
Posted : 10/9/2009 6:53 PM
Post #13452 - In reply to #13450

Just look up "Least Squares" or "Linear Regression" in wiki or investopedia, etc.

It's a simple way of fitting a straight line to a set of data points, such that the error of the fit is minimized.

There's not much more to it than that.

The code is something I created ... it applies the math needed to do the LinReg calcs.

There is also a set LinReg functions avail in OT's library ... some more useful than others.

Deleting message 13452 : RE: Linear Regression Channel - Example Code


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.