Finds the value of a linear regression of the series at any point using an offset.

Note:

This function must be used in conjunction with RegressionSlope because it merely returns the slope and endpoint already calculated by RegressionSlope. This means this function must follow RegressionSlope to return the correct value.

The series is a required input parameter and an offset.

This example shows the use of the common auto indexed series.

For information on using functions with non auto indexed series review Series Functions.

Syntax: |
---|

RegressionValue( series, offset ) |

Parameter: |
Description: |
---|---|

series |
The name of the series. |

offset |
The number of bars back. |

Example: |
---|

' Find the slope of the linear regression of the last 10 closes. |

Returns: |

Regression Slope value at the offset bar location. |

Links: |
---|

See Also: |

Edit Time: 5/10/2017 10:31:02 AM |
Topic ID#: 494 |