TradingSolutions Home  |  Products  |  Services  |  Downloads  |  Resources  |  Support  |  Order NeuroDimension Home  
'
   Products
     TradingSolutions
     Trader68
     Add-Ons
     Bundles
     Financial Books
     Other Products
   Services
     System Development
     Custom Software
   Downloads
     Free Evaluation Copy
     Product Updates
     Free Systems
   Resources
     Sample Performance
     Video Tour
     Data Sources
     TradingSolutions FAQ
     Online Brokers
   Viewpoints
     Customer Interviews
     Customer Quotes
     News and Reviews
   Support
     How to Get Help
     Licensed User Center
     Contact NeuroDimension
   Order

   ND Corporate Website
   NeuroSolutions.com
   Trader68.com

TradingSolutions Function Library

  Linear Regression Correlation Coefficient [R]  
Return to Complete List of Functions
The Linear Regression Correlation Coefficient function determines the extent of a linear relationship of a field to time over a given period of time using the Pearson product moment correlation coefficient.

Parameters
------------------
Data          The data to use in the relationship. This is typically a field in a data series or a calculated value.
Period        The number of bars of data to include in the relationship, including the current value.
                  For example, a period of 3 includes the current value and the two previous values.

Function Value
------------------------
The Pearson product moment correlation coefficient is typically represented by the letter r. It has a range from -1 to 1.

Value       Meaning
------------------------------
    1          Perfect Correlation
    0          No Correlation
   -1          Perfect Inverse Correlation

The relationship at the beginning of a data series is not defined until there are enough values to fill the given period.

Note that this function uses the bar number and not the actual number of days. This makes it effective for determining trends over trading days. Since this function measures the linear relationship of a field to time, a return value of 1 would indicate that the field has increased by the same amount in each new record.

The Pearson product moment correlation coefficient (r) is frequently squared and then refered to as r-squared. The meaning and overall range of the values is the same, but squaring the value clusters less-correlated values closer to zero.

TradingSolutions Home  |  Products  |  Downloads  |  Resources  |  Support  |  Order

Contact NeuroDimension | Privacy Policy
Webmasters, join our affiliate program. Interested in selling our software? Become a reseller!
Web Site Design and Implementation Copyright © 2010 NeuroDimension, Inc.
Risks of Forex Trading.